Page 2 of 2

Re: SNMP Traps issue

Posted: Mon Dec 28, 2015 12:05 pm
by inas.labib
Hi ,
Which file I need to modify to change the community string @ Nagios xi server.
We enable snmp traps from switches and firewalls. Kindly confirm is this necessary for the passive check.

Re: SNMP Traps issue

Posted: Mon Dec 28, 2015 12:23 pm
by Box293
By default on Nagios XI, the XI server will receive traps from any community, as per the definition in /etc/snmp/snmptrapd.conf:
disableAuthorization yes

However when you start working on SNMPv3, you will need extra stuff added to your /etc/snmp/snmptrapd.conf file to allow them.

Re: SNMP Traps issue

Posted: Sun Jun 26, 2016 7:42 am
by inas.labib
Hi ,

Thanks for the update. Currently we have below content at /etc/snmp/snmptrapd.conf

# cat /etc/snmp/snmptrapd.conf
disableAuthorization yes
traphandle default /usr/sbin/snmptthandler


Once we change "disableAuthorization no" , in which file we need to provide the New community string . (Old/default community string is 'Public')

Re: SNMP Traps issue

Posted: Mon Jun 27, 2016 1:35 am
by Box293
You also specify it in /etc/snmp/snmptrapd.conf, here are some examples:
http://net-snmp.sourceforge.net/wiki/in ... _snmptrapd