Question on --extra-script argument
Hi,
Is the following argument for --extra-script correct (--extra-script=/home/hobbit/server/bin/rl.sh,/home/hobbit/server/bin/rl 2.sh)
[rrdstatus] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd --extra-script=/home/hobbit/server/bin/rl.sh,/home/hobbit/server/bin/rl2 .sh --extra-tests=printq,pages
Regards, Subhash
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Hi,
I think that you have to do one script with all values inside. This argument doesn't support more than one script. Anyway, in your script you can use :
case $TESTNAME in "printq") $PRINTQ=blabla echo "DS:var_ntp:GAUGE:600:0:100" echo "printq.rrd" echo "$PRINTQ" ;;
"pages") $PAGES=blublu echo "DS:var_pages:GAUGE:600:0:100" echo "pages.rrd" echo "$PAGES" ;;
esac
Hope, it helps ! Regards,
Thomas Seglard
"Gada, Subhash" <subhash.gada at logicacmg.com> a écrit sur 21/03/2006 13:37:36 :
Hi, Is the following argument for --extra-script correct (--extra- script=/home/hobbit/server/bin/rl.sh,/home/hobbit/server/bin/rl2.sh) [rrdstatus] ENVFILE /home/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd CMD hobbitd_channel --channel=status -- log=$BBSERVERLOGS/rrd-status.log hobbitd_rrd --rrddir=$BBVAR/rrd -- extra-script=/home/hobbit/server/bin/rl.sh, /home/hobbit/server/bin/rl2.sh --extra-tests=printq,pages Regards, Subhash
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e- mail and any attachment and all copies and inform the sender. Thank you.
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.
participants (2)
-
subhash.gada@logicacmg.com
-
thomas.seglard.enata@cnp.fr