On Sunday, 02 December 2007 10:43:25 -0600, Marc Powell wrote: > >>>> check_command: [...] If you leave this argument blank, the host > >>>> will not be checked - Nagios will always assume the host is up. > >>>> This is useful if you are monitoring printers or other devices > >>>> that are frequently turned off.
> >> I didn't get errors after Nagios restart, but it continue > >> displaying the host in down state, yet. > > Well, Nagios didn't produce host notifications again. But, if Nagios > > will always assume the host is up, why it continues displaying the > > host in down state? > I would guess that the template you were using had > retain_status_information enabled. You removed it but nagios had > already written out the down status to the retention file and used > that on the restart. Try restarting nagios again. If that doesn't work > you can probably stop nagios, edit the state retention file to remove > the host stanza (making a backup first of course) and restart nagios. I try adding 'retain_status_information 0' in host definition for Nagios server. Now, its host status is 'pending' instead of 'down'. But the default host initial state shouldn't be 'up'? Thanks for your response, Marc. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598
signature.asc
Description: Digital signature
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ Nagios-users mailing list [email protected] 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
