When passed config, it outputs Munin configuration information. If there are no circuits defined (no subdirectories in /etc/mailping), it specifies that Munin should draw no graph either.
If configuration files /etc/mailping/circuit/warntime and /etc/mailping/circuit/failtime exist, the values in them are passed on to Munin, for use in Nagios alert integration.
Value output
When passed an empty string '', mailping-success outputs the difference between current time and last successful probe, for each configured circuit.
FILES
/etc/mailping/
-
List of circuits that exist; each subdirectory is a circuit.
/etc/mailping/circuit/warntime
-
If more than this many seconds have passed since last successful probe, a Nagios warning is triggered by Munin (assuming it has been configured to do that). Default: no warnings.
/etc/mailping/circuit/failtime
-
If more than this many seconds have passed since last successful probe, a Nagios alert is triggered by Munin (assuming it has been configured to do that). Default: no alerts.
/var/lib/mailping/state/circuit/success
-
Timestamp in seconds of the last successful probe for
circuit.
ENVIRONMENT
MAILPING_CONFIGDIR
-
Override the location of the configuration directory. Default:
/etc/mailping
MAILPING_STATEDIR
-
Override the location of the state directory. Circuit states are stored in the
state
subdirectory of this directory, in subdirectories named after the circuit name. Default:
/var/lib/mailping
SEE ALSO
mailping-latency(1), mailping-cron(1), mailping-store(1), munin-run(8), munin-node(8)
AUTHOR
Tommi Virtanen <tv@havoc.fi>
Havoc Consulting
-
Author.
COPYRIGHT
Copyright © 2004 Havoc Consulting
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- Configuration output
-
- Value output
-
- FILES
-
- ENVIRONMENT
-
- SEE ALSO
-
- AUTHOR
-
- COPYRIGHT
-
This document was created by
man2html,
using the manual pages.
Time: 21:14:47 GMT, April 16, 2011