Dlink DGS-3024 / cacti graphs look terriable

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

Moderators: Developers, Moderators

Post Reply
locutus233
Posts: 14
Joined: Tue Mar 17, 2009 2:49 pm

Dlink DGS-3024 / cacti graphs look terriable

Post by locutus233 »

Does anyone have any of these device on there network and are they having any problems monitoring these devices?

I have several of these switches in my network and i have tried almost everything i can think of with cacti and i find that 50% or more of the time these devices don't respond properly to snmp requests and the result being is the graphs look terrible in cacti.

I have attached a sample graph to give you an idea of what the interface graphs look like. I don't have any other switches that have this problem in cacti nor do i have any issues with any of my other cacti graphs except when my poller runs longer then 298 seconds.

I used the CactiEZ CD to build my install but I ended up updating the cacti it installed to a newer version.

Here is my Cacti setup info::
Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - Cactid v
Server Info - Linux 2.6.9-78.0.13.plus.c4smp
Web Server - Apache/2.0.63 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, gd, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, eAccelerator
MySQL - 5.0.68
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
  • Update Checker (update - v0.4)
    Network Tools (tools - v0.3)
    Device Tracking (mactrack - v1.1)
    Host Info (hostinfo - v0.2)
    Device Monitoring (monitor - v0.8.2)
    Realtime for Cacti (realtime - v0.32)
    FlowView (flowview - v0.5.2)
    NTop Viewer (ntop - v0.1)
    SSL Redirector (ssl - v0.1)
    Syslog Monitoring (syslog - v0.5.2)
    routeconfigs
    Login Page Mod (loginmod - v1.0)
    Global Plugin Settings (settings - v0.5)
Attachments
blochygraph.JPG
blochygraph.JPG (34.09 KiB) Viewed 5059 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Cacti log on low please... Is this on a VM?

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?
dankingdon
Posts: 24
Joined: Wed Jan 07, 2009 3:00 am
Location: Bristol, UK

Post by dankingdon »

Have you tried just manual SNMP requests to the switch in question? Just to check that its responding reliably to requests? We have a dodgy UPS here that for some unknown reason only responds to 1 of 3 SNMP requests. This produces a very similer graph to what you have.
locutus233
Posts: 14
Joined: Tue Mar 17, 2009 2:49 pm

Post by locutus233 »

No VM involved, I wish my cacti could run as a vm but i had to migrate to a dedicated server almost 2 years ago because of the number of data sources we were pulling. I also had to migrate recently to a more powerfull dedicated server in the last month.

Using both Boost and Spine still have poll times in the 80 second range had to change the data collection to 300seconds from the default in CactiEZ of 60 seconds.

Logs for one of my devices looks like this :

Code: Select all

03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3558] Graphs['QF-SW1 - Traffic - 5'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3557] Graphs['QF-SW1 - Traffic - 4'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3556] Graphs['QF-SW1 - Traffic - 3'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3556] Graphs['QF-SW1 - Traffic - 3'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3555] Graphs['QF-SW1 - Traffic - 2'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3555] Graphs['QF-SW1 - Traffic - 2'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3554] Graphs['QF-SW1 - Traffic - 1'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3554] Graphs['QF-SW1 - Traffic - 1'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3562] Graphs['QF-SW1 - Traffic - 9'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11'
03/22/2009 10:00:05 PM - SPINE: Poller[0] Host[204] Description[QF-SW1] DS[3561] Graphs['QF-SW1 - Traffic - 8'] WARNING: SNMP timeout detected [300 ms], ignoring host '172.16.40.11' 

If i do a manual snmpwalk of the device i seam to get reliable responses to the inital part of the request. Even if i do it 3 or 4 times it responds reliably to the request. I notice with snmpwalk though it gets stuck at a certain point.
Last edited by locutus233 on Mon Mar 23, 2009 12:15 am, edited 2 times in total.
locutus233
Posts: 14
Joined: Tue Mar 17, 2009 2:49 pm

Post by locutus233 »

BTW i can post more of my cacti log if you want. Just wanted to put the things that are related to the problem in the post. I have other issues that are unrelated to my switch problems.

Also i have other dlink switches that are a different model type that don't have this problem.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The target timeout of 300 ms seems to be too low
Reinhard
dankingdon
Posts: 24
Joined: Wed Jan 07, 2009 3:00 am
Location: Bristol, UK

Post by dankingdon »

^^ agreed.

Mine is set to 500ms at the mo. Its found under the main settings page.

I've upped mine some more to see if it helps the few hosts I had that were not responding.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

dankingdon wrote:Mine is set to 500ms at the mo. Its found under the main settings page.
No, it's set for each host seperately. The one you are referring to is the default for new hosts only
Reinhard
dankingdon
Posts: 24
Joined: Wed Jan 07, 2009 3:00 am
Location: Bristol, UK

Post by dankingdon »

Ah of course, must be the monday blues getting in my head.
locutus233
Posts: 14
Joined: Tue Mar 17, 2009 2:49 pm

Post by locutus233 »

Setting the value to 500ms doesn't seam to make any difference.

I have also tried setting the number of oids per request from 1-200 and various values in between. I presently have it set to 10, but it doesn't seam to make any difference. I have also tried setting the version of snmp on 1 and 2 and it doesn't make any difference.
dankingdon
Posts: 24
Joined: Wed Jan 07, 2009 3:00 am
Location: Bristol, UK

Post by dankingdon »

Have you tried manually editing the snmp timeout value for the device in question? The one that we mentioned will not change anything as it only applies when you create new devices.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I'm trying to push a 0.8.7d-pre of Spine that corrects an SNMPv3 issue. Also, please note that when using some agents, the MAX OID's must be set to as little as 1 in order for the SNMP to work.

I will put in the announcements forum.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests