I am BalajiSanthanakrishnan, 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
Expand|Select|Wrap|Line Numbers
- $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 balajisanthanakrishnan@yahoo.com. Please explain about what is community , port parameters etc.>
Thanks in advance.
Cheers,
Balaji Santhanakrishnan.
Chennai.