[rrd-users] ERROR: not a simple integer:

secrookie at gmail.com secrookie at gmail.com
Wed Apr 2 11:53:32 CEST 2008


I would like to ask for some assistance.  I am trying log bandwidth
data from a cisco device with rrdtool.

I can get data from snmpget at the command line:

[root at localhost ~]# snmpget -c public -v 1 -Oqv ifInOctets.

The database was created as follows:

root at localhost ~]# rrdtool create inside.rrd -s 300
DS:in:COUNTER:600:U:U DS:out:COUNTER:600:U:U RRA:AVERAGE:0.5:1:576
RRA:AVERAGE:0.5:6:672 RRA:AVERAGE:0.5:24:732 RRA:AVERAGE:0.5:144:1460

Updated as follows - basically 2 data source values for in and out.

[root at localhost ~]# rrdupdate /var/lib/rrd/outside.rrd N:'snmpget -c
public -v 1 -Oqv ifInOctets.1' N:'snmpget -c public -v 1
-Oqv ifOutOctets.1'

RRDtool 1.2.99907080300  Copyright by Tobi Oetiker, 1997-2007

Usage: rrdupdate filename
			[--template|-t ds-name:ds-name:...]

			at-time at value[:value...]

			[ time:value[:value...] ..]

ERROR: not a simple integer: 'snmpget -c public -v 1 -Oaqv
[root at localhost ~]#

[root at localhost ~]# snmpget -c public -v 1 ifInOctets.1
IF-MIB::ifInOctets.1 = Counter32: 2767527822

What does 'not a simple integer' imply?  The integer I am trying to
insert into the database is 1276749430.


More information about the rrd-users mailing list