nagiostats plugin?
Roger
Roger at NagiosWiki.com
Sun Dec 16 22:23:36 CET 2007
On Dec 16, 2007 1:16 PM, Jeronimo Zucco <jczucco at ucs.br> wrote:
> I did it just running iostat as a service and logging results in a log
> file,
> then I just did a script with read and parse last entries of the log file.
> It
> works better for me.
Interesting. I see in 'man nagiostats' that there is an option for
outputting to mrtg (-m) and lots of ways to output just specific variables
(-d)
e.g.
MRTG DATA VARIABLES (-d option):
PROGRUNTIME string with time Nagios process has been running.
PROGRUNTIMETT time Nagios process has been running (time_t format).
STATUSFILEAGE string with age of status data file.
STATUSFILEAGETT string with age of status data file (time_t format).
NAGIOSVERSION string with Nagios version.
NAGIOSPID pid number of Nagios deamon.
NAGIOSVERPID string with Nagios version and PID.
TOTCMDBUF total number of external command buffer slots available.
USEDCMDBUF number of external command buffer slots currently in
use.
HIGHCMDBUF highest number of external command buffer slots ever in
use.
TOTCHKBUF total number of check result buffer slots available.
USEDCHKBUF number of check result buffer slots currently in use.
HIGHCHKBUF highest number of check result buffer slots ever in use.
NUMSERVICES total number of services.
NUMHOSTS total number of hosts.
NUMSVCOK number of services OK.
NUMSVCWARN number of services WARNING.
NUMSVCUNKN number of services UNKNOWN.
NUMSVCCRIT number of services CRITICAL.
NUMSVCPROB number of service problems (WARNING, UNKNOWN or
CRITIAL).
NUMSVCCHECKED number of services that have been checked since start.
NUMSVCSCHEDULED number of services that are currently scheduled to be
checked.
NUMSVCFLAPPING number of services that are currently flapping.
NUMSVCDOWNTIME number of services that are currently in downtime.
NUMHSTUP number of hosts UP.
NUMHSTDOWN number of hosts DOWN.
NUMHSTUNR number of hosts UNREACHABLE.
NUMHSTPROB number of host problems (DOWN or UNREACHABLE).
NUMHSTCHECKED number of hosts that have been checked since start.
NUMHSTSCHEDULED number of hosts that are currently scheduled to be
checked.
NUMHSTFLAPPING number of hosts that are currently flapping.
NUMHSTDOWNTIME number of hosts that are currently in downtime.
xxxACTSVCLAT MIN/MAX/AVG active service check latency (ms).
xxxACTSVCEXT MIN/MAX/AVG active service check execution time (ms).
xxxACTSVCPSC MIN/MAX/AVG active service check % state change.
xxxPSVSVCPSC MIN/MAX/AVG passive service check % state change.
xxxSVCPSC MIN/MAX/AVG service check % state change.
xxxACTHSTLAT MIN/MAX/AVG active host check latency (ms).
xxxACTHSTEXT MIN/MAX/AVG active host check execution time (ms).
xxxACTHSTPSC MIN/MAX/AVG active host check % state change.
xxxPSVHSTPSC MIN/MAX/AVG passive host check % state change.
xxxHSTPSC MIN/MAX/AVG host check % state change.
NUMACTHSTCHKxM number of active host checks in last 1/5/15/60 minutes.
NUMPSVHSTCHKxM number of passive host checks in last 1/5/15/60 minutes.
NUMACTSVCCHKxM number of active service checks in last 1/5/15/60
minutes.
NUMPSVSVCCHKxM number of passive service checks in last 1/5/15/60
minutes.
I will have to check that out....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071216/e6a88504/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
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