[mrtg] Re: STDIN ?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Aug 23 00:30:37 MEST 2001


Daniel R . Kilbourne wrote:
> 
> 
> All,
> Has anyone out there hacked mrtg/MRTG_lib.pm to allow mrtg to take config files as STDIN rather than a text file?

I didn't do so but even without my limited knowledge of perl: isn't it
just as simple as comparing $cfgfile to '-' and setting <CFG> to stdin
if so?

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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