|
|
| Author |
Message |
robinbowes
Joined: 11 Apr 2006 Posts: 5
|
Posted: Tue Apr 11, 2006 3:44 pm Post subject: Result from SNMP not valid. Partial Result: ... |
|
|
Hi,
(using cacti 0.8.6h installed from RPM on FC4)
I'm not seeing Interface statistic graphs for either of my two linux servers.
The debug logout put looks like this:
| Code: |
04/11/2006 09:20:03 PM - CACTID: Poller[0] Host[7] ERROR: Problems parsing Multi SNMP OID! (oid: )
04/11/2006 09:20:03 PM - CACTID: Poller[0] Host[7] DS[57] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:03 PM - CACTID: Poller[0] Host[7] DS[57] SNMP: v1: dude.robinbowes.com, dsname: snmp_oid, oid: , value: U
|
and
| Code: |
04/11/2006 09:20:03 PM - CACTID: Poller[0] Host[8] ERROR: Problems parsing Multi SNMP OID! (oid: )
04/11/2006 09:20:03 PM - CACTID: Poller[0] Host[8] DS[69] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:03 PM - CACTID: Poller[0] Host[8] DS[69] SNMP: v1: batmobile.robinbowes.com, dsname: snmp_oid, oid: , value: U
|
I see another error for my Cisco router, but I do get graphs for that:
| Code: |
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[45] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 2340820808
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[54] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, value: 2340820808
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[46] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 2481355034
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[47] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[48] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[48] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, value: U
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[49] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[49] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, value: U
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[50] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, value: 2340820808
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[51] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, value: 2340820808
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[52] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[53] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[45] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 2311777318
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[54] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, value: 2327239176
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[46] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 2524492737
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[47] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[48] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[48] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, value: U
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[49] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[49] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, value: U
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[50] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, value: 2340820808
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[51] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, value: 2340820808
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[52] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[53] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[45] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 2311777318
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[54] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, value: 2327239176
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[46] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 2524492737
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[47] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[48] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[48] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, value: U
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[49] WARNING: Result from SNMP not valid. Partial Result: ...
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[49] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, value: U
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[50] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, value: 2311777318
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[51] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, value: 2311777318
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[52] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, value: 0
04/11/2006 09:20:02 PM - CACTID: Poller[0] Host[6] DS[53] SNMP: v1: cisco-soho97.robinbowes.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, value: 0
|
Any idea where I should start looking for problems?
Thanks,
R. |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 9568 Location: WA, USA
|
Posted: Tue Apr 11, 2006 6:08 pm Post subject: |
|
|
| Looks like your indexes for the interfaces has changed. Either you can manually reindex the affected routers (click the green circle next to the snmp interface query in the device) or look into running the poller_reindex_hosts.php nightly. |
|
| Back to top |
|
 |
robinbowes
Joined: 11 Apr 2006 Posts: 5
|
Posted: Wed Apr 12, 2006 10:50 am Post subject: |
|
|
| BSOD2600 wrote: | | Looks like your indexes for the interfaces has changed. Either you can manually reindex the affected routers (click the green circle next to the snmp interface query in the device) or look into running the poller_reindex_hosts.php nightly. |
Hmmm. I didn't have an snmp interface query, so I added one:
SNMP - Interface statistics
When I run the verbose query, this is what I see:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/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 '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
So, it's not returning any data. Hmmm. better check that out.
R. |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 9568 Location: WA, USA
|
Posted: Wed Apr 12, 2006 11:16 am Post subject: |
|
|
| You didn't already have a 'SNMP - Interface statistics' for that device? What was cacti using already to poll those interfaces? |
|
| Back to top |
|
 |
robinbowes
Joined: 11 Apr 2006 Posts: 5
|
Posted: Wed Apr 12, 2006 3:13 pm Post subject: |
|
|
| BSOD2600 wrote: | | You didn't already have a 'SNMP - Interface statistics' for that device? What was cacti using already to poll those interfaces? |
I just had a graph template - SNMP Generic OID Template.
It was all working fine - then broke after an upgrade. I left it for a while and decided to have a look at it again recently.
Any ideas why the SNMP query is failing?
R. |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 9568 Location: WA, USA
|
Posted: Wed Apr 12, 2006 4:49 pm Post subject: |
|
|
Ewww, you were manually entering in the OIDs to be polled for traffic?
SNMPWALK .1.3.6.1.2.1.2.2.1 on a cisco router and see what it returns. If the Index count isnt on .1.3.6.1.2.1.2.2.1.1', then you'll need to copy the existing interface.xml script and associated templates. Then modify interface.xml so it uses the correct OIDs (probably .1.3.6.1.2.1.2.2.1.10.x). |
|
| Back to top |
|
 |
robinbowes
Joined: 11 Apr 2006 Posts: 5
|
Posted: Wed Apr 12, 2006 5:33 pm Post subject: |
|
|
| BSOD2600 wrote: | Ewww, you were manually entering in the OIDs to be polled for traffic?
SNMPWALK .1.3.6.1.2.1.2.2.1 on a cisco router and see what it returns. If the Index count isnt on .1.3.6.1.2.1.2.2.1.1', then you'll need to copy the existing interface.xml script and associated templates. Then modify interface.xml so it uses the correct OIDs (probably .1.3.6.1.2.1.2.2.1.10.x). |
Heh, I didn't do anything manually.
To be honest, I don't remember exactly what I did - but it used to work!
When it stopped working, I removed all the hosts and added them again. Maybe I got something wrong?
I'll try doing it again and see if I made some simple mistake.
I actually support cacti for a client (an ISP) and have loads of hosts working fine on their instance. It's just not working for me at home!
R. |
|
| Back to top |
|
 |
robinbowes
Joined: 11 Apr 2006 Posts: 5
|
Posted: Wed Apr 12, 2006 5:57 pm Post subject: |
|
|
Hmmm, it seems that my snmpd configuration had disappeared on both linux boxes. Bizarre.
All working now.
Well, actually, I have another issue, but I'll raise that in another thread.
Thanks,
R. |
|
| Back to top |
|
 |
ahardman
Joined: 10 Apr 2006 Posts: 41
|
Posted: Mon Apr 23, 2007 2:40 pm Post subject: I have the same issue |
|
|
| I have the same issue what did you mean by "my snmpd configuration had disappeared on both linux boxes"? What did you do to repair this issue? |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|