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
Hello,
I got several hp-ux servers 11.11 running Hobbit without any problems... but one of them is different. I can't even compile client on it. Why am I compiling client on it instead of copying it from another box ? Because the memory test is not working if I do that, don't understand why... I find on the archive a post with the same error and try this workaround ( add #define HAVE_SOCKLEN_T 1 and remove any line with HAVE_SOCKLEN_T) but with no luck. If someone could help :) Sincerly,
Thomas
Here is the output :
pss055:/opt/hobbit/hobbit-4.2.0 # gmake
CC="gcc" CFLAGS="-g -O -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHPUX -I. -Ipwd/include -DCLIENTONLY=1"
LDFLAGS="" OSDEF="-DHPUX" RPATHOPT="" PCREINCDIR="" SSLFLAGS=""
SSLINCDIR="" SSLLIBS="" NETLIBS="-lnsl" BBTOPDIR="/opt/hobbit" BBLOGDIR=""
BBHOSTNAME="" BBHOSTIP="158.157.156.91" BBHOSTOS="" LOCALCLIENT="no" gmake
-C lib client
gmake[1]: Entering directory /opt/hobbit/hobbit-4.2.0/lib' gcc -g -O -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I/opt/hobbit/hobbit-4.2.0/include -DCLIENTONLY=1 -I. -I../include -c -o cgiurls.o cgiurls.c In file included from /opt/hobbit/hobbit-4.2.0/lib/ipaccess.h:15, from /opt/hobbit/hobbit-4.2.0/include/libbbgen.h:58, from cgiurls.c:24: /usr/include/sys/socket.h:484: error: parse error before "sendfile" /usr/include/sys/socket.h:484: error: parse error before "bsize_t" /usr/include/sys/socket.h:486: error: parse error before "sendpath" /usr/include/sys/socket.h:486: error: parse error before "bsize_t" /usr/include/sys/socket.h:501: error: parse error before "__sendfile64" /usr/include/sys/socket.h:501: error: parse error before "bsize_t" /usr/include/sys/socket.h:502: error: parse error before "__sendpath64" /usr/include/sys/socket.h:502: error: parse error before "bsize_t" /usr/include/sys/socket.h:504: error: parse error before "sendfile" /usr/include/sys/socket.h: In function sendfile':
/usr/include/sys/socket.h:504: error: parse error before "bsize_t"
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:505: error: parse error before "sendpath"
/usr/include/sys/socket.h: In function sendpath': /usr/include/sys/socket.h:505: error: parse error before "bsize_t" gmake[1]: *** [cgiurls.o] Error 1 gmake[1]: Leaving directory /opt/hobbit/hobbit-4.2.0/lib'
gmake: *** [lib-client] Error 2
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite au titre de ce message, s'il a ete altere, deforme ou falsifie.
This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
participants (2)
-
fduranti@q8.it
-
thomas.seglard.enata@cnp.fr