Page 1 of 1

Receive trap in a port different than 162

Posted: Wed May 02, 2012 8:24 am
by sperez
We are trying to receive traps from a Windows server which send traps to port 9000 (not the standard 162). In the Config Monitorin Wizard, SNMP Trap Monitoring Wizard, the server is selected but Nagios is not able to discover the Trap. Is there a way to specify to look for a trap in a different port?
Thanks

Re: Receive trap in a port different than 162

Posted: Wed May 02, 2012 9:55 am
by scottwilkerson
The problem isn't the wizard, it is the face that the standard trap port is 162

You could set the settings to something else in /etc/snmp/snmptrapd.conf
here is a document on that file
http://linux.die.net/man/5/snmptrapd.conf

You will need to restart snmptrapd for changes to take effect

Code: Select all

service snmptrapd restart