Index OID's
Moderators: Developers, Moderators
Index OID's
I have written an xml in resources for cpu monitoring on one of my servers, there are plenty of OID's for differnet aspects of cpu utilization that I want to monitor but there is no Index oid.
Does 'cacti' rely on being able to walk an oid index to then walk all other oid's in the index order?
as my snmp query gives a success but 0 items and 0 rows
-------------------------------------------------------
Answered my own question!! You do need an oid_index.
Does 'cacti' rely on being able to walk an oid index to then walk all other oid's in the index order?
as my snmp query gives a success but 0 items and 0 rows
-------------------------------------------------------
Answered my own question!! You do need an oid_index.
Alright, sorry to resurrect an old post, but this one never got a reply and I'm vexed with the same issue - in my case, trying to graph per-port switch interface statistics where there is no ifIndex for the number of ports provided by the SNMP agent on the switch.
I read in the manual that as of Cacti 0.8.6c, one can derive the a index from a OID... but I can't find any details on how to make this happen. The manual is great about telling you that you can do things, but sparse on detail or examples. My toiling about has failed to produce anything. Running a debugged query returns 0 of 0 rows.
So, the question remains - how does one derive a index when the device's SNMP agent doesn't provide them for the things you are querying?
Any help or pointers would be GREATLY appreciated.
/dale
I read in the manual that as of Cacti 0.8.6c, one can derive the a index from a OID... but I can't find any details on how to make this happen. The manual is great about telling you that you can do things, but sparse on detail or examples. My toiling about has failed to produce anything. Running a debugged query returns 0 of 0 rows.
So, the question remains - how does one derive a index when the device's SNMP agent doesn't provide them for the things you are querying?
Any help or pointers would be GREATLY appreciated.
/dale
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please paste a walk of the entire series of the OID's within this not-indexed data query.
TheWitness
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?
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?
Thanks for the reply, TheWitnessTheWitness wrote:Please paste a walk of the entire series of the OID's within this not-indexed data query.
Let me give you some quick background - This switch is a Qlogic SANbox 5200 20-port fiber channel switch, and it uses the FIBRE-CHANNEL-FE-MIB that the fiber channel working group defined some years ago.
Given that, here are the relevant bits of a snmpwalk that I want to graph on the switch. 20 ports, so I want to make a graph for each port that shows a combo of stats for a port. I've prefaced each section with the numeric OID for clarity's sake.
I do appreciate you taking the time to check this out! I'll definitely post up the configs once they get working, as this could be used against any switch that implements the FIBER-CHANNEL-FE MIB.
Code: Select all
.1.3.6.1.2.1.75.1.1.4.1.6.1
FIBRE-CHANNEL-FE-MIB::fcFeModuleFxPortCapacity.1 = Gauge32: 20
Code: Select all
.1.3.6.1.2.1.75.1.1.5.1.2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.1 = Hex-STRING: 20 00 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.2 = Hex-STRING: 20 01 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.3 = Hex-STRING: 20 02 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.4 = Hex-STRING: 20 03 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.5 = Hex-STRING: 20 04 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.6 = Hex-STRING: 20 05 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.7 = Hex-STRING: 20 06 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.8 = Hex-STRING: 20 07 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.9 = Hex-STRING: 20 08 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.10 = Hex-STRING: 20 09 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.11 = Hex-STRING: 20 0A 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.12 = Hex-STRING: 20 0B 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.13 = Hex-STRING: 20 0C 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.14 = Hex-STRING: 20 0D 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.15 = Hex-STRING: 20 0E 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.16 = Hex-STRING: 20 0F 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.17 = Hex-STRING: 20 10 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.18 = Hex-STRING: 20 11 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.19 = Hex-STRING: 20 12 00 C0 DD 07 08 A2
FIBRE-CHANNEL-FE-MIB::fcFxPortName.1.20 = Hex-STRING: 20 13 00 C0 DD 07 08 A2
Code: Select all
.1.3.6.1.2.1.75.1.4.3.1.3
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.1 = Counter32: 3256705424
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.2 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.3 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.4 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.5 = Counter32: 3197720644
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.6 = Counter32: 1174285118
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.7 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.8 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.9 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.10 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.11 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.12 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.13 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.14 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.15 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.16 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.17 = Counter32: 68240
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.18 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.19 = Counter32: 4113575745
FIBRE-CHANNEL-FE-MIB::fcFxPortC3InOctets.1.20 = Counter32: 0
Code: Select all
.1.3.6.1.2.1.75.1.4.3.1.4
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.1 = Counter32: 2254597362
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.2 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.3 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.4 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.5 = Counter32: 2963078701
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.6 = Counter32: 112325017
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.7 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.8 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.9 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.10 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.11 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.12 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.13 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.14 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.15 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.16 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.17 = Counter32: 49370
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.18 = Counter32: 0
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.19 = Counter32: 2117378056
FIBRE-CHANNEL-FE-MIB::fcFxPortC3OutOctets.1.20 = Counter32: 0
- Attachments
-
- qlogic_sanbox.xml
- Not-so-working Data Query config for Qlogic SANbox 5200.
- (2.23 KiB) Downloaded 529 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
where is this one? .1.3.6.1.2.1.75.1.4.3.1.1
if it does not exist, then have you tried .2 for the index?
TheWitness
if it does not exist, then have you tried .2 for the index?
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?
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?
SanBox XML
After a sanity check, I retract my post... boy do I feel silly.
Last edited by palance on Sat May 14, 2005 1:08 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 2 guests