From 6f42db1a14f449f99963191f372c61d418bc8a08 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 15 Sep 2009 21:28:07 +0200 Subject: [PATCH] collectd-exec(5): Document the environment variables. --- src/collectd-exec.pod | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/collectd-exec.pod b/src/collectd-exec.pod index b95779dd..81b3a2ec 100644 --- a/src/collectd-exec.pod +++ b/src/collectd-exec.pod @@ -230,6 +230,23 @@ associated with a certain value. =back +=head1 ENVIRONMENT + +The following environment variables are set by the plugin before calling +I: + +=over 4 + +=item COLLECTD_INTERVAL + +Value of the global interval setting. + +=item COLLECTD_HOSTNAME + +Hostname used by I to dispatch local values. + +=back + =head1 USING NAGIOS PLUGINS Though the interface is far from perfect, there are tons of plugins for Nagios. -- 2.11.0