Never mind, I found what was causing the issue, in order for zenoss to graph 
the data the output had to be like this
'HPSOK:avg_1min=150.1|avg_1min=150.1\n'
now it is graphing.
so the avg_1min is the name of the data point and the data after the pipe is 
the performance data.

________________________________

From: [EMAIL PROTECTED] on behalf of Sanabria, Allen
Sent: Mon 6/11/2007 12:23 PM
To: [email protected]
Subject: [zenoss-users] custom command not creating .rrd



I did create datapoint which is guage.
I did create graph in the graphs section with the correct data point.

when I ran zencommand run -d (devicename) -v10 here is the output.
Any help will be appreciated!
This command is working for monitoring. (just a fyi)

DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c
exec /usr/local/pkg/zenoss/libexec/hps.pl -H ws2214.bc.cbsig.net -T
peak'
DEBUG:zen.zencommand:Output: '125.5'
DEBUG:zen.zencommand:Process hps.pl -H ws2214.bc.cbsig.net -T peak
stopped (0), 0.605686 elapsed
DEBUG:zen.zencommand:The result of "/usr/local/pkg/zenoss/libexec/hps.pl
-H ws2214.bc.cbsig.net -T peak" was "125.5"
DEBUG:zen.zencommand:Next command in 59.999128 seconds
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c
exec /usr/local/pkg/zenoss/libexec/hps.pl -H ws2214.bc.cbsig.net -T avg'
DEBUG:zen.zencommand:Output: '101.3'
DEBUG:zen.zencommand:Process hps.pl -H ws2214.bc.cbsig.net -T avg
stopped (0), 0.601467 elapsed
DEBUG:zen.zencommand:The result of "/usr/local/pkg/zenoss/libexec/hps.pl
-H ws2214.bc.cbsig.net -T avg" was "101.3"
DEBUG:zen.zencommand:Next command in 59.996786 seconds
DEBUG:zen.zencommand:Received exit code: 0
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users


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

Reply via email to