fisk4
2012-02-05 15:41:42 UTC
fisk4 [http://community.zenoss.org/people/fisk4] created the discussion
"Command datasource, graph problem"
To view the discussion, visit: http://community.zenoss.org/message/64258#64258
--------------------------------------------------------------
I have created a "command datasource" to be able to do graph from a snmprequest that returns values as a string (ex 1.5 tb).
it looks like this in the datasource under command template.
string_to_int.sh ${dev/zSnmpVer} ${dev/zSnmpCommunity} ${dev/manageIp} .1.3.6.1.4.1.24681.1.2.17.1.5.1
I tried to run the script from the command line like this:
./string_to_int.sh v2c public 192.168.1.1 .1.3.6.1.4.1.24681.1.2.17.1.5.1
and got the return
Any ideas?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64258#64258]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Command datasource, graph problem"
To view the discussion, visit: http://community.zenoss.org/message/64258#64258
--------------------------------------------------------------
I have created a "command datasource" to be able to do graph from a snmprequest that returns values as a string (ex 1.5 tb).
it looks like this in the datasource under command template.
string_to_int.sh ${dev/zSnmpVer} ${dev/zSnmpCommunity} ${dev/manageIp} .1.3.6.1.4.1.24681.1.2.17.1.5.1
I tried to run the script from the command line like this:
./string_to_int.sh v2c public 192.168.1.1 .1.3.6.1.4.1.24681.1.2.17.1.5.1
and got the return
1.58
I have created a graph and added that as a datasource, but cant get any data into it.Any ideas?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/64258#64258]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]