Hosts where frequently turned off

Chrigi Hartmann chrigi.hartmann at gmx.net
Sat Sep 4 09:55:45 CEST 2004


Hi Tedman

> I believe you're experiencing an issue with state retention now.  
> 
> If the host was down when you started working on Nagios, and you have
> state retention turned on, then Nagios will "remember" the host state
> as being down. 
Yes, I now

> If the host came up (ie check_dummy) before Nagios was
> started again, nagios will assume the host is down still.
But I've restartet nagios many times...

>  The host
> will not be checked again until a service fails.
And what Is when a host has no services? This can be by workstations
where I want that they are alway up on my status map or 'host detail'.

>  If you can
> artificially make one of that host's services fail, then you will
> initiate a hostcheck to reset to proper state (in this case
> check_dummy).

And what is whit my second problem? when I define the command
check_dummy and the host like in your example, then nagios would not
start. i have the error: 
Host check command 'check_dummy!0' specified
for host 'wkst13.lan.webmeischter.ch' is not defined anywhere!

But I've defined it in 'checkcommands.cfg'. the plugin works, i've
testet it:
[root at pdc nagios]# /usr/lib/nagios/plugins/check_dummy 0
Status is OK


Thx for your help and greets from switzerland

chrigi hartmann


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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