SPINE 0.8.7e, WARNING: SNMP timeout detected, ISSUE

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

Moderators: Developers, Moderators

Post Reply
lankienen
Cacti User
Posts: 60
Joined: Fri Feb 06, 2009 3:15 am
Location: Dublin

SPINE 0.8.7e, WARNING: SNMP timeout detected, ISSUE

Post by lankienen »

Salut devs!

I cant find any solution in other threads about this, so i resume this spine0.8.7e issue !

Code: Select all

08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1842] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1842] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1827] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:04:11 PM - UPTIME: Poller[0] Checking Uptime
08/21/2009 02:04:11 PM - SYSTEM THOLD STATS: Time:0.0442 Tholds:11 Hosts:0
08/21/2009 02:04:08 PM - SYSTEM STATS: Time:6.7272 Method:spine Processes:1 Threads:15 Hosts:62 HostsPerProcess:62 DataSources:2906 RRDsProcessed:1027
08/21/2009 02:03:11 PM - UPTIME: Poller[0] Checking Uptime 
=C3750

Code: Select all

08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1842] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1842] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1837] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1832] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
08/21/2009 02:05:05 PM - SPINE: Poller[0] Host[21] DS[1827] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.115'
=C2980 (Catos)

Code: Select all

08/21/2009 02:16:05 PM - SPINE: Poller[0] Host[31] DS[4352] WARNING: SNMP timeout detected [500 ms], ignoring host '10.51.50.100' 
=C6513


My default settings for all hosts: 500ms t/o, 10 OIDS/request
On C37 stacks i go with: 2000ms
On C2/C3 (old stuff) i go with: 2000ms, 1 OID/request

My default spine poller settings:
*/1 * * * * root php5 /srv/www/htdocs/cacti/poller.php > /dev/null 2>&1
Poller Interval: 1min
Cron Interval: 1min
Maximum Concurrent Poller Processes: 1
Maximum Threads per Process: 15
Number of PHP Script Servers: 1
Script and Script Server Timeout Value: 25
The Maximum SNMP OID's Per SNMP Get Request: 10

My machine:
Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - Cactid v
Server Info - Linux 2.6.16.60-0.21-smp
Web Server - Apache/2.2.3 (Linux/SUSE)
PHP - 5.2.5
PHP Extensions - libxml, xml, session, pcre, SimpleXML, SPL, standard, Reflection, filter, date, apache2handler, bcmath, bz2, calendar, ctype, curl, dba, dbase, dom, exif, ftp, gd, gettext, gmp, iconv, imap, json, ldap, mbstring, mcrypt, mhash, mysql, mysqli, ncurses, odbc, openssl, pcntl, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, shmop, snmp, soap, sockets, SQLite, suhosin, sysvmsg, sysvsem, sysvshm, timezonedb, tokenizer, wddx, xmlreader, xmlrpc, xsl, zlib
MySQL - 5.0.26-Max
RRDTool - 1.2.27
SNMP - 5.3.0.1
Plugins
  • Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.4.1)
    Device Monitoring (monitor - v0.8.2)
    Network Discovery (discovery - v0.8.4)
    Host Info (hostinfo - v0.2)
    Change password (passwd - v0.1)
    Network Tools (tools - v0.3)
    Read-only Devices Tab (devices - v0.4)
    weathermap
    SuperLinks (superlinks - v0.8)
    SSL Redirector (ssl - v0.1)
    Uptime (uptime - v0.3)
    System Title Changer (titlechanger - v0.1)
Alot of buddys have the same issues, please take some time to analyse and check the values. I dont like wrong snmp timeout alerts from my devices!
Thanks!

Thanks, in advance
lankienen
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

1) Increase snmp timeout for host

OR

2) Reduce the number of MAX OID's for the host.

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?
luckenbach
Posts: 31
Joined: Thu May 07, 2009 9:21 am

Post by luckenbach »

russell.seymour
Posts: 7
Joined: Mon Apr 21, 2008 8:22 am

Post by russell.seymour »

Hello all,

I am having similar issues with SNMP timeouts detected and it means that I am not getting any charts being created / updated.

I have a small amount of machines in my Cacti at the moment, but this will grow quickly once I get all my issues sorted.

My Cacti installation:
Cacti Version - 0.8.7e
Plugin Architecture - 2.5
Poller Type - Cactid v
Server Info - Linux 2.6.27-14-server
Web Server - Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch
PHP - 5.2.6-2ubuntu4.3
PHP Extensions - zip, xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, gd, mysql, mysqli, PDO, pdo_mysql, snmp, xsl
MySQL - 5.0.67-0ubuntu6
RRDTool - 1.2.27
SNMP - 5.4.1
Plugins
  • Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.4.1)
    Update Checker (update - v0.4)
    PHP Network Managing (PHP Network Managing - v0.6.1)
    Create Aggregate Graphs (aggregate - v0.70 Beta 1)
    PHP Network Weathermap (weathermap - v0.95b)
    Host Info (hostinfo - v0.2)
I have at least one host that always comes back with the error:

WARNING: SNMP timeout detected [5000 ms], ignoring host 'host.example.com'

I know that this is the same error that has been mentioned in this post before, but I have not been able to fix the problem. The things I have done to attempt to fix this are:

- Reduced the number of OIDs to be fetched from the host to 0
- Increased the timeout of SNMP to 5 seconds
- Run spine against the host in debug mode - this works when just using the one host id but for all hosts I get the above error
- Played about with the settings for my Spine poller to no avail, e.g. the number of threads etc
- I tried an older version of Spine but I got the same error. I am currently using Spine 0.8.7e

I have tested an snmpwalk from the command line of the Cacti server and details do come back. Strangely not all charts are effected, I do get a response for Diskspace and TCP Connection Status but noithing for the others so I know that SNMP is working to some extent.

It also appears that the system does not even wait for 5 seconds, it seems to just immediately decide there is a timeout issue and then skip all the tests.

Thanks for any help in advance, Russell
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests