Re: snmptrapd

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18/08/06, Jonathan Shan <[email protected]> wrote:
> > It definitely sounds like firewall settings - not a separate firewall,
> > but the snmptrapd system itself.
>
> But I can receive snmp-traps. Meaning I run snmptrapd, then I power-off
> and power-on the device. I get snmptraps on interface status and
> coldstart.

Is this device the same system that you are sending the 'snmptrap'
request from?
Because if "snmptrap -d ...."  shows the request being sent, but
"snmptrapd -d ..."
doesn't show it arriving, then this does sound very much like the trap
being dropped somewhere.  And the most likely cause (certainly on a
Linux system) would be the local firewall settings.

What O/S are you running the snmptrapd receiver on?

What happens if you send the trap from the same system as the receiver?
Does 'snmptrapd -d ...' show anything?



> I believe the problem may be in the snmptrap command I am
> sending. From the tutorial website: snmptrap -v 1 -c public host
> TRAP-TEST-MIB::demotraps localhost 6 17 '' \
>         SNMPv2-MIB::sysLocation.0 s "Just here"

That looks fine to me.
And if "snmptrap -d ...." shows a packet being sent out, then it's
probably not the snmptrap command where the problem lies.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.