[mrtg] reading content of file

Steve Shipway s.shipway at auckland.ac.nz
Wed Feb 18 22:10:06 CET 2009


> sorry for one more question.
> I m working on a Win XP system.
> Now I ve files with the following content
> 
> 11567
> 75435
> 
> How could I import these values into mrtg?
> The script that is writing the files can not be called by mrtg (running
> too long) and I ve no chance to install other tools.
> Is there  a direkt target-option to import a file?

Just write another script that outputs the contents of this file, followed
by two blank lines, and exits with zero status.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3133 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090219/1ecce254/attachment.bin 


More information about the mrtg mailing list