Same issue with U in data updates Please someone Help

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
abdulcc
Cacti User
Posts: 52
Joined: Fri Jul 14, 2006 7:06 am

Same issue with U in data updates Please someone Help

Post by abdulcc »

I have followed all kinds of instructions but no solution

When I do a snmpwalk of the device
SNMP Walk Results for 10.18.2.5
1.3.6.1.4.1.9.9.194.1.1.1.0 1167

I have no issues but when the poller runs it, It gets an U data source


11/01/2007 03:55:02 PM - CMDPHP: Poller[0] Host[3] DS[569] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_max, oid: .1.3.6.1.4.1.9.9.194.1.1.2, output: U



/usr/bin/rrdtool create \
/var/www/html/cacti/rra/bamako5msc1_cisco_pppoe_max_569.rrd \
--step 300 \
DS:cisco_pppoe_max:GAUGE:600:0:600000000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Same issue with U in data updates Please someone Help

Post by gandalf »

abdulcc wrote:I have followed all kinds of instructions but no solution

When I do a snmpwalk of the device
SNMP Walk Results for 10.18.2.5
1.3.6.1.4.1.9.9.194.1.1.1.0 1167

I have no issues but when the poller runs it, It gets an U data source


11/01/2007 03:55:02 PM - CMDPHP: Poller[0] Host[3] DS[569] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_max, oid: .1.3.6.1.4.1.9.9.194.1.1.2, output: U
Those are completely different OIDs! Which one are you interesetd in?
Reinhard
abdulcc
Cacti User
Posts: 52
Joined: Fri Jul 14, 2006 7:06 am

I am trying to poll 2 Generic snmp oids

Post by abdulcc »

11/01/2007 06:30:01 PM - CMDPHP: Poller[0] Host[3] DS[569] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_max, oid: .1.3.6.1.4.1.9.9.194.1.1.2, output: U
11/01/2007 06:30:01 PM - CMDPHP: Poller[0] Host[3] DS[569] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
11/01/2007 06:30:01 PM - CMDPHP: Poller[0] Host[3] DS[568] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_current, oid: .1.3.6.1.4.1.9.9.194.1.1.1, output: U
11/01/2007 06:30:01 PM - CMDPHP: Poller[0] Host[3] DS[568] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur



Should I apply this patch to my cacti 8.7 version

snmpwalk Fix 2007/05/15
This fixes issues with the snmpwalk functionality in Cacti with more recent versions of net-snmp.


http://cacti.net/download_patches.php?version=0.8.6j

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please do not apply this patch to 087.
You're interested in .1.3.6.1.4.1.9.9.194.1.1.2?
Please perform an snmpget from command line against this OID to see, if the target device supports it. There's a chance, thyt you're interested in .1.3.6.1.4.1.9.9.194.1.1.2.0 instead?
Reinhard
abdulcc
Cacti User
Posts: 52
Joined: Fri Jul 14, 2006 7:06 am

Here are the snmp walk queries

Post by abdulcc »

[root@syslog ~]# snmpwalk -v 2c -c public 10.18.2.5 1.3.6.1.4.1.9.9.194.1.1.1
SNMPv2-SMI::enterprises.9.9.194.1.1.1.0 = Gauge32: 1023

[root@syslog ~]# snmpwalk -v 2c -c public 10.18.2.5 1.3.6.1.4.1.9.9.194.1.1.2
SNMPv2-SMI::enterprises.9.9.194.1.1.2.0 = Gauge32: 1228
abdulcc
Cacti User
Posts: 52
Joined: Fri Jul 14, 2006 7:06 am

I got it to work

Post by abdulcc »

[root@syslog ~]# snmpwalk -On -v 2c -c 10.18.2.5 .1.3.6.1.4.1.9.9.194.1.1.2
.1.3.6.1.4.1.9.9.194.1.1.2.0 = Gauge32: 1228
[root@syslog ~]# snmpwalk -On -v 2c -c 10.18.2.5 .1.3.6.1.4.1.9.9.194.1.1.1
.1.3.6.1.4.1.9.9.194.1.1.1.0 = Gauge32: 853


11/01/2007 11:40:02 PM - CMDPHP: Poller[0] Host[3] DS[569] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_max, oid: .1.3.6.1.4.1.9.9.194.1.1.2.0, output: 1228
11/01/2007 11:40:02 PM - CMDPHP: Poller[0] Host[3] DS[568] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_current, oid: .1.3.6.1.4.1.9.9.194.1.1.1.0, output: 809


Very strange behavior from Cacti


Thanks a lot everyone for your support
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: I got it to work

Post by gandalf »

abdulcc wrote:[root@syslog ~]# snmpwalk -On -v 2c -c 10.18.2.5 .1.3.6.1.4.1.9.9.194.1.1.2
.1.3.6.1.4.1.9.9.194.1.1.2.0 = Gauge32: 1228
[root@syslog ~]# snmpwalk -On -v 2c -c 10.18.2.5 .1.3.6.1.4.1.9.9.194.1.1.1
.1.3.6.1.4.1.9.9.194.1.1.1.0 = Gauge32: 853


11/01/2007 11:40:02 PM - CMDPHP: Poller[0] Host[3] DS[569] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_max, oid: .1.3.6.1.4.1.9.9.194.1.1.2.0, output: 1228
11/01/2007 11:40:02 PM - CMDPHP: Poller[0] Host[3] DS[568] SNMP: v2: 10.18.2.5, dsname: cisco_pppoe_current, oid: .1.3.6.1.4.1.9.9.194.1.1.1.0, output: 809
If you want to graph .1.3.6.1.4.1.9.9.194.1.1.1.0, you'll have to tell cacti to use it and not to use .1.3.6.1.4.1.9.9.194.1.1.1. That's why I've asked to use snmpget instead of snmpwalk
Reinhard[/b]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests