Hi all
I'm not expert in linux automation.
But would appreciate if somebody can help me on this.
I keep doing this everytime I restart my nagios linux box.
(From Danial Slone's docs)
1) sudo /etc/init.d/nagios stop (stop nagios ... It autostarted when linux boot)
2) rm -f /usr/local/nagios/var/perfdata-service.log
3) sudo -u nagios /usr/local/nagios/bin/perfparsed -d
4) sudo /etc/init.d/nagios start
(from Oreon wiki Graph : Run ODS deamon)
5) /etc/init.d/ods start
(or I have to rm -f ods.pid first)
Anybody can teach how to autostart all this at boot time?
Thanks...
Araman.
I'm not expert in linux automation.
But would appreciate if somebody can help me on this.
I keep doing this everytime I restart my nagios linux box.
(From Danial Slone's docs)
1) sudo /etc/init.d/nagios stop (stop nagios ... It autostarted when linux boot)
2) rm -f /usr/local/nagios/var/perfdata-service.log
3) sudo -u nagios /usr/local/nagios/bin/perfparsed -d
4) sudo /etc/init.d/nagios start
(from Oreon wiki Graph : Run ODS deamon)
5) /etc/init.d/ods start
(or I have to rm -f ods.pid first)
Anybody can teach how to autostart all this at boot time?
Thanks...
Araman.
Comment