The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

partition.monitor - monitor disk partition usage via SNMP

SYNOPSIS

partition.monitor [ --community=community ] --mount=mount_point [ --percent=p ] host [...]

ARGUMENTS

--community=community

SNMP community (default=public)

--mount=mount_point

The mount point of the filesystem to monitor.

--percent=p

The monitor is deemed to fail if the disk utilisation of mount_point is >= p (default=75).

host [...]

Space separated list of hosts to monitor.

DESCRIPTION

partition.monitor monitors disk partition 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 partition is >= a particular percentage it will return 1 and output the hostnames that failed and the percentage of the partition in use. If all hosts meet the utilisation criteria 0 is returned.

SEE ALSO

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.