On Thu, 27 Dec 2007, Alex Moen wrote:

> It was in the contribs area... Copyright (C) 1998, Brian Moore <[EMAIL 
> PROTECTED]>, 
> modified July 2000 by Ed Ravin <[EMAIL PROTECTED]>

Oh, well then that looks the same as the snmp_interface.monitor in the contrib.
Maybe someone renamed it at some point on your end or maybe elsewhere, but I've
never seen it called that.

Anyway, you said "snmpvar.monitor also exhibits this behavior", so I just tried
it on stock CentOS 5 and Fedora Core 6 installations I have in front of me
here, and it worked properly.  I also tried the snmp_interface.monitor and I
didn't see the error you reported about it not finding SNMP::Session. I also
recall testing the snmpvar.monitor which ships with mon-1.2.0 (obtained from
the contrib repository anyway) on a SLES 10 installation this summer and it was
fine.

Here's the version of the perl module from centos/rhel5:

Name        : net-snmp-perl                Relocations: (not relocatable)
Version     : 5.3.1                             Vendor: CentOS
Release     : 19.el5_1.3                    Build Date: Tue 18 Dec 2007 
06:47:56 PM EST

What's yours? You could find out this way as well:

$ perl -MSNMP -e 'print $SNMP::VERSION, "\n"'
5.0301

Be sure to use the same path to perl as the one the script is using.

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to