[mrtg-developers] Using SNMP_util.pm

Wagner wagnergc at itautec-philco.com.br
Mon May 12 19:32:33 MEST 2003


Hello,

I'm using SNMP_util in a perl script to get some values from my routers.

Everything works fine, but i want to make a log file just like the mrtg log
file. In case some SNMP error occour, i want to save it in a log file...
now, when it happens, the output is shonw in the command prompt.

I tried to use the perl command:

eval {
@info_router = &snmpget($router, "sysName");
};

but it didn't work.

Thanks a lot,
Wagner Garcia Campagner.

--
Unsubscribe mailto:mrtg-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers



More information about the mrtg-developers mailing list