[rrd-users] Newbie rrdupdate question

Husky husky7380 at gmail.com
Sun Jan 27 03:54:59 CET 2008


Hi,

Trying to add my first data to an rrd database.  The following command
returns the data item of interest:

$ snmpget -v 1 -c public -Oqv 192.168.1.105
SNMPv2-SMI::enterprises.20916.1.4.1.1.1.1.0
7280

The following command works:
$ sudo rrdupdate /usr/local/rrd/temp.rrd N:7280

The command I want to use fails in the following way:
$ sudo rrdupdate /usr/local/rrd/temp.rrd N:'snmpget -v 1 -c public -0qv
192.168.1.105 SNMPv2-SMI::enterprises.20916.1.4.1.1.1.1.0'
ERROR: expected 1 data source readings (got 3) from snmpget ...

Temp.rrd is defined with 1 data source.  The snmpget seems to return 1
value.  When I use it in the rrdupdate it seems to find 3 values returned
from the snmpget.  I am new to rrdtool, new to snmp, and fairly new to Mac
OS X, which is where I am trying this, so there is much room for me doing
something wrong.  Any help would be appreciated.
Thanks
-- 
View this message in context: http://www.nabble.com/Newbie-rrdupdate-question-tp15114728p15114728.html
Sent from the RRDTool - User mailing list archive at Nabble.com.



More information about the rrd-users mailing list