I'm pleased to announce the first version (probably with really much bugs) of a graphs display interface for hobbit. You can download it from http://sourceforge.net/projects/hobbit-perl-cl/
README hobbitperl-graph.pl is a series of scripts aimed at better displaying the graphs generated by hobbit. It work in conjunction with hobbit-graph.cgi to display the data saved into rrd files. With this script you can define group of graphs that will be shown as a group or you can choose one or more graph defined for a host.
hobbitperl-graph is composed by 3 scripts: hobbitperl-graph.sh is the shell that will call the perl script hobbitperl-graph.pl is the real script trends2.sh is a script that will add a "trends2" column to each host defined and visible in hobbit
This script have 2 way to be called:
- called from the upper menu
- called from the trends2 column
The script will act differently in respect to the page you're on while calling it:
- If you're on a hobbit page with hosts/pages/subpages it will let you choose the host
- If you're inside a test (or call it from the trends2 column) it will only show graphs defined for the host you're on
In the first case the page will display 3 box where you can choose: a) the host b) the graph groups (as defined in the configuration file) c) the single graphs you want to display d) what graph you want to see (hourly, daily,weekly,monthly)
For the moment you can only choose a single host to display but you can choose multiple group or multiple graphs and view the page with them.
In the second case you will not be able to choose the host but you'll only be able to check graphs defined for the host youwas checking while calling the script.
When you change host the box containing the groups will change according to what group are defined for that host. When you change group the box containing the test list will change according to what tests are defined for that group (if you select more then one group all test defined for the host will be displayed).
Francesco