[mrtg] how to include a script in target line

Zeeshan Ahmed zeeshan at worldcall.net.pk
Thu May 5 09:32:35 MEST 2005

Dear all

I am trying to include a script in the mrtg target line, this script include
an snmpwalk command, which gives out put in for of integer no.

Target[examplescript]: `online`


And I get following error when I run this mrtg cfg file


ERROR: Target[examplescript][_IN_] ' $target->[0]{$mode} ' did not eval into
defined data

ERROR: Target[examplescript][_OUT_] ' $target->[0]{$mode} ' did not eval
into defined data



Any help




Zeeshan Ahmed

Assistant Manager Technical (Networks)

ICT Department

WorldCALL Multimedia Pvt Ltd

16-S Gulberg II

Lahore, Pakistan

Off: 92 (42) 5877051-55

Cell: (92) 03008417426


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list