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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers

Reply via email to