NDO2DB init script
Moderators: Developers, Moderators
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
NDO2DB init script
The release of NDO2DB has contained in the documentation now for a very long time that a init script will be developed and added to the package, however this has not happened...
Anyway, I have created a script which is pretty much as generic as possible, it shouldn't be hard for people to work out and use...
Use the v1.0 script if you do NOT want nagios to be integrated in the startup process.
Or use the v1.X script if you DO want nagios integrated at startup.
Just edit the init script global params to your needs...
EDIT: Now attached....
EDIT: Now updated to v1.2
EDIT: Now updated to v1.3
Chnagelog:
# - v1.0 : Initial production release, added support for multiple NDO2DB daemons running simultaneously
# - v1.1 : Added support for Nagios daemon checking, will error if nagios already running when starting.
# - v1.2 : Further error checking added and support to ask for user input on Nagios daemon state. Can now
# automatically restart the nagios daemon in sync with NDO2DB.
# - v1.3 : Bugfixes with the Nagios restart module, will now continue to question the user for a nagios
# restart, and not fail on y or n. Won't die to a failure of restart now.
Enjoy and give me any recommendations if needed.
Anyway, I have created a script which is pretty much as generic as possible, it shouldn't be hard for people to work out and use...
Use the v1.0 script if you do NOT want nagios to be integrated in the startup process.
Or use the v1.X script if you DO want nagios integrated at startup.
Just edit the init script global params to your needs...
EDIT: Now attached....
EDIT: Now updated to v1.2
EDIT: Now updated to v1.3
Chnagelog:
# - v1.0 : Initial production release, added support for multiple NDO2DB daemons running simultaneously
# - v1.1 : Added support for Nagios daemon checking, will error if nagios already running when starting.
# - v1.2 : Further error checking added and support to ask for user input on Nagios daemon state. Can now
# automatically restart the nagios daemon in sync with NDO2DB.
# - v1.3 : Bugfixes with the Nagios restart module, will now continue to question the user for a nagios
# restart, and not fail on y or n. Won't die to a failure of restart now.
Enjoy and give me any recommendations if needed.
- Attachments
-
- ndo2db.txt
- ndo2db - Init script - v1.3
Remove the .txt extension BTW ;) - (4.71 KiB) Downloaded 718 times
-
- ndo2db.txt
- ndo2db - Init script - v1.0
Remove the .txt extension BTW ;) - (3.21 KiB) Downloaded 441 times
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Lot's of people are taking these days and not commenting.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
-
- Posts: 33
- Joined: Tue May 05, 2009 7:28 pm
Who is online
Users browsing this forum: No registered users and 8 guests