SNMP Traps issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: SNMP Traps issue

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SNMP Traps issue

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: SNMP Traps issue

Post 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')
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: SNMP Traps issue

Post by Box293 »

You also specify it in /etc/snmp/snmptrapd.conf, here are some examples:
http://net-snmp.sourceforge.net/wiki/in ... _snmptrapd
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked