Page 1 of 1
linkUp and linkDown definitions in NXTI will not delete
Posted: Sat Feb 27, 2021 9:21 am
by hollanro
Nagios XI 5.8 - I selected to "Undo Trap Processing" for the IF-MIB under Manage MIBs. The trap definitions were removed from "Defined Traps" on the SNMP Trap Interface page but I'm still seeing linkUp and linkDown traps on the Received Traps page. I looked in the snmptt.conf.nxti file and the linkUp and linlDown definitions are still in there. I have cycled snmpd and snmptt and even rebooted the server but they are still in the snmptt.conf.nxti file. How do I get the IF-MIB trap definitions out of snmptt.conf.nxti?
Re: linkUp and linkDown definitions in NXTI will not delete
Posted: Mon Mar 01, 2021 3:25 pm
by tgriep
Verify that the traps are removed from the Defined Traps menu.
Then go to the Advanced Tab in the SNMP Trap Interface menu and click on the Restore SNMPTT Configuration button to write the settings to the snmptt.conf.nxti file and verify they are removed.
Also, check this file /etc/snmp/snmptt.conf and make sure they do not exist there.
If so, delete them and restart snmptt to load the change.
Re: linkUp and linkDown definitions in NXTI will not delete
Posted: Thu Mar 04, 2021 7:21 am
by hollanro
Thank you. We reloaded the snmptt config but it was still there. We ended up having to delete the IF-MIB, and then reload the snmptt config
Re: linkUp and linkDown definitions in NXTI will not delete
Posted: Thu Mar 04, 2021 10:34 am
by tgriep
It looks like it is a bug for the "Undo Trap Processing" button.
It does not write the changes to the file.
If you go to the Advanced Tab in the SNMP Trap Interface menu and click on the Restore SNMPTT Configuration button to write the settings to the snmptt.conf.nxti file. That seems to work.
I submitted a Bug fix for this so it will get fixed in a future release.