[mrtg] Set Target in Windows MRTG

Steve Shipway s.shipway at auckland.ac.nz
Sat Jul 25 03:07:14 CEST 2009


In windows you do it exactly the same.  Of course, the paths to the script will be given in Windows notiation, and if you have already assosciated the .pl extension with the Perl interpreter then you dont need to give the pat hto perl.  So...

Target[SOC]: `C:\mrtg\bin\SOC.pl`

may well be sufficient in this case, provided this is the place you install the SOC.pl script...

Steve

________________________________________
From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of Gayan S. Amarasiri [Gayan.Amarasiri at dialog.lk]

In linux we can set target a perl file as follows.
Target[SOC]: `/usr/bin/perl /etc/mrtg/SOC.pl`
How to do it in windows mrtg?



More information about the mrtg mailing list