Old Title: Hi all, need help for this perl script- thanks in advance
I am BalajiSanthanak rishnan, chennai. Now I am working in a Perl Script which is executing in the Unix Servers. Basically i am Oracle plsql programmer, but i need to work nowadays in Perl also. In my perl script, there are some entries like
When i am executing the above script, i am getting error like
## No response from remote host <some IP address >. Can any one please suggest why is it coming and what might be the possiblities? you can also send me a suggestion to my mail id balajisanthanak rishnan@yahoo.c om. Please explain about what is community , port parameters etc.>
Thanks in advance.
Cheers,
Balaji Santhanakrishna n.
Chennai.
I am BalajiSanthanak rishnan, chennai. Now I am working in a Perl Script which is executing in the Unix Servers. Basically i am Oracle plsql programmer, but i need to work nowadays in Perl also. In my perl script, there are some entries like
Code:
$oid_to_get='1.3.6.1.2.1.4.22.1.2';
$comm = bones;
$comm2 = public;
$port = 161;
$done{$router} = "skip";
($session, $error) = Net::SNMP->session(
Hostname => $router, Community => $comm, Port => $port );
if (!defined($session)) {
$session->close;
($session, $error) = Net::SNMP->session(
Hostname => $router, Community => $comm2, Port => $port );
## No response from remote host <some IP address >. Can any one please suggest why is it coming and what might be the possiblities? you can also send me a suggestion to my mail id balajisanthanak rishnan@yahoo.c om. Please explain about what is community , port parameters etc.>
Thanks in advance.
Cheers,
Balaji Santhanakrishna n.
Chennai.
Comment