Page 1 of 1

Nagtrap - LinkUp

Posted: Wed Jun 21, 2017 2:13 am
by blabli
Hello,
I installed Nagtrap on Nagios and it seems to work fine.
But I have a problem with LinkUp Traps, I get a lot in a very short time for the same event.
Do you have an idea?
(sorry, Google translate)

thanks for your help

Re: Nagtrap - LinkUp

Posted: Wed Jun 21, 2017 11:57 am
by mcapra
Just chiming in to say that I don't believe Nagtrap is maintained anymore.

Depending on your use case, you might use NSTI instead:
https://github.com/NagiosEnterprises/nsti

Re: Nagtrap - LinkUp

Posted: Wed Jun 21, 2017 12:27 pm
by tgriep
Thanks @mcapra for the tip.

It looks like Nagtrap uses snmptt to translate the Traps and the traps are logged in the following file.

Code: Select all

/var/log/snmptt/snmptt.log
Take a look at that file for any clues on your issue or the system that sent them to see if they are logged there.

Re: Nagtrap - LinkUp

Posted: Thu Jun 22, 2017 4:02 am
by blabli
thank you for your quick reply

The snmptt.log file resembles the previous image, it receives on a very short time several LinkUp traps for the same host
The difference it finds in the message: A linkUp trap means that the SNMP entity, acting in an 18
In effect the value changes: 1,2,3,4,5 ...
For other traps no problem but only for LinkUP


Thanks mcapra I will learn about the tool nsti

Re: Nagtrap - LinkUp

Posted: Thu Jun 22, 2017 1:42 pm
by tgriep
If you do not need the linkup messages, you can remove them from the /etc/snmp/snmptt.conf file so the snmptt daemon will not translate them anymore.

Re: Nagtrap - LinkUp

Posted: Fri Jun 23, 2017 2:19 am
by blabli
Yes I think I will delete it, after all it is not necessarily useful
Thank you for your time
Last question about NSTI: Can it integrate on Nagios interfarce like Nagtrap or it necessarily uses a second interface? thank you

Re: Nagtrap - LinkUp

Posted: Fri Jun 23, 2017 9:48 am
by tgriep
NSTI is it's own separate interface.
NSTI is a Nagios addon that makes managing SNMP traps easier. NSTI provide a PHP frontend for the SNMPTT database backend and allows you to filter SNMP results quickly and effectively to get a comprehensive overview of the information you want to see.

You can find more information about it here
https://exchange.nagios.org/directory/A ... I)/details

If you want to receive SNMP Traps in Nagios Core, take a look at this link for instructions.
https://exchange.nagios.org/directory/T ... os/details

Re: Nagtrap - LinkUp

Posted: Tue Jun 27, 2017 7:52 am
by blabli
Thank you very much for your help and this additional information
The subject can be closed :) :)

Re: Nagtrap - LinkUp

Posted: Tue Jun 27, 2017 9:13 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!