Hi,
This is probably the most common and/or stupid question. I'm new to the cacti technology.
I intend to graph data but i also need to show string all retrieved thanks to SNMP for our custom MIBS. The strings will be the names and the versions of the software installed on the remote devices.
I read the manual, serach in the forums but found nothing if this is possible or not. I want that the strings to be seen as "output" not "input" in a snmp XML query for example.
I need your advices, suggestions.
TIA,
SilentFrame.
Can Cacti display string instead of displaying numeric data
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Mon Jan 15, 2007 11:32 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If the data is organizable as a Table, such as are Interface Statistics, you can write a Data Query to present.
Even if it's not, you could take a small performance penalty and write it as a Script Server Data Query in which you could then organize the data as a table and produce your output on the Graph using the special |query_XMLTagname| syntax from within the graphs themselves.
TheWitness
Even if it's not, you could take a small performance penalty and write it as a Script Server Data Query in which you could then organize the data as a table and produce your output on the Graph using the special |query_XMLTagname| syntax from within the graphs themselves.
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?
-
- Posts: 2
- Joined: Mon Jan 15, 2007 11:32 am
i miss to tell you something
Thanks for your help.
I've read the tutorials (btw, there are great) but they did not tell me if i can display strings in table-like form instead of a graph with numerical values. The values itself are strings not numerical values i need to display some numerical values but they are not right now my priority.
Regards,
Paolo.
I've read the tutorials (btw, there are great) but they did not tell me if i can display strings in table-like form instead of a graph with numerical values. The values itself are strings not numerical values i need to display some numerical values but they are not right now my priority.
Regards,
Paolo.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
In general, this cannot be done. Cacti is an rrdtool frontend and stores (almost) all data in rrd files. These are only capable of storing numberic data, no strings.
The only excemption to this is storing "descriptiove" information, e.g. ifDescription. These strings are stored e.g. on a per interface basis in mysql tables. But they are only refreshed when re-indexing is performed (e.g. on reboot of the target host)
Reinhard
The only excemption to this is storing "descriptiove" information, e.g. ifDescription. These strings are stored e.g. on a per interface basis in mysql tables. But they are only refreshed when re-indexing is performed (e.g. on reboot of the target host)
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest