[mrtg] Set Target in Windows MRTG

Gayan S. Amarasiri Gayan.Amarasiri at dialog.lk
Mon Jul 27 06:54:38 CEST 2009

Sorry I already fix it using ` quotes. But now it gives a warning
"WARNING : Problem with External get "perl ''c:\mrtg-2.16.2\bin\inno.pl': expected a Number for 'out' but nothing'
Error: target[SOC][_out_] ' $target->[0]{$mode} ' did not eval into defined data"

-----Original Message-----
From: Steve Shipway [mailto:s.shipway at auckland.ac.nz]
Sent: Monday, July 27, 2009 10:18 AM
To: Gayan S. Amarasiri
Subject: RE: Set Target in Windows MRTG

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

Are you certain that

(1) you used backquotes ` and not normal quotes '
(2) you have the .pl extension assosciated with Perl (IE, you can double-click on a .pl program and it runs)
(3) the file in question really exists


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.

More information about the mrtg mailing list