[mrtg] Re: Use of expressions in TARGET requests.

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Wed Apr 9 10:27:37 MEST 2003


An other way to achieve this is by doing the queries and maths in an
external script called from the targetline.

Jan.

-----Original Message-----
From: Peter Glanville [mailto:peter_glanville at cuk.canon.co.uk] 
Sent: Wednesday, April 09, 2003 9:50 AM
To: Brogden, Ian; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Use of expressions in TARGET requests.




>Query two variables for my graph, and perform a mathematical operation 
>on one of them (it has an offset I need to remove).

I canot think of an easy way.
The more complex way is to monitor them separately, as two targets
(maths applied to the appropriate one), and use Routers2.cgi to put both
lines on a single graph

Peter





--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. 
Aan dit bericht kunnen geen rechten worden ontleend. 

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen. 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. 
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list