Hi, When I use it as below it gives error like " ERROR: Target[SOC][_IN_]''c:\mrtg-2.16.2\bin\inno.pl''evaluated to 'c:\mrtg-2.16.2\bin\inno.pl' instead of a number ERROR: Target[SOC][_OUT_]''c:\mrtg-2.16.2\bin\inno.pl''evaluated to 'c:\mrtg-2.16.2\bin\inno.pl' instead of a number"
Any reason for this? Thanks & BR, Gayan -----Original Message----- From: Steve Shipway [mailto:[email protected]] Sent: Saturday, July 25, 2009 6:37 AM To: Gayan S. Amarasiri; [email protected] Subject: RE: Set Target in Windows MRTG 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: [email protected] [[email protected]] On Behalf Of Gayan S. Amarasiri [[email protected]] 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? This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
