RE: SNMPD error (ASAP)
Umesh Kamath <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OF9748C25B.9E6AA9A8-ON65257486.0066ED28-65257486.00689C39@in.ibm.com> |
Mike,
1) Please let me know the use of "snmpTrapdAddr. My understanding on
snmpTrapdAddr is that, it should always bind to localhost(loop back
address(127.0.0.1))
2) I am reframing my 2nd question . Sorry for confusion.
I am using "snmpget" command( say from abc machine) to get sysuptime of
remote machine(say xyz machine sysuptime). In remote machine (xyz) , i
ran snmpd command as /usr/sbin/snmpd -f -Le -d and i have observed that
, the "sysuptime snmpget request from abc machine is displayed on screen"
but no response from "xyz" machine. Hence i am getting "Timed Out "
message/response for snmpget command in abc machine
I have verified host file in both machine and i observed that, the host
file of abc machine has an entry for xyz machine and similarly for host
file of xyz machine have an entry for abc machine. And also snmpd.conf
file in xyz machine have entry " rocommunity com_name abc" .
Please let us know why i am not getting response from xyz
machine.
"Mike Ayers" <[email protected]>
07/15/2008 00:06
To
Umesh Kamath/India/IBM@IBMIN, <[email protected]>
cc
<[email protected]>,
<[email protected]>
Subject
RE: SNMPD error (ASAP)
> From: [email protected]
> [mailto:[email protected]] On
> Behalf Of Umesh Kamath
> Sent: Monday, July 14, 2008 7:51 AM
> My assumption/intention of using "snmpTrapdAddr" is that,
> i would like to get trap messages from "xyz" machine.
> (means, get trap messages from "xyz" machine only).
This should be done via firewall. There is no host
filtering mechanism in SNMP, for good reason.
> 2) I am using "snmpget" command( say from abc machine) to
> get sysuptime of remote machine(say xyz machine sysuptime).
> In remote machine (xyz) , i ran snmpd command as
> /usr/sbin/snmpd -f -Le -d and i have observed that , the
> "sysuptime snmpget request from abc machine is displayed on
> screen" but no response from "xyz" machine.
By "no response", do you mean the request is timing out?
> I have verified host file in both machine and i observed
> that, the host file of abc machine has an entry for xyz
> machine and similarly for host file of xyz machine have an
> entry for abc machine.
The "xyz" machine doesn't even need the host entry, as it
will respond to the IP address, which it got as part of the request.
> And also snmp.conf file in xyz
> machine have entry " rocommunity com_name abc" .
That needs to be in snmpd.conf, not snmp.conf.
HTH,
Mike
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
(unnamed)
(image/gif, 5.5 KB) - not displayed