Nagios querying services no longer in configuration

Arno Lehmann al at its-lehmann.de
Tue Dec 13 23:16:23 CET 2005


Hello,

James Davis schrieb:
> Arno Lehmann wrote:
...
>>Basically, wherever you put it yourself :-)
>>
>>It's a setting in the main configuration file.
> 
> 
> It wasn't in there but following on from that I checked the other files
> referenced in the configuration file and found it in
> /var/log/nagios/status.log which I then deleted the entry from. I
> started nagios up and I've yet to receive any new alerts.
> 
> Does this happen if you remove a host from the configuration whilst
> there's an alert outstanding?

I don't know, because I never had such a situation, but I guess that, 
depending on your setup, all the important state information is saved, 
and that obviously includes state, notification number and interval and 
last one sent. And, most probably, lots of other interesting stuff, too. 
So, in short, I'd assume that it does.

A simple work around would be to manually inject a passive result that 
indicates a good state, and then reload Nagios with the modified 
configuration.

Arno

> Thanks,
> 
> James
> 

-- 
IT-Service Lehmann                    al at its-lehmann.de
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list