Page 1 of 1

SNMP traps

Posted: Thu Dec 21, 2017 4:23 pm
by naga.aripaka
->We have configured snmp traps. All we get in the snmptt.debug is sleep for 5 seconds. Did all the troubleshooting but nothing helps.

->And also, uploaded many MIBS. snmptt.conf looks messy because not all mibs are properly converted. How can I reset that ?

Re: SNMP traps

Posted: Thu Dec 21, 2017 4:53 pm
by cdienger
Did you follow https://assets.nagios.com/downloads/nag ... ios_XI.pdf to setup and troubleshoot? If so, did you make sure to follow https://support.nagios.com/kb/article.php?id=559 as well? It can be easy to miss and you wouldn't be the first.

The snmptt.conf file can be edited with any text editor - vi for example.

Re: SNMP traps

Posted: Thu Dec 21, 2017 5:27 pm
by naga.aripaka
I added or converted more than 1000 MIBS. Written into that conf file now. Can I get the default conf file and replace ?

Re: SNMP traps

Posted: Thu Dec 21, 2017 6:01 pm
by kyang
The default conf file for snmptt.conf will be blank if you haven't set up any traps.

Are you looking to start over? I would save the conf file you have now, just in case.

Create the new snmptt.conf with the proper permissions, and when you upload the mibs through the UI, "process traps" is what mibs will be written to the snmptt.conf file.