<div>Hi - I am new to nagios so thanks in advance for any assistance, we have<br>been haing real problems with this.</div>
<div> </div>
<div>when i execute the command ./check_ifoperstatus -k 22 -H localhost i am getting out put as </div>
<div> </div>
<div>OUTPUT: Can't locate object method "session" via package "Net::SNMP" (perhaps you forgot to load "Net::SNMP"?) at ./check_ifoperstatus line 443.</div>
<div> </div>
<div>where Line No 443 is </div>
<div> </div>
<div> 442 if ( $snmp_version =~ /[12]/ ) {<br> 443 ($session, $error) = Net::SNMP->session(<br> 444 -hostname => $hostname,<br> 445 -community => $community,
<br> 446 -port => $port,<br> 447 -version => $snmp_version,<br> 448 -maxmsgsize => $maxmsgsize<br> 449 );
<br> 450</div>
<div> </div>
<div>Can any one please assist me how to come resolve this problem and please tell me if any set up is needed for Net::SNMP????</div>
<div> </div>
<div>Please help me in this regard..</div>
<div> </div>
<div>--Thanks in Advance </div>
<div>SANTHOSH<br><br> </div>