The problem is with your output.

> DEBUG:zen.zencommand:Output: '73.62\n' 


The output needs to be in the correct format (see 
http://nagiosplug.sourceforge.net/developer-guidelines.html).

Basically, stdout a return code (optional in my opinion) followed by a pipe |, 
then your datapoint name, then an = sign, then the value.

Example: |mytemp=100

If you have more than one value then seperate with a space.

Example: |mytemp=100 myhumidity=90

Make sure your datapoints are saved with the same name as your output (case 
sensitive).  So a datapoint of MyTemp would not work in this case.  It must be 
mytemp.

Take a look at my output:

Code:

DEBUG:zen.zencommand:Finished config fetch
INFO:zen.zencommand:---------- - schedule has 4 commands
DEBUG:zen.zencommand:Next command in 299.947159 seconds
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c exec 
$ZENHOME/Products/xxxx/libexec/xxxx.sh
DEBUG:zen.zencommand:Output: '|dbread=0 dbwrite=0 logread=0 logwrite=0'
DEBUG:zen.zencommand:Process xxxx.sh  stopped (0), 0.345080 elapsed
DEBUG:zen.zencommand:The result of "$ZENHOME/Products/xxxx/libexec/xxxx.sh" was 
"|dbread=0 dbwrite=0 logread=0 logwrite=0"
DEBUG:zen.zencommand:storing dbread = 0.0 in: Devices/myserver.com/xxxx_dbread
DEBUG:zen.RRDUtil:/usr/local/zenoss/perf/Devices/myserver.com/xxxx_dbread.rrd: 
0.0
DEBUG:zen.zencommand:rrd save result: 0.0







-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15528#15528

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to