-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Shouldn't the SNMP port be 161 ?
- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, May 11, 2001 3:24 PM
To: [EMAIL PROTECTED]
Subject: snmp_session problem
Hello,
I am using perl 623 on win2k, snmp_session v.83, and am trying to
write a
script to listen for snmp traps. I tried using the following code
example
from the author's website:
require 'SNMP_Session.pm';
use strict;
my $port = 162;
print "waiting for traps....\n";
my $trap_session = SNMP_Session->open_trap_session ($port)
|| die "cannot open trap session";
Problem is, I get the following error:
####
Can't locate object method "open_trap_session" via package
"SNMP_Session"
at tra
p.pl line 10.
####
If I look thru the SNMP_Session.pm file, open_trap_session is
defined..
Any thoughts on what I might be missing appreciated...
Thanks.
chris
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0
iQA/AwUBOvxKrAmn6vygGX1WEQJYnQCfdQ0AoiP4ocdIPYLv9/aTAEn3pfcAoLR/
K8eY0fZehSeKAR9RahWPccBW
=i06R
-----END PGP SIGNATURE-----
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin