Hi, Im trying to store a value in a datasource that i have defined as a counter , but when i debugged i noticed that the value was being pulled ok, but was being stored as '4L' which is causing that 0.0 is being saved
If i change the datasource to gauge, the value is stored the way that it should, but it's actually just a counter so gauge is not right one. DEBUG:zen.zencommand:Next command in 299.970165 seconds DEBUG:zen.zencommand:Received exit code: 0 DEBUG:zen.zencommand:Command: '/bin/sh -c exec /opt/zenoss/commands/GetNum.sh' DEBUG:zen.zencommand:Output: 'Found|Num=4\n' DEBUG:zen.zencommand:Process GetNum.sh stopped (0), 0.026784 elapsed DEBUG:zen.zencommand:The result of "/opt/zenoss/commands/GetNum.sh" was "Found|Num=4" DEBUG:zen.zencommand:storing Num = 4.0 in: /Devices/myserver/test_Num DEBUG:zen.RRDUtil:/opt/zenoss/perf/Devices/myserver/test_Num.rrd: 4L DEBUG:zen.zencommand:rrd save result: 0.0 Am i doing something wrong ? thanks. C. ------------------------ Cristian -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=10169#10169 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
