diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-08-19 18:15:21 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-08-19 18:15:21 -0400 |
commit | 10f4417b4abeba3e9fc5cd6cb335dd34fa2701dc (patch) | |
tree | a2377d91cef28f3d06b252faaa0f2a0e8c515f79 /systemd.py | |
parent | 314b0af75c06b9f2b36332d481c3b9e75b514c7c (diff) |
shorten the polling interval from 10s to 1s
Diffstat (limited to 'systemd.py')
-rwxr-xr-x | systemd.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |