[Nagiosplug-help] check_summary script syntax and status log

Esben Bach esben at cs.aau.dk
Tue Aug 28 10:18:23 CEST 2007


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




More information about the Help mailing list