Re: SNMPD error (ASAP)
> On Sat, 12 Jul 2008 07:20:39 +0530, Umesh Kamath <[EMAIL PROTECTED]> said: UK> couldn't open xyz.abc.att.com:1024 -- errno 227 ("Can't assign requested UK> address") That's an odd error and the text comes from the system failing a DNS lookup most likely. What if you add xyz.abc.att.com to /etc/hosts, will it work then? (which is not a good long term solution, but it's a good test). UK> 2) I am able to snmpget in local machine . But when i am trying to do UK> same thing(snmpget) from remote machine to first machine i am getting UK> time out error. UK> rocommunity chan2063 abc.xyz.alt.com # abc.xyz.alt.com UK> is my remote machine host name from there i am running snmpget command I still suspect that DNS is still failing (in this case, you said alt.com and above you said att.com...) -- Wes Hardaker Sparta, Inc. - 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: SNMPD error (ASAP)
Hardaker. Thanks for update. I had bit confusion on "snmpTrapdAddr" Directives. What actually i did in conf file is " i assigned remote host name to "snmpTrapdAddr" . Say , Machine "xyz" sends trap messages to "abc" machine. In "abc" machine , i have configured snmptrapd.conf file such that "snmpTrapdAddr" pointing to "abc" machine. 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). 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. 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 snmp.conf file in xyz machine have entry " rocommunity com_name abc" . Please let us know why i am not getting response from xyz machine. Wes Hardaker <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/14/2008 19:10 To Umesh Kamath/India/[EMAIL PROTECTED] cc net-snmp-users@lists.sourceforge.net Subject Re: SNMPD error (ASAP) >>>>> On Sat, 12 Jul 2008 07:20:39 +0530, Umesh Kamath <[EMAIL PROTECTED]> said: UK> couldn't open xyz.abc.att.com:1024 -- errno 227 ("Can't assign requested UK> address") That's an odd error and the text comes from the system failing a DNS lookup most likely. What if you add xyz.abc.att.com to /etc/hosts, will it work then? (which is not a good long term solution, but it's a good test). UK> 2) I am able to snmpget in local machine . But when i am trying to do UK> same thing(snmpget) from remote machine to first machine i am getting UK> time out error. UK> rocommunity chan2063 abc.xyz.alt.com # abc.xyz.alt.com UK> is my remote machine host name from there i am running snmpget command I still suspect that DNS is still failing (in this case, you said alt.com and above you said att.com...) -- Wes Hardaker Sparta, Inc. - 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users <>- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: SNMPD error (ASAP)
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/[EMAIL PROTECTED], <[EMAIL PROTECTED]> cc <[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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: SNMPD error (ASAP)
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Umesh Kamath > Sent: Monday, July 14, 2008 12:04 PM > 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)) No. That would only permit you to receives traps from the local host. The most common value for snmpTrapdAddr is 0.0.0.0, which means, "listen on all IPv4 interfaces, including localhost", which means that notifications may be directed to any of the hosts' interfaces, including 127.0.0.1, and be received. For production systems it is common practice to restrict the listening to a single back end network interface so traffic from the internet at large is summarily ignored. This has nothing to do with which hosts may send notifications to your listener. The only mechanism to screen IP addresses is the "authCommunity" statement - see the snmptrapd.conf man page for details. 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users