Return Numerical instead of symbolic

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

Moderators: Developers, Moderators

Post Reply
nas061000
Posts: 6
Joined: Tue Feb 19, 2008 1:38 pm

Return Numerical instead of symbolic

Post by nas061000 »

Is there any way? When I try the SNMP OID of
.1.3.6.1.2.1.25.3.6.1.2.1537

I get back hardDisk(3) but I just want the 3. I know that in snmp if you specify a -Oe it'l return just the numerical value, how can I apply this to cacti.
nas061000
Posts: 6
Joined: Tue Feb 19, 2008 1:38 pm

Post by nas061000 »

I figured it out. The easiest way is to configure the snmp.conf to force it to show as a number instead of as text.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There's a chapter at the first link of my sig that describes this (thanks to Frederic Mangeant)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest