[Nagiosplug-help] check_summary script syntax and status log
Esben Bach
esben at cs.aau.dk
Tue Aug 28 12:44:52 CEST 2007
Nevermind i figured out that it parses a different log format, so i
added the new format and now it seems to work just nicely.
--
Esben
Esben Bach wrote:
> Hi
> I am trying to use the check summary plugin but to no avail.
>
> If i do the following (from cli):
> ./check_summary -d -e '@cluster (/lisa.cs.aau.dk)' -S /path/to/status.dat
>
> I get the following output:
> Expanding host /lisa.cs.aau.dk
> Unrecognised host lisa.cs.aau.dk
>
> Doing a 'grep lisa.cs.aau.dk /path/to/status.dat" gives a few lines
> containing:
> host_name=lisa.cs.aau.dk
>
> Using a different log fil (im uncertain which one to use status.dat or
> nagios.log)
> Gives the same result although the grep command returns something like:
> [1188252000] CURRENT HOST STATE: lisa.cs.aau.dk;UP;HARD;1;PING OK -
> Packet loss = 0%, RTA = 0.17 ms
> [1188252000] CURRENT SERVICE STATE: lisa.cs.aau.dk;Check NIS
> Client;OK;HARD;1;NIS OK - domain cs.aau.dk
>
>
> Any clues as to why it won't expand the host, and which log file is the
> correct one?
>
> --
> Esben
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
More information about the Help
mailing list