I have 2 cacti servers, the first with Fedora Core 4 Linux, the other with Red Hat 9 (last Cacti + Last Cactid + All Patch)
The Fedora Server no problems, but in the Red Hat 9 i can get SNMP - Interface Statistics info.
SNMP - Interface Statistics This data query returned 0 rows
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
if i perform snmpwalk -v 2c -c public 192.168.0.10 -O fntev, y have the same result in both servers.
Fedora: snmpwalk -v 2c -c public 192.168.0.10 -O fntev
Result:
STRING: Cisco Internetwork Operating System Software
IOS (tm) 1600 Software xxxxxxxxxx
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled xxxxx
OID: .1.3.6.1.4.1.9.1.113
156300709
STRING:
STRING: Test_router
STRING:
INTEGER: 78
....
....
text omited
....
....
INTEGER: 1
INTEGER: 1
INTEGER: 1
INTEGER: 1
0
2274
0
Red Hat 9: snmpwalk -v 2c -c public 192.168.0.10 -O fntev
Result:
STRING: Cisco Internetwork Operating System Software
IOS (tm) 1600 Software xxxxxxxxxx
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled xxxxx
OID: .1.3.6.1.4.1.9.1.113
156300709
STRING:
STRING: Test_router
STRING:
INTEGER: 78
....
....
text omited
....
....
INTEGER: 1
INTEGER: 1
INTEGER: 1
INTEGER: 1
0
2274
0
---
Tanks.
SNMP - Interface Statistics Error
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please perform following tests:
andand post the results. If there are none, please switch to SNMP v1 instead of v2c
Reinhard
Code: Select all
snmpwalk -v 2c -c public 192.168.0.10.1.3.6.1.2.1.2.2.1
Code: Select all
snmpwalk -v 2c -c public -O fntev 192.168.0.10.1.3.6.1.2.1.2.2.1
Reinhard
FIXED
That solve the problem.lvm wrote:.. please switch to SNMP v1 instead of v2c
Reinhard
mmm, is strange, in the Fedora Server i have set SNMP v 2c and work ok, may be is the version of net-snmp, i have 5.0 in the Red Hat and 5.2 in the Fedora, i go to try making and upgrade.
PD: i select again SNM v 2c in the Red Hat, make a refresh of the interfaces, Delete and create again, and work, i don now but is working.
I go to create a sub interface in the router and go to see if cacti can see the change having SNMP v 2c, if not i go to select SNMP v 1.
Thanks.
Who is online
Users browsing this forum: No registered users and 4 guests