linkUp and linkDown definitions in NXTI will not delete

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hollanro
Posts: 14
Joined: Thu Apr 09, 2020 9:53 am

linkUp and linkDown definitions in NXTI will not delete

Post 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?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: linkUp and linkDown definitions in NXTI will not delete

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
hollanro
Posts: 14
Joined: Thu Apr 09, 2020 9:53 am

Re: linkUp and linkDown definitions in NXTI will not delete

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: linkUp and linkDown definitions in NXTI will not delete

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked