For some strange error, recently i started to get exceptions in RRDaemon.py. 
After investigating a little, i foud that integer value is trying to be 
printed as float. Following patch adds extra float cast around value.

H.

--- ./ZenRRD/RRDDaemon.py.orig	2007-03-22 08:04:27.000000000 +0100
+++ ./ZenRRD/RRDDaemon.py	2007-03-22 08:03:45.000000000 +0100
@@ -79,7 +79,7 @@
             if self.escalateCount and self.count >= self.escalateCount:
                 severity += 1
             summary = '%s %s threshold of %s %s: current value %.2f' % (
-                device, self.label, thresh, how, value)
+                device, self.label, thresh, how, float(value))
             eventCb(device=device,
                     summary=summary,
                     eventClass=self.eventClass,
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to