Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
One thing to try, instead of stopping NSClient on those machines, disconnect the network cable (or if it is a VM do it in the VM settings).
Give it long enough for the host to go into a hard down state in Nagios.
Then reconnect the cable.
What appears in the debug log after doing this?
Another thing I have noticed as well........ it seems to send out these emails mostly about 3 or 4 hosts. Sometimes it will send a email a different one, but mostly it is just about the 3 or 4 same hosts.
let the fun continue....
so today, I restarted two of my hosts.
anyway, almost right away, nagios started sending alerts to the $@ address (the email address that has started this entire thread) it had never sent these bogus emails out for these 2 hosts before.
nagios.debug (with logging set to 32) does not show that anything was sent out. nor should it becasue for these 2 hosts are sent as being on downtime.
So it seems that for some odd reason.....nagios wants to send an alert out everytime there is a service or host state change, but if it isn't time to send a real alert out, it just tries to send it to $@mydomain.com anyway. I swear, I have not neglected nagios, so it cant possible be feeling lonely.
well, i could just remove that mail account from my outlook....that way I wont see it again.
I only found out this was even going on becasue I needed to create a valid mailbox for nagios to that way I could acknowledge alerts via email (which I got working btw)
so anything in that mailbox gets deleted every 5 min......
Any chance I could get a copy of that config zip as well? Just for those of us in the office here, I'm doing some looking around to see if this has been reported recently on core related forums.
Alrighty, I have a couple options here, firstly, can you run the following and show the output?:
Can you find the entire definition for "G1PCWEBSERV03'" in the following file and PM myself and Box it's contents please? And a service that was showing the problems as well if you can find one?
From your "WEB-windows-server" host template, as that will auto-set any host with that template to OK upon a nagios restart, which could notify you if they were in a down state previously. Thanks!