nagios alrets for removed service.
Posted: Wed Aug 22, 2018 5:05 am
still getting nagios alert though i deleted the service of one host from core configuration wizard service tab.
Support for Nagios products and services
https://support.nagios.com/forum/
Yes, the fix if this is the case would berexconsulting wrote:Check to see if you have more than one nagios daemon running:
ps aux|grep 'nagios -d'|grep -v grep
If you see more than two, then you have more than one daemon running. (Two is normal, as nagios normally spawns one child process.)
Code: Select all
service nagios stop
killall -9 nagios
service nagios startDid the alerts for the service stop?prakasha wrote:[root@NAGIOS ~]# ps aux|grep 'nagios -d'|grep -v grep
nagios 1783 0.9 0.0 29208 4884 ? Ss Aug22 13:16 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 1842 0.0 0.0 29208 3564 ? S Aug22 0:32 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
[root@NAGIOS ~]# service nagios stop
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
[root@NAGIOS ~]# killall -9 nagios
[root@NAGIOS ~]# service nagios start