To All,
I've been going crazy trying to figure out if there is a way to do this. Basically, here's the deal:
I have a Script/Command that generates several output fields. The problem is the number of output fields can increase over time. And of course, I'd like to graph each of the output fields on the same graph as the others as they come up. Essentially, each output field is a value associated with a particular device. And the number of devices can increase over time. So I'd love for my graph to 'automatically' start graphing data for the new device when it shows up in the output of my Script/Command.
Is there a way of doing this (via the command line or otherwise?)
Any help would be appreciated.
Thanks
dynamically adding output fields to a graph
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Tue Feb 21, 2012 1:58 pm
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: dynamically adding output fields to a graph
That's not easy!
You should apply a new graph to each host (it's possible to automate that using AUTOM8). Then, you may want to AGGREGATE (yes, a second plugin) those graphs. But unfortunately, this will not catch new devices automatically.
To be honest, I did not try the latest feature of AGGEGATE, the aggregate templates. Those may help in your case ...
R.
You should apply a new graph to each host (it's possible to automate that using AUTOM8). Then, you may want to AGGREGATE (yes, a second plugin) those graphs. But unfortunately, this will not catch new devices automatically.
To be honest, I did not try the latest feature of AGGEGATE, the aggregate templates. Those may help in your case ...
R.
-
- Posts: 7
- Joined: Tue Feb 21, 2012 1:58 pm
Re: dynamically adding output fields to a graph
Just so we're clear, what I'm trying to do is create one graph that has multiple output fields, and dynamically add more output fields over time, if required. the number of hosts I have will not increase, the number of sources of data that I have, will.
Is it possible? Or do I still need to use the plugins you mentioned?
Is it possible? Or do I still need to use the plugins you mentioned?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: dynamically adding output fields to a graph
Then, AUTOM8 is not a must. The AGGREGATE related part still is validskippy39us wrote:the number of hosts I have will not increase, the number of sources of data that I have, will.
R.
-
- Posts: 7
- Joined: Tue Feb 21, 2012 1:58 pm
Re: dynamically adding output fields to a graph
Please forgive me if there's a part of this I don't understand.
Suppose a data query (which does an SNMP query) gets a new set of results. (Like, the last time it ran, it got the results for 4 items. Now it gets the results for 5 items.
Can I reindex the data query (is that correct?) and then start graphing that new data?
Suppose a data query (which does an SNMP query) gets a new set of results. (Like, the last time it ran, it got the results for 4 items. Now it gets the results for 5 items.
Can I reindex the data query (is that correct?) and then start graphing that new data?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: dynamically adding output fields to a graph
Using reindex method "Index Count Changed" will trigger the reindex in case new items show up. And AUTOM8 would be triggered then to e.g. create a new graph for that very index.skippy39us wrote:Please forgive me if there's a part of this I don't understand.
Suppose a data query (which does an SNMP query) gets a new set of results. (Like, the last time it ran, it got the results for 4 items. Now it gets the results for 5 items.
Can I reindex the data query (is that correct?) and then start graphing that new data?
R.
Who is online
Users browsing this forum: No registered users and 1 guest