[mrtg] Accessing Shell Variables in Template

Thomas.Rupp at illwerke.at Thomas.Rupp at illwerke.at
Wed Mar 17 20:46:53 MET 2004


Hi MRTG-gurus,

I try to create different config files using --host-template 
depending on the number of CPUs a server has.

I have the following shell script

CPU = 4
cfgmaker --host-template=...

What do I have to do to access the Variable CPU in the template?

I know absolutely nothing about Perl so would be very grateful for
any help

Thanks in advance
Thomas Rupp 

--
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