[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] [SEGFAULT] Re: [hobbit] graphs with external script
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] [SEGFAULT] Re: [hobbit] graphs with external script
- From: mario andre <rower.master (at) gmail.com>
- Date: Fri, 23 Sep 2005 15:20:55 -0300
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=VUQyAqznZOB3Obgonl9PM3Zj1t8+U8sYdTKosYC3RJzmH6WGAOAeE/MbXNuUh8h57eCNHtrmJvqPO36o9Tj1P9tVOwqe0wGsZ1afNf1vxGNUShx2CrCLdDtIrVmEZ0pVm5nYz3kRR76ju3+ibM83uLIlX5CGrrpG7rMcce3WzvE=
- References: <1122283729.2488.86.camel@localhost> <1125069914.430f345abcd7c@www.qalpit.com> <430F3BFD.3010209@cvf.fr> <1125074130.430f44d24efc2@www.qalpit.com> <430F5655.3000401@cvf.fr> <1125308259.20043.15.camel@localhost.localdomain> <4318C0F2.4040101@cvf.fr> <1125998888.31317.24.camel@localhost.localdomain> <1126001260.31317.57.camel@localhost.localdomain> <dgrou7$4m0$1@voodoo.hswn.dk>
Henrik,
I'm already generating a graph for my ext clientside script in the trends
column, but I would like to show the first graph(last 48 hours) in the
service column page.
I've put this line into the ext script
GRAP="<A HREF=/hobbit-cgi/hobbitgraph.sh
host=express&service=synclog&disp=express&action=menu><IMG BORDER=0
SRC=/hobbit-cgi/hobbitgraph.sh?host=express&service=synclog&disp=express&graph=hourly&action=view
></a>"
and
$BB $BBDISP "status $MACHINE.$TEST $COLOR `$DATE` - $STATUS - $STATUS1 $L2
$GRAP"
This show the graph but starts some erros of DS in the larrd-status.log
Any hint or a easy and clean way?
Thanks in advance my friend,
Mario.
On 9/21/05, Henrik Storner <henrik (at) hswn.dk> wrote:
>
> In <1126001260.31317.57.camel (at) localhost.localdomain> Etienne Roulland <
> Etienne.Roulland (at) cvf.fr> writes:
>
> >QUERY_STRING="host=
> sms-sql02b.sms33.cvf&service=mysql&graph_width=576&graph_height=120&first=1&count=1&disp=sms%2dsql02b%2esms33%2ecvf&graph=hourly&action=view"
> ./hobbitgraph.sh
> >Segmentation fault
>
> When testing CGI scripts such as hobbitgraph.cgi, you must
> provide all of the environment variables that the webserver
> normally sets up for you.
>
> Specifically, hobbitgraph expects the REQUEST_URI environment
> variable to be set. So:
>
> QUERY_STRING="host=...."
> export QUERY_STRING
> REQUEST_URI="http://localhost/cgi-bin/hobbitgraph.sh?${QUERY_STRING}"
> export REQUEST_URI
> ./hobbitgraph.sh
>
>
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>