multiple graphs on same custom script
Hello,
I have a custom script that generates several pieces of data, which are being collected perfectly in their respective RRD files. The issue I have is that the different data that is collected are drastically different in scale to each other, to the point where if I put them on the same graphs.cfg configuration, the lesser numbers on the graph stay stagnant at the bottom of the scale. With that said, is there a way to have multiple graphs for the same column on the xymon homepage? Is it as simple as having two definitions with the same heading (as shown below)?
Thank you, Sheel
[graphname] TITLE YAXIS DEF LINE1: GPRINT GPRINT GPRINT GPRINT
[graphname] TITLE YAXIS DEF LINE1: GPRINT GPRINT GPRINT GPRINT
On Wed, February 4, 2015 1:45 pm, Sheel Shah wrote:
Hello,
I have a custom script that generates several pieces of data, which are being collected perfectly in their respective RRD files. The issue I have is that the different data that is collected are drastically different in scale to each other, to the point where if I put them on the same graphs.cfg configuration, the lesser numbers on the graph stay stagnant at the bottom of the scale. With that said, is there a way to have multiple graphs for the same column on the xymon homepage? Is it as simple as having two definitions with the same heading (as shown below)?
At the moment, that doesn't seem to be something easily done using the auto TEST2RRD facilities. In the past, I've simulated this by putting the IMG (and link) to the showgraph.sh image directly into the body of the status message being submitted. This gives you a bit of control over the layout as well.
It would certainly be nice to be able to pull this in automatically. There a number of things that might make RRD processing more flexible, and this would be one of them.
Regards,
-jc
On 5 February 2015 at 08:45, Sheel Shah <Sheel.Shah at rd.com> wrote:
I have a custom script that generates several pieces of data, which are being collected perfectly in their respective RRD files. The issue I have is that the different data that is collected are drastically different in scale to each other, to the point where if I put them on the same graphs.cfg configuration, the lesser numbers on the graph stay stagnant at the bottom of the scale. With that said, is there a way to have multiple graphs for the same column on the xymon homepage? Is it as simple as having two definitions with the same heading (as shown below)?
Sheel
If you have two graph definitions with the same name, the second one overrides the first. In fact I put this to good use by re-defining some of the standard graph definitions, without having to do anything to the graphs.cfg (just an "include" line at the end).
If you have two graph definitions named (say) [graphname] and [graphname2] then you can have both of the appear on the Trends page by having TRENDS:*,graphname:graphname|graphname1,...
So what this means is, where you would normally have [graphname] shown on the Trends page, Xymon now shows [graphname] and [graphname2].
Alas this only applies to the Trends page, and not to the test status pages. But it might be sufficient for some.
J
participants (3)
-
cleaver@terabithia.org
-
jlaidman@rebel-it.com.au
-
Sheel.Shah@rd.com