[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Feature idea
- To: <hobbit (at) hswn.dk>
- Subject: Feature idea
- From: "Charles Jones -X \(charljon - Cisco Learning Institute at Cisco\)" <charljon (at) cisco.com>
- Date: Sat, 29 Jul 2006 00:59:54 -0700
- Authentication-results: sj-dkim-2.cisco.com; header.From=charljon@cisco.com; dkim=pass ( 57 extraneous bytes; sig from cisco.com verified; );
- Dkim-signature: a=rsa-sha1; q=dns; l=4161; t=1154159994; x=1155023994; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=charljon@cisco.com; z=From:=22Charles=20Jones=20-X=20\(charljon=20-=20Cisco=20Learning=20Institute= 20at=20Cisco\)=22=20<charljon@cisco.com> |Subject:Feature=20idea; X=v=3Dcisco.com=3B=20h=3Df5hpCTOAj8zUW1sTbFVNjp1hoqw=3D; b=URVMyv7NNsLnIePj8/YSdneRxeMu/mcgzp9JT7TU5aiznY90AMoho3R5SooVmCcvLcHgdUeS KT4FQ8pzWxmgxUKGW/HstCYZ0rAbATAR5+AkLXXa6U6uFqaqOKYyq7vd;
- Thread-index: Acay5Pm/dnO6Gv8LSHmmHtCAG4f+ng==
- Thread-topic: Feature idea
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