Feature idea
Charles Jones -X (charljon - Cisco Learning Institute at Cisco)
charljon at cisco.com
Sat Jul 29 09:59:54 CEST 2006
It seems that a lot of people (including me) have a need to create custom graphs that require building an ext script for even the simplest guage type graphs. I'm about to go through the NCV docs and attempt to create a guage-type graph to track tomcat garbage collection times.
What would be cool is if hobbit had a way of handling simple tasks like this, defined on the server side in client-local.cfg, similar to the LOG option.
Here is an example of a tomcat garbage collection log:
$ tail -5 gc.log
15424.931: [Full GC 48511K->48216K(1022400K), 0.4856710 secs]
15485.431: [Full GC 48540K->48217K(1022400K), 0.4745360 secs]
15545.927: [Full GC 48513K->48218K(1022400K), 0.4845780 secs]
15606.449: [Full GC 48513K->48215K(1022400K), 0.5136750 secs]
15667.010: [Full GC 48511K->48216K(1022400K), 0.5008330 secs]
It would be so cool if you could make a definition in client-local.cfg similar to:
"graph:filename:PATTERN:x-axis_name:y-axis_name"
So an example usage of this would be:
graph:/var/log/tomcat/gc.log:"%.+%d.%d secs":"Garbage Collection":seconds
Just an idea for the drawing board :) Hmm this would also solve my problem of ext scripts having unique names in a shared directory :)
-Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060729/8783fa45/attachment.html>
More information about the Xymon
mailing list