[hobbit] MRTG graphs
Christophe Truffier
ctruffier at pack-solutions.com
Fri Jun 2 15:49:06 CEST 2006
Henrik Stoerner wrote:
> On Fri, Jun 02, 2006 at 02:29:45PM +0200, Christophe Truffier wrote:
>> (...)
>>
>> I can see that rrd file as data inside, but how can I debug why
>> hobbit-cgi/bb-hostsvc.sh nor hobbit-cgi/hobbitgraph.sh generate corrects
>> graphs ?
>
> Try this on your hobbit server:
>
> REQUEST_METHOD="GET" \
> SCRIPT_NAME="hobbitgraph.sh" \
> QUERY_STRING="host=YOUR.HOST.NAME&service=mrtg&graph=hourly&action=view" \
> ~hobbit/cgi-bin/hobbitgraph.sh
I've just try:
grunt:/var/lib/hobbit/rrd/master# REQUEST_METHOD="GET"
SCRIPT_NAME="hobbitgraph.sh"
QUERY_STRING="host=master&service=mrtg&graph=hourly&action=view"
/usr/lib/hobbit/cgi-bin/hobbitgraph.sh
Segmentation fault
looking à cgierror.log (after launching the same command with strace):
2006-06-02 15:42:14 hobbitgraph xgetenv: Cannot find value for variable
REQUEST_URI
...maybe I have to give hobbitgraph.sh another data ?
--
Christophe Truffier
Pack-Solutions
More information about the Xymon
mailing list