From: Florian Forster Date: Tue, 15 Sep 2009 19:28:07 +0000 (+0200) Subject: collectd-exec(5): Document the environment variables. X-Git-Tag: collectd-4.9.0~83 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6f42db1a14f449f99963191f372c61d418bc8a08;p=collectd.git collectd-exec(5): Document the environment variables. --- 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.