[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] PDF reporting [news] ! third part
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] PDF reporting [news] ! third part
- From: thomas.seglard.enata (at) cnp.fr
- Date: Thu, 4 May 2006 14:46:23 +0200
Hi,
sorry for the former mail, it was not complete ! I've done a wrong
keyboard combination in Notes... So, if you want these two graphs, you
have to write a server-side script.
Here is mine :
#!/bin/sh
HOSTNAME="$1"
TESTNAME="$2"
FNAME="$3"
case "$TESTNAME"
in
"sar")
if [ -z "$SARU" ]
then
SARU=`grep -iA 10 wio $FNAME |grep -i system |awk '{print $4}'`
if [ -z "$SARU" ]
then
SARU=`grep -iA 1 wio $FNAME | awk '{print $4}' | tail -1`
if [ -z "$SARU" ]
then
SARU=`grep -iA 5 iowait $FNAME |grep -i average | awk '{print $6}'`
fi
fi
fi
if [ -z "$SARQ" ]
then
SARQ=`grep -iA 9 runq $FNAME | grep system | sed 's/,/./g' | awk '{print $2}'`
if [ -z "$SARQ" ]
then
SARQ=`grep -iA 2 runq $FNAME | grep -i average | sed
's/,/./g' | awk '{print $2}'`
if [ -z "$SARQ" ]
"Marco Avvisano" <marco.avvisano (at) regione.toscana.it> a écrit sur
04/05/2006 13:35:26 :
>
> Hi,
>
> i'm tryng to install your tool,
> some files is not included in images: logocnp.png , loadpsu106.png.
> When i launch master.sh it return a lot of errors for the host without
some
> rrd file.
> From which rrd files you make wio*png and rq*png?
>
> thanks
>
> Marco
>
>
> > Hi,
> >
> > to have the ability to use the pdf reports, you need to install
libpdf. Go
> > there and download this great library :
> >
> > http://www.fpdf.org/
> >
> > Install in a directory and edit the rapport.php to modify the path.
> >
> > Sincerly,
> > Thomas Seglard
> >
> > "Marco Avvisano" <marco.avvisano (at) regione.toscana.it> a écrit sur
> > 04/05/2006 12:00:12 :
> >
> >>
> >> Hi Thomas,
> >>
> >> where is possible download libfpdf ?
> >> thanks,
> >>
> >> Marco
> >>
> >> ----- Original Message -----
> >> From: <thomas.seglard.enata (at) cnp.fr>
> >> To: <hobbit (at) hswn.dk>
> >> Sent: Thursday, May 04, 2006 11:07 AM
> >> Subject: [hobbit] PDF reporting [news] ! third part
> >>
> >>
> >> > Hi,
> >> >
> >> > here is the third part with the php pages. I don't say it before
but
> > in
> >> > this file, you have a "glossary" which explains the different
metrics
> >> > and
> >> > graphs. You have access to this document when you click on
"Glossaire"
> >> > on
> >> > the pdf.php page. It's totally in french for now. If someone is
> > interested
> >> > by an english translation, I will see what can I do !
> >> > Regards,
> >> >
> >> > Thomas Seglard
> >> >
> >> >
> >> >
> >> > 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.
> >> >
> >> >
> >>
> >>
> >>
> >
>
--------------------------------------------------------------------------------
> >>
> >>
> >> > 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
> >>
> >>
> >
> >
> >
> > 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.
> >
> >
> > 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
>
>
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.