[SOLVED] SNMP - Interface Statistics

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

Moderators: Developers, Moderators

Post Reply
jones
Posts: 11
Joined: Sun Feb 12, 2006 10:42 am

[SOLVED] SNMP - Interface Statistics

Post by jones »

Hi all,

I'm sorry if this something that is answered in anther post but I didn't find any anwers.

I've just installed the latest version of cacti and am trying to add a bandwidth graph to the default device that is installed with cacti. I have setup everything properly (as far as i know) however SNMP is returning no values and comes up with this in the log: + No SNMP data returned.

Any help would be greatly appreciated!

Here's the verbose:


+ 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'
petergigengack
Posts: 7
Joined: Tue Dec 18, 2007 10:57 am

Post by petergigengack »

hey mate,

I had a similar problem.

If you want to follow the thread here it is:

http://forums.cacti.net/viewtopic.php?t=24908
jones
Posts: 11
Joined: Sun Feb 12, 2006 10:42 am

Post by jones »

thanks mate, you have a PM
jones
Posts: 11
Joined: Sun Feb 12, 2006 10:42 am

Post by jones »

Thanks for the help petergigengack.

now I have NAN graphs and am trying to troubleshoot them but need help interpreting this. Here's some of my cacti.log output:

Code: Select all

12/20/2007 06:50:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 06:50:03 AM - SYSTEM STATS: Time:1.1916 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 06:55:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 06:55:03 AM - SYSTEM STATS: Time:1.1708 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:00:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:00:03 AM - SYSTEM STATS: Time:1.1879 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:05:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:05:02 AM - SYSTEM STATS: Time:1.1798 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:10:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:10:02 AM - SYSTEM STATS: Time:1.1562 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:15:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:15:02 AM - SYSTEM STATS: Time:1.1718 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:20:03 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:20:04 AM - SYSTEM STATS: Time:1.1524 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:25:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:25:02 AM - SYSTEM STATS: Time:1.1781 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:30:03 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:30:04 AM - SYSTEM STATS: Time:1.1988 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:6 RRDsProcessed:6
12/20/2007 07:35:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:35:02 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:35:02 AM - SYSTEM STATS: Time:1.2073 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:7 RRDsProcessed:7
12/20/2007 07:40:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:40:02 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:40:02 AM - CMDPHP: Poller[0] Host[1] DS[10] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:40:03 AM - SYSTEM STATS: Time:1.1939 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:8
12/20/2007 07:45:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:45:02 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:45:02 AM - CMDPHP: Poller[0] Host[1] DS[10] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:45:03 AM - SYSTEM STATS: Time:1.1952 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:8
12/20/2007 07:50:04 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:50:04 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:50:04 AM - CMDPHP: Poller[0] Host[1] DS[10] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:50:05 AM - SYSTEM STATS: Time:1.1674 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:8
12/20/2007 07:55:02 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:55:02 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:55:02 AM - CMDPHP: Poller[0] Host[1] DS[10] WARNING: Result from SNMP not valid.  Partial Result:
12/20/2007 07:55:03 AM - SYSTEM STATS: Time:1.2121 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:8 RRDsProcessed:8

thanks!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Either the poller cache or your data source are your fiend. You need to perform an snmpget on the specific OID in question. You will likely have some issue either with the snmp community, timeouts, or something much more drastic.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jones
Posts: 11
Joined: Sun Feb 12, 2006 10:42 am

Post by jones »

just an update...i reinstalled cacti, this time without any plugin support and it graphs everything correctly.

Perhaps something with the plugin support was causing problems?

Anyways, it works! thanks for the help everyone.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That's very interesting.
Please do us all a favour. If running plugins again, please activate them one by one and tell us which of them breaks cacti.
Reinhard
jones
Posts: 11
Joined: Sun Feb 12, 2006 10:42 am

Post by jones »

sure, I have a backup vps on another server so i can try it with that and see what happens.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest