Clemens Gesell > Watchdog-0.10 > swap.monitor

Download:
Watchdog-0.10.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

swap.monitor - monitor swap space usage via SNMP

SYNOPSIS ^

swap.monitor [ --community=community ] [ --percent=p ] host [...]

ARGUMENTS ^

--community=community

SNMP community (default=public)

--percent=p

The monitor is deemed to fail if swap space utilisation is >= p (default=75).

host [...]

Space separated list of hosts to monitor.

DESCRIPTION ^

swap.monitor monitors swap space usage via the UCSD SNMP agent. It is designed to be used as a monitor for the mon package. As such if any host's swap utilisation is >= a particular percentage it will return 1 and output the hostnames that failed and the percentage of the swap in use. If all hosts meet the utilisation criteria 0 is returned.

The swap space statistics must be collected from an extension to the SNMP agent named 'swap' which returns the percentage of swap space in use.

BUGS ^

The swap statistics should really be collected from a MIB but there didn't seem to be one which worked for Linux and Solaris.

SEE ALSO ^

swap.ext - snmp agent extenstion for monitoring swap space http://consult.ml.org/~trockij/mon/ http://www.ece.ucdavis.edu/ucd-snmp/

AUTHOR ^

Paul Sharpe <paul@miraclefish.com>

COPYRIGHT ^

Copyright (c) 1998 Paul Sharpe. England. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: