0

I am able to send traps out using command 'snmptrap' from my desktop(ubuntu) without snmpDeamon running on it.
Why 'snmptrap' doesnot need 'snmpd'?

According to my knowledge 'snmpd' is SNMP agent, but how 'snmptrap' able to send traps without support of 'snmpd'

0

Because snmptrap is just a client which can send those SNMP traps to any other host running snmpd in your network. Your local snmpd has nothing to do with that unless it's the destination snmpd for your traps.

Here's an analogue: Your Firefox does not require Apache running at your laptop, you surf around the web just fine because your Firefox connects to remote web servers.

  • Do you mean , 'snmpd' should be running to receive traps? – lavina Nov 7 '14 at 11:55
  • I have stoped 'snmpd' but running 'snmptrapd' on ubuntu and able to receive traps – lavina Nov 7 '14 at 11:56
  • Uh, yeah, snmptrapd receives the traps. Anyway the snmptrap is just a client program. – Janne Pikkarainen Nov 7 '14 at 12:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.