On Wed, 8 Sep 2004, Geetha B wrote:
But I want to write this as a package/interface file .
Please could you guide/direct me to writing a simple/sample perl
package (sample.pm) & then testing it.
Sorry, I'm afraid I can't do that.
This list exists to help people get past the obstacles of learning
Hi Chris,
Thanks for guiding about the right style of perl coding & also for
resolving snmp session problem.
My system's snmpd was not enabled & SNMP5.0 was installed which was
giving the error as "Unknown Error Creating session"
I installed SNMP3.6 , started snmpd, httpd in my Linux system & now
On Tue, 7 Sep 2004, Geetha B wrote:
($session, $error) = Net::SNMP->session(
-hostname => shift || 'localhost',
-community => shift || 'public',
-port => shift || 161
);
It may be a dead end, but it may help to define these items as temp
variables, and then throw in a print sta
Hi ,
I'm using NET::SNMP perl package to send do SNMP operations.
This requires establishing snmp session.
upon calling create session , I'm getting error "ERROR: Unknown error
creating socket."
The code which gives the above error is given below.
*