Hi guys,
I have this OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.4 (from CISCO-ENTITY-SENSOR-MIB), the result of the snmpwalk is a series of values that do not interest me, only some I need.
How could I do?? I need a regex or is there another way?
And then I would need to align those values with other indexes, is it possible?
Thank you in advance!
Snuz
Problem with an OID
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Problem with an OID
Read up on how to write a data query. This is the best thing to do. The Cacti doco is pretty good.
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?
Re: Problem with an OID
The problem is another, because I would like to take the example of monitorable interfaces and next to each interface put the output value of the optical rx with OID 1.3.6.1.4.1.9.9.91.1.1.1.1.4 (from CISCO-ENTITY-SENSOR-MIB). But the indexes are different, so I don't know how to do
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Problem with an OID
You would NOT extend the interfaces Data Query, but rather write a new Data Query for measurements under that OID tree. So, to do this you have to become familiar with the OID Tree structure, and how to express that as a Data Query. The Cacti documentation has some examples. You will simply have to work through them and then through trial and error, become an expert.
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?
Re: Problem with an OID
Ok I did it but now the title of the graph is not complete (maybe the name is too long ??) I attach some images for allow you to understand.
In this image you could see that the title is not complete:
How could I do for display the full name of the graph?? I absolutely need it to recognize the graphed port
In this image you could see that the title is not complete:
How could I do for display the full name of the graph?? I absolutely need it to recognize the graphed port
Last edited by snuz on Wed Oct 21, 2020 10:25 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Problem with an OID
Console > Configuration > Settings > Visual > Max Title Length.
You may have to "Re-apply Suggested Names" from the Graph Dropdown. Maybe not.
You may have to "Re-apply Suggested Names" from the Graph Dropdown. Maybe not.
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?
Re: Problem with an OID
I don't know why but it still doesn't work... I also tried to reapply suggested names
Who is online
Users browsing this forum: No registered users and 2 guests