duplicate email seeing two nagios running
Posted: Thu Aug 28, 2014 4:19 am
Hi all,
i have a strange problem and i try to figger out what is wrong.
When i stop nagios i see nothing is running. When i restart nagios i see 2 deamons and 4 workers.
This result probably in sending double emails to our contact groups.
We have only 1 contact group.
root@server:~/downloads# /etc/init.d/nagios stop
[ ok ] is running.
Stopping nagios:
root@server:~/downloads# ps -ef | grep nagios
nagios 24759 1 0 Jul29 ? 00:05:41 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root 25066 24377 0 10:55 pts/0 00:00:00 grep nagios
root@server~/downloads# /etc/init.d/nagios start
[FAIL] is not running ... failed!
Starting nagios:
root@server:~/downloads# ps -ef | grep nagios
nagios 24759 1 0 Jul29 ? 00:05:41 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
nagios 25129 1 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 25130 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25131 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25132 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25133 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25134 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 25139 24377 0 10:56 pts/0 00:00:00 grep nagios
we installed first core 2 then core 3 and then core 4 when i start the web interface it starts core 4.
Anny sugestions why we get double emails and what to check?
i have a strange problem and i try to figger out what is wrong.
When i stop nagios i see nothing is running. When i restart nagios i see 2 deamons and 4 workers.
This result probably in sending double emails to our contact groups.
We have only 1 contact group.
root@server:~/downloads# /etc/init.d/nagios stop
[ ok ] is running.
Stopping nagios:
root@server:~/downloads# ps -ef | grep nagios
nagios 24759 1 0 Jul29 ? 00:05:41 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root 25066 24377 0 10:55 pts/0 00:00:00 grep nagios
root@server~/downloads# /etc/init.d/nagios start
[FAIL] is not running ... failed!
Starting nagios:
root@server:~/downloads# ps -ef | grep nagios
nagios 24759 1 0 Jul29 ? 00:05:41 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
nagios 25129 1 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 25130 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25131 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25132 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25133 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 25134 25129 0 10:55 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 25139 24377 0 10:56 pts/0 00:00:00 grep nagios
we installed first core 2 then core 3 and then core 4 when i start the web interface it starts core 4.
Anny sugestions why we get double emails and what to check?