R: hobbit-confreport.cgi syntax
Francesco Duranti
fduranti at q8.it
Mon Sep 26 13:32:33 CEST 2005
A correction to this: with pageset the config report script will not work I think. It work for the page I've also in the main bb files but if I have a page in the pageset not present in the main BB file it will not work.
The output of config report in this case is a web page with:
Unable to find host information
Francesco
-----Messaggio originale-----
Da: Francesco Duranti [mailto:fduranti at q8.it]
Inviato: lunedì 26 settembre 2005 11.58
A: hobbit at hswn.dk
Oggetto: [hobbit] R: [hobbit] hobbit-confreport.cgi syntax
If i use the config report from a page inside a pageset it work well but if i use it from the first page of a pagesets it will report all the configured object and not only those in the pageset.
Francesco
-----Messaggio originale-----
Da: Henrik Stoerner [mailto:henrik at hswn.dk]
Inviato: mercoledì 21 settembre 2005 17.12
A: hobbit at hswn.dk
Oggetto: Re: [hobbit] hobbit-confreport.cgi syntax
On Wed, Sep 21, 2005 at 04:25:53PM +0200, Thomas wrote:
> What's the syntax for hobbit-confreport.cgi ?
It's invoked as a CGI script. I noticed now that the normal ".sh" wrapper script wasn't included in 4.1.1 - fixed that.
A simple script like this in cgi-bin/hobbit-confreport.sh:
#!/bin/sh
exec /usr/lib/hobbit/server/bin/hobbit-confreport.cgi --env=/etc/hobbit/hobbitserver.cfg
And then you should be able to run it by picking it from the "Reports"
menu.
It uses a cookie to determine what pages/hosts to include in the report.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
More information about the Xymon
mailing list