From 10f4417b4abeba3e9fc5cd6cb335dd34fa2701dc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 19 Aug 2017 18:15:21 -0400 Subject: shorten the polling interval from 10s to 1s --- systemd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd.py b/systemd.py index 219bb16..5a22e3c 100755 --- a/systemd.py +++ b/systemd.py @@ -59,8 +59,8 @@ else: def _config(conf): pass def _read(): + collectd.info("---- dump() ----") for (key, val) in iteritems(read()): - collectd.info("---- dump() ----") collectd.Values( plugin='systemd', type='count', @@ -70,4 +70,4 @@ else: ) collectd.register_config(_config) collectd.register_init(init) - collectd.register_read(_read) + collectd.register_read(_read, 1) -- cgit v1.2.3