Custom test- stats graphs and verbose text displayed on one page?
I'm writing a custom test, call it "ABC", with a fair amount of verbose output. The test works fine. When I send just the colon-separated statistics to a separate test page, call it ABC_stats, the ABC_stats RRD graphs work fine.
But I'm wondering, is there a way to get the ABC_stats graphs onto the ABC output page? I tried sending it all together but RRDtool choked on the unexpected data.
Sample ABC output:
Total : 460599 Success : 450123 Failed : 10472
Files examined /data/foo/bar/yadda.20120725.log /data/foo/bar/yadda.20120726.log
Errors: /data/foo/bar/yadda.20120725.log had value XYZ outside the expected range /data/foo/bar/yadda.20120725.log had value ABC with incomplete data
Try adding to TEST2RRD like so:
TEST2RRD=....,ABC=ABC_stats,...
On Thu, Jul 26, 2012 at 4:02 AM, Betsy Schwartz <betsy.schwartz at gmail.com>wrote:
I'm writing a custom test, call it "ABC", with a fair amount of verbose output. The test works fine. When I send just the colon-separated statistics to a separate test page, call it ABC_stats, the ABC_stats RRD graphs work fine.
But I'm wondering, is there a way to get the ABC_stats graphs onto the ABC output page? I tried sending it all together but RRDtool choked on the unexpected data.
Sample ABC output:
Total : 460599 Success : 450123 Failed : 10472
Files examined /data/foo/bar/yadda.20120725.log /data/foo/bar/yadda.20120726.log
Errors: /data/foo/bar/yadda.20120725.log had value XYZ outside the expected range /data/foo/bar/yadda.20120725.log had value ABC with incomplete data
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thank you both!!
"*:NONE" was the right magic to keep RRD from choking on the non-NCV input
Now my second question is - can I get a second graph?
I've got data coming in that looks like this:
Total : 460599 Success : 450123 TotalFailed : 10000 TempFailed: 8000 FooFailed: 1000 BarFailed: 300 OtherFail: 800
Since Failed is an order of magnitude smaller than succeeded (good for business!) the failed line is just a blur at the bottom of the graph. It would be nice to have a second graph that just plotted types of failure against total failure. Can I do this? I wrote another section in graphs.cfg called ABCerror but I'm not having much luck getting it to show up anywhere . I added it to the GRAPHS section of xymonserver.cfg hoping it would show up under "trends" but no joy.
On Fri, Jul 27, 2012 at 3:18 AM, Betsy Schwartz <betsy.schwartz at gmail.com>wrote:
Thank you both!!
Most welcome!
Now my second question is - can I get a second graph?
In hosts.cfg, append "TRENDS:*,ABC:ABC_stats,ABCerror" to the host you are monitoring. This should show both graphs on the trends page.
J
Hi Betsy,
What you want is a 2nd axis on the same graph. Or it least that should do. Search the mailing list for rrd 2nd axis or something. I had a discussion there recently. Or if you don't care about the WHY, just add something like this to your graphs.cfg entry:
--right-axis
0.1:0
--right-axis-label
MyLabel
Kind regards,
SebA
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Betsy Schwartz Sent: 26 July 2012 18:19 To: xymon at xymon.com Subject: Re: [Xymon] Custom test- stats graphs and verbose text displayed onone page?
Thank you both!!
"*:NONE" was the right magic to keep RRD from choking on the non-NCV input
Now my second question is - can I get a second graph?
I've got data coming in that looks like this:
Total : 460599 Success : 450123 TotalFailed : 10000 TempFailed: 8000 FooFailed: 1000 BarFailed: 300 OtherFail: 800
Since Failed is an order of magnitude smaller than succeeded (good for business!) the failed line is just a blur at the bottom of the graph. It would be nice to have a second graph that just plotted types of failure against total failure. Can I do this? I wrote another section in graphs.cfg called ABCerror but I'm not having much luck getting it to show up anywhere . I added it to the GRAPHS section of xymonserver.cfg hoping it would show up under "trends" but no joy.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
betsy.schwartz@gmail.com
-
jlaidman@rebel-it.com.au
-
spah@syntec.co.uk