Peformance Data in a Database
Chris Wilson
chris at netservers.co.uk
Thu Apr 15 17:32:26 CEST 2004
Hi Ben,
> Eg, the output from the current performance file, generated by:
>
> $TIMET$|$HOSTNAME$|$SERVICEDESC$|$OUTPUT$|$PERFDATA$
>
> Is: (abbreviated)
>
> 1082039465|host|http|HTTP OK|time=0.002143s;;;0.000000 size=1132B;;;0
For some reason I don't get this as the value for $PERFDATA$, instead I
get for example "PING OK - Packet loss = 0%, RTA = 65.14 ms". Perhaps I'm
using too old a version of Nagios (1.0) or plugins (1.3.1)?
> Therefore another reason for having 'hosts', as the logical
> informational domain describing a relation onto which services can be
> referenced.
Sorry, I can't parse _that_ :-) Am I missing some database terminology
that I ought to know?
> Try http://nagios.sourceforge.net/docs/1_0/perfdata.html worked for me :)
OK, fixed it now, thanks :-) My Nagios was compiled for default perfdata
logging, and I didn't know how to check it, and it was taking a long time
to log anything at all.
Cheers, Chris.
--
_ __ __ _
/ __/ / ,__(_)_ | Chris Wilson -- UNIX Firewall Lead Developer |
/ (_ ,\/ _/ /_ \ | NetServers.co.uk http://www.netservers.co.uk |
\__/_/_/_//_/___/ | 21 Signet Court, Cambridge, UK. 01223 576516 |
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
More information about the Developers
mailing list