Hello,
I have http and https services those were down scheduled on daily basis, we were bulk of emails from these. I have removed these services from 2 servers but still getting email alerts.
I have checked in nagios, services do not exist but getting alot of emails.
Please assist.
Thank you!
Email notifications deleted service
Re: Email notifications deleted service
Check to see if there are multiple Nagios processes running, as this will cause an array of problems.
run this cmd on your nagios server:
ps - aef | grep nagios.cfg
* Look for multiple parent (PPID) processes. The Nagios process forks itself to run checks therefore subprocesses are normal. The nagios user should probably be the only owner of the nagios process. If in any doubt post the output here.
If there are multiple Nagios processes running, run these commands to resolve:
service nagios stop
killall -9 nagios
service nagios start
run this cmd on your nagios server:
ps - aef | grep nagios.cfg
* Look for multiple parent (PPID) processes. The Nagios process forks itself to run checks therefore subprocesses are normal. The nagios user should probably be the only owner of the nagios process. If in any doubt post the output here.
If there are multiple Nagios processes running, run these commands to resolve:
service nagios stop
killall -9 nagios
service nagios start
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Email notifications deleted service
[root@AXmonitor vmn]# ps -aef | grep nagios.cfg
nagios 13238 1 0 09:22 ? 00:00:16 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 13288 13238 0 09:22 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 54144 53924 0 11:48 pts/0 00:00:00 grep --color=auto nagios.cfg
nagios 55954 1 0 Jul18 ? 00:03:10 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 56045 55954 0 Jul18 ? 00:00:05 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Please let me know if any down time is involved upon suggested commands execution
Thank you!
nagios 13238 1 0 09:22 ? 00:00:16 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 13288 13238 0 09:22 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 54144 53924 0 11:48 pts/0 00:00:00 grep --color=auto nagios.cfg
nagios 55954 1 0 Jul18 ? 00:03:10 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 56045 55954 0 Jul18 ? 00:00:05 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Please let me know if any down time is involved upon suggested commands execution
Thank you!
Re: Email notifications deleted service
No downtime at all will result from running those commands....unless there is something horribly wrong which we are unaware of. I've never seen where other problems come about though.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Email notifications deleted service
I have executed commands, now only one nagios process is running.
I will observer emails notifications next few hours and update this accordingly.
For now I am not getting emails from those deleted services.
Thank you very much!
I will observer emails notifications next few hours and update this accordingly.
For now I am not getting emails from those deleted services.
Thank you very much!
Re: Email notifications deleted service
Awesome, sounds like it was indeed a ghost process.
We'll leave this open for a few days, let us know if it comes back.
We'll leave this open for a few days, let us know if it comes back.
Former Nagios Employee
Re: Email notifications deleted service
Let us know when you think it is safe to lock this thread. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email notifications deleted service
I think its safe now.
I did not get email from deleted services.
You may close this thread.
Thank you!
I did not get email from deleted services.
You may close this thread.
Thank you!
Re: Email notifications deleted service
Closing this per your request
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/