pycollectd

Python interface to collectd-unixsock
git clone https://code.literati.org/pycollectd.git
Log | Files | Refs

commit 0a1e3b89a003e2e383c59c1fe7353b20fc45c723
parent bbbe422a12a754fe29fd3c4d735b72111122866c
Author: Sean Lynch <seanl@literati.org>
Date:   Tue, 12 Jan 2010 00:23:56 +0000

Print timestamp too

Diffstat:
Mpycollectd/collectd.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pycollectd/collectd.py b/pycollectd/collectd.py @@ -126,7 +126,7 @@ class UnixSock(object): def main(): c = UnixSock() for timestamp, name in c.listval(): - print name, c.getval(name) + print name, timestamp, c.getval(name) if __name__ == '__main__':