rrd not update

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ging
Posts: 2
Joined: Thu May 06, 2004 12:53 am

rrd not update

Post by ging »

:cry:

I added a cisco router and the rrd file successfully created.

I tried to run the cmd.php and got the following error....!!

snmp: c2621.hksps.com:161, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: interfaces.ifTable.ifEntry.ifInOctets.1 2683369377
snmp: c2621.hksps.com:161, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: interfaces.ifTable.ifEntry.ifOutOctets.1 1073275189
update /var/www/html/cacti/rra/c2621_traffic_in_14.rrd --template traffic_in:traffic_out N:interfaces.ifTable.ifEntry.ifInOctets.1 2683369377:interfaces.ifTable.ifEntry.ifOutOctets.1 1073275189
ERROR: expected 2 data source readings (got 1) from N:interfaces.ifTable.ifEntry.ifInOctets.1:...

please help!!
User avatar
dieter
Cacti User
Posts: 164
Joined: Fri Feb 20, 2004 3:08 pm

Post by dieter »

I encountered the same problem with a lotus domino server.
The problem here is that the var being read not only contains the needed value but also returns the name of the oid.

So what I did is writing a script that strips off the name from the returned value and I used this as a data input method
ging
Posts: 2
Joined: Thu May 06, 2004 12:53 am

Post by ging »

:oops:

by default, RH installed the ucd-snmp and it didn't work well with the cacti....

The problem was fixed after uninstalled the ucd-snmp and setting the snmp path to the net-snmp.

:lol:
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests