[collectd] putval of exec plugin seems to be ignored by collectd
ulf.kreutzberg at hosteurope.de
Thu Aug 28 17:15:53 CEST 2008
Hi Collectd list-members,
perhaps someone can help me with the exec plugin.
I am trying to use the exec plugin, because of testing, i have written a
small script that echos just one line all 10 seconds, like the smartctl
example. but collectd seems to ignore that output, at least neither no
rrd, nor any csv is written (those plugins are loaded and configured, of
course, and are recording for other values e.g. the cpu-load plugin
The script "testscript" is being executed and working, I have added a
logger line for debugging.
Syslog does not show any errors.
I have edited types.db and added a line for testing on top for testing
purposes, but it did not work with or without that line.
Probably I am doing something wrong stupidly, as I am new to collectd.
So here is my setup (linebreaks are caused by MUA and not in config):
I am using collectd 4.4.2 self-compiled (4.4.1 did not work either, from
backports) running on Debian Etch, in a Xen domU....Kernel 2.6.18
# =========BEGIN collectd.conf ===============
Exec "testuser:testgroup" "/usr/local/bin/testscript"
Include "/etc/collectd/thresholds.conf"Plugin load
# ====== END of collectd.conf ===============
# ====== BEGIN testscript ====================
while true; do
echo "PUTVAL testhost/exec/testscript interval=10 N:1234"
# ======= END testscript =====================
# ======= BEGIN types.db =====================
# ... snip ..... rest omitted and left original
# ====== END types.db ========================
Many thanks in advance and best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080828/16fba5f2/attachment.pgp
More information about the collectd