Page 1 of 1

Difficulty adding an SNMP Trap

Posted: Tue Nov 27, 2018 10:53 am
by MrWoodward
We're currently having great difficulty adding an SNMP trap. We're able to go thru the motions and NagiosXI reports that the SNMP trap is added, but nothing shows up in the /etc/snmp/snmptt.conf.nxti file

All real and test SNMP traps with the OID fail to get picked up and always end up in the /var/log/snmptt/snmpttunknown.log file

We've tried the one-click check and it fails at step 4.

We're on NagiosXI 5.5.7

Looking for advice on what to try next in resolving this issue.

Re: Difficulty adding an SNMP Trap

Posted: Tue Nov 27, 2018 3:25 pm
by MrWoodward
Figured it out.

Misconfigured filesystem permissions in /etc/snmp -- "nagios" group needs to be able to write to those files and directory.

Strangely, NagiosXI gui never notes this. It seems to think that the action of creating a trap receiver was successful even though it was not. I'd definitely file this as a bug.

Re: Difficulty adding an SNMP Trap

Posted: Tue Nov 27, 2018 5:29 pm
by ssax
Thanks for reporting this, I'll report it to the devs. I'm glad you found a solution.