Submitting passive host checks by editing status.sav?

Tedman Eng teng at dataway.com
Mon Aug 18 04:26:09 CEST 2003


I would like to submit passive host checks so that I can reset the status of
paused hosts.
I can do this via the web gui for services, but I have found no way to
submit passive checks for hosts.
I know this is planned for version 2.0, but how can I accomplish this using
1.0 or 1.1?

I've played around with deleting the entry in status.sav during a nagios
restart, but then the host shows up as pending.  The status.sav file has one
line per host and one line per service, with a lot of comma-delimited
fields.  My thinking is that I can change a value, and Nagios would think
the host's last known state is OK.  Nagios is restarted fairly often in my
environment, so munging the saved state while Nagios is down is fine.

A) If editing status.sav is an acceptable way of submitting passive checks
(for paused hosts), does anyone know the fields used in the file?

B) If there's an easier way to submit passive host checks, what is it?





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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