0

We have a process(should be a client program) on RHEL 7.4 that send snmp traps to a Solaris server that has trap receiver process(should be a server program listening on 162/1691) on other machine(with IP 10.xx.xx.xx)

I have ssh access to RHEL box


Can I install some tracing tool on RHEL 7.4 to trace these snmp traps?

if yes, what is the process to trace the trap packets?

  • Did you tried tcpdump ? – gripen fighter Aug 24 '18 at 15:42
  • @charith What are the arguments to pass with tcpdump? – overexchange Aug 24 '18 at 15:52
1

If you are running this on your client machine ,You can use example below

tcpdump dst 10.xx.xx.xx and port 162 and not arp

you can replace the IP suites to you and not arp part for exclude the arp. If you are running this on server side you can replace dst with src and client ip instead server ip

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.