Below a script designed to use the RH . /etc/init.d/functions library. It will use 2 “find” commands to test if it can find the ndo2db binairy and config file. Next it will daemonize the ndo2db process following the Redhat standard init procedure. This script was written for Redhat enterprise linux using Nagios, Centreon (auto generation […]Read More NDO2DB startup script for RH (EL) / OEL
previously I wrote an article on how to create a deamon script for ndo. But when you are using Centreon the only “nice” way to do this is by altering the Nagios startupscript to include the ndo part. Here is what i have done to make this possible. First i wrote a function to find […]Read More Altering the Nagios daemon startup script to include NDO.
Is functional, there is a bug in the start portion that i still need to fix. But it will start the deamon correctly and if you use the “service ndodaemon rewrite-lock” the status and stop functions will also work correctly. #!/bin/sh # # chkconfig: 345 90 01 # description: Nagios NDO Utils Deamon # ./etc/init.d/ndodaemon […]Read More Ndo Utils startup script for usage with chkconfig.