Xymon Mailing List Archive search

PDF reporting [news] ! third part

10 messages in this thread

list Thomas Seglard · Thu, 4 May 2006 11:07:24 +0200 ·
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.
Attachments (1)
list Marco Avvisano · Thu, 4 May 2006 12:00:12 +0200 ·
Hi Thomas,

where is possible download libfpdf ?
thanks,

Marco
quoted from Thomas Seglard

----- Original Message ----- 
From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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.

list Thomas Seglard · Thu, 4 May 2006 12:37:43 +0200 ·
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" <user-e09c0f3f8c70@xymon.invalid> a écrit sur 04/05/2006 12:00:12 :
quoted from Marco Avvisano
Hi Thomas,

where is possible download libfpdf ?
thanks,

Marco

----- Original Message ----- From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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.

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.
list Marco Avvisano · Thu, 4 May 2006 13:35:26 +0200 ·
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
quoted from Thomas Seglard

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" <user-e09c0f3f8c70@xymon.invalid> a écrit sur
04/05/2006 12:00:12 :
Hi Thomas,

where is possible download libfpdf ?
thanks,

Marco

----- Original Message ----- From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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.

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.

list Thomas Seglard · Thu, 4 May 2006 14:43:38 +0200 ·
Hi,

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" <user-e09c0f3f8c70@xymon.invalid> a écrit sur 04/05/2006 13:35:26 :
quoted from Marco Avvisano
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" <user-e09c0f3f8c70@xymon.invalid> a écrit sur
04/05/2006 12:00:12 :
Hi Thomas,

where is possible download libfpdf ?
thanks,

Marco

----- Original Message ----- >> From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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.

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.

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.
list Thomas Seglard · 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 :
quoted from Thomas Seglard

#!/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" <user-e09c0f3f8c70@xymon.invalid> 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" <user-e09c0f3f8c70@xymon.invalid> a écrit sur
04/05/2006 12:00:12 :
Hi Thomas,

where is possible download libfpdf ?
thanks,

Marco

----- Original Message ----- >> From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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.

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.

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.
list Juan Guzman · Thu, 04 May 2006 08:51:44 -0400 ·
Whenever I disable a host and give it a duration it and click on preview, it always say that it's being disabled until OK.  And when I want to enable a host, the disabled host does not show up as disabled.  Am i doing something wrong?  I'm running 4.2-alfa 2060404.

thanks
list Thomas Seglard · Thu, 4 May 2006 14:57:13 +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 and use a client test (tested on aix, hpux, linux, sunos). On your hobbit server, you have to add :

--extra-script=/Soft/HOBBIT-4.1.2p1/server/ext/extragrph.sh --extra-tests=sar

 into hobbitlaunch.cfg at [rrdstatus] and [rrddata] sections. 
Here is my server-side script called extragrph.sh:
quoted from Thomas Seglard

#!/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" ]
               then

                        SARQ=`grep -iA 1 runq $FNAME | sed 's/,/./g' | awk '{print $2}' | tail -1`
                        fi
                fi
        fi

        echo "DS:sar_wio:GAUGE:600:0:100"
        echo "DS:sar_rq:GAUGE:600:0:100"
         echo "sar.rrd"
        echo "$SARU:$SARQ"
        ;;

esac
exit 0

Regards,
quoted from Thomas Seglard
Thomas Seglard


"Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid> 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

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.
Attachments (1)
list Marco Avvisano · Sat, 20 May 2006 11:36:39 +0200 ·
Hi,

Do you use bb-sar script from deadcat?
quoted from Thomas Seglard

Marco

----- Original Message ----- 
From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Thursday, May 04, 2006 2:57 PM
Subject: Re: [hobbit] PDF reporting. Howto graph wio and rq


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 and use a client test (tested on aix,
hpux, linux, sunos). On your hobbit server, you have to add :

--extra-script=/Soft/HOBBIT-4.1.2p1/server/ext/extragrph.sh
--extra-tests=sar

 into hobbitlaunch.cfg at [rrdstatus] and [rrddata] sections.

Here is my server-side script called extragrph.sh:

#!/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" ]
               then
                        SARQ=`grep -iA 1 runq $FNAME | sed 's/,/./g' | awk
'{print $2}' | tail -1`
                        fi
                fi
        fi

        echo "DS:sar_wio:GAUGE:600:0:100"
        echo "DS:sar_rq:GAUGE:600:0:100"

        echo "sar.rrd"
        echo "$SARU:$SARQ"
        ;;

esac
exit 0

Regards,
Thomas Seglard


"Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid> 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

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.

list Thomas Seglard · Mon, 22 May 2006 10:43:43 +0200 ·
Hello Marco,

absolutely ! I even don't modify it as it works on a large range of OS.
Sincerly,

Thomas

"Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid> a écrit sur 20/05/2006 11:36:39 :
quoted from Marco Avvisano
Hi,

Do you use bb-sar script from deadcat?

Marco

----- Original Message ----- From: <user-bb3e9041f07f@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Thursday, May 04, 2006 2:57 PM
Subject: Re: [hobbit] PDF reporting. Howto graph wio and rq


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 and use a client test (tested on aix,
hpux, linux, sunos). On your hobbit server, you have to add :

--extra-script=/Soft/HOBBIT-4.1.2p1/server/ext/extragrph.sh
--extra-tests=sar

 into hobbitlaunch.cfg at [rrdstatus] and [rrddata] sections.

Here is my server-side script called extragrph.sh:

#!/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" ]
               then
                        SARQ=`grep -iA 1 runq $FNAME | sed 's/,/./g' | awk
'{print $2}' | tail -1`
                        fi
                fi
        fi

        echo "DS:sar_wio:GAUGE:600:0:100"
        echo "DS:sar_rq:GAUGE:600:0:100"

        echo "sar.rrd"
        echo "$SARU:$SARQ"
        ;;

esac
exit 0

Regards,
Thomas Seglard


"Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid> 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

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.

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.