Critical
Notifications not stopping
Re: Notifications not stopping
You do not have the required permissions to view the files attached to this post.
-
kyang
Re: Notifications not stopping
You seem to have two instances of Nagios running.
Run these commands.
After this, run this, and let us know the output.
Code: Select all
nagios 4587 1 0 Dec10 ? 00:14:09 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 4589 4587 0 Dec10 ? 00:01:07 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4591 4587 0 Dec10 ? 00:01:07 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4592 4587 0 Dec10 ? 00:01:06 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4593 4587 0 Dec10 ? 00:01:06 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 4596 1526 0 Dec10 ? 00:00:48 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 4598 4596 0 Dec10 ? 00:36:53 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 4646 4587 0 Dec10 ? 00:00:17 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 26647 1 0 13:04 ? 00:00:18 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 26652 26647 0 13:04 ? 00:00:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 26653 26647 0 13:04 ? 00:00:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 26654 26647 0 13:04 ? 00:00:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 26655 26647 0 13:04 ? 00:00:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 26658 1526 0 13:04 ? 00:00:01 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 26660 26658 0 13:04 ? 00:00:48 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 26679 26647 0 13:05 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfgCode: Select all
service nagios stop
killall -9 nagios
service nagios startCode: Select all
ps -ef | head -1 && ps -ef | grep bin/nagios
Re: Notifications not stopping
Code: Select all
[root@nagios ~]# ps -ef | head -1 && ps -ef | grep bin/nagios
UID PID PPID C STIME TTY TIME CMD
nagios 6530 1 0 10:37 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 6532 6530 0 10:37 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 6533 6530 0 10:37 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 6534 6530 0 10:37 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 6535 6530 0 10:37 ? 00:00:00 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
nagios 6555 6530 0 10:37 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 11298 3948 0 10:38 pts/0 00:00:00 grep bin/nagios
-
kyang
Re: Notifications not stopping
Looks like that cleared up.
How are the notifications? Still sending?
How are the notifications? Still sending?
Re: Notifications not stopping
I have not received one since running those commands.
Is there anything I should or should not do to prevent this from happening again in the future?
Thank you for your assistance!
Is there anything I should or should not do to prevent this from happening again in the future?
Thank you for your assistance!
-
kyang
Re: Notifications not stopping
Glad to hear that it's working!
It's hard to say what may have caused two instances of Nagios to run in your case.
Usually, if I see something that isn't right in Nagios.
I always run this command, to check the nagios process.
Otherwise, I'm glad I could help. I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!
It's hard to say what may have caused two instances of Nagios to run in your case.
Usually, if I see something that isn't right in Nagios.
I always run this command, to check the nagios process.
Code: Select all
ps -ef | head -1 && ps -ef | grep bin/nagiosIf you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!