If I understand you, you want to update the config file.  If that is the
case, you need to modify your script to update the config file BEFORE
before mrtg calls it!

If I am incorrect, I stand to be corrected.  See?  I'm standing!


Garth

-----Original Message-----
From: Ruben Sajnovetzky [mailto:[EMAIL PROTECTED] 
How can I run external commands inside the config file like I 
Can do in shell scripts in order to get values dynamically ?

I mean something like:

         Myvalue=`/usr/local/bin/proces1 param1 param2`

And after that include $Myvalue as part of PageTop, or Title, 
Or whatever I need ?
>
Can I do that ? Or the config file has to be static ???

--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to