[rrd-users] Newbie rrdupdate question

This is a discussion on [rrd-users] Newbie rrdupdate question within the RRD Users forums, part of the Networking and Network Related category; Hi, Trying to add my first data to an rrd database. The following command returns the data item of interest: $ ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2008
Husky
 
Posts: n/a
Default [rrd-users] Newbie rrdupdate question


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-rrdupda...p15114728.html
Sent from the RRDTool - User mailing list archive at Nabble.com.

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0