|query_ifSpeed| returns the wrong value

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

Moderators: Developers, Moderators

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

Post by TheWitness »

Disorganizer,

This topic is way confusing now. The original issue with some vendors reporting in snmp ifSpeed incorrectly seems possible if you adapter is somehow having difficulties keeping a 1000BT connection and reverting to 100Tx instead. That would cause the values to keep changing, but only if there is also a re-index event (reboot, etc.).

I would force the adapter to 1000BT and see if it stablizes. Otherwise, the tool is doing what it is supposed to. Therefore, my confusion.

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?
disorganizer
Cacti User
Posts: 68
Joined: Thu Aug 04, 2005 8:34 am

Post by disorganizer »

@thewitness:
the adapters are fixed gbit (gbic adapters on cisco switches) and ifspeed is reporting correctly as gprint value.
nevertheless, the rrd_maximum=ifspeed does not work in the presets when creating a data source. same also is happening for 10mbit fixed ports (they are set to 100000000).
so i believe either ifspeed is not evaluated by cacti during datasource creation at all (as it always uses the default value) or something else is "broken". i hope the syntax is use as preset ("rra_maximum as field, |query_ifSpeed| as content") is correct (i know i need a /8, but i left the defaults for now).


EDIT:
i see my problem was already reported as bug id 0000534, but noone is assigned yet. so hopefully this is just a small bug and will be fixed fast *g*
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest