[mrtg] Using SNMP_util

Wagner wagnergc at itautec-philco.com.br
Tue Apr 29 17:15:13 MEST 2003

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.

-- Attached file removed by Ecartis and put at URL below --
-- Type: application/ms-tnef
-- Size: 1k (1752 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/3EAE977C19882-winmail.dat

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

More information about the mrtg mailing list