[mrtg] SNMP v3 on MRTG 2.16.2
stevenwmn
Steve.Carlson at thrivent.com
Fri Feb 19 10:46:53 CET 2010
When I try to run the commands you said I get
C:\>perl -e 'use Net::SNMP'
Can't find string terminator "'" anywhere before EOF at -e line 1.
This seems more complex than it needs to be.
Steve Carlson
Network Services
Thrivent Financial for Lutherans
Direct: 612-844-5853
Fax: 612-371-1597
Toll-free: 800-847-4836, ext. 35853
"Daniel J McDonald-2 [via MRTG Mailinglists]"
<ml-node+4594055-607511813-434600 at n2.nabble.com>
02/18/2010 02:09 PM
To
stevenwmn <Steve.Carlson at thrivent.com>
cc
Subject
Re: SNMP v3 on MRTG 2.16.2
On Thu, 2010-02-18 at 11:45 -0800, stevenwmn wrote:
> I checked the script and line 368 is trying to exec a variable called
> startargs, but that seem to be the recovery. I also checked line 2202,
the
> original error and it says this
> @ret = snmpget($targtemp,$$target{snmpoptions}, at snmpoids);
>
> It's almost as if the net snmp isn't installed correctly.
Try this perl one-liner to check:
working example:
[~]$ perl -e 'use Net::SNMP'
[~]$
non-working example:
[~]$ perl -e 'use Net::SNMP'
Can't locate Net/SNMP.pm in @INC (@INC
contains: /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
> I do have the
> Net_SNMP_util.pm file in the lib\mrtg2 directory though.
Net_SNMP_util.pm uses Net::SNMP for the actual work. Net::SNMP uses
binary libraries from net_snmp
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com
_______________________________________________
mrtg mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
View message @
http://n2.nabble.com/SNMP-v3-on-MRTG-2-16-2-tp4585865p4594055.html
To unsubscribe from Re: SNMP v3 on MRTG 2.16.2, click here.
--
View this message in context: http://n2.nabble.com/SNMP-v3-on-MRTG-2-16-2-tp4585865p4596911.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
More information about the mrtg
mailing list