Nagtrap - LinkUp

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
blabli
Posts: 4
Joined: Thu Jun 01, 2017 3:39 am

Nagtrap - LinkUp

Post 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
Attachments
Screenshot_1.jpg
Sans titre 1.jpg
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagtrap - LinkUp

Post 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
Former Nagios employee
https://www.mcapra.com/
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagtrap - LinkUp

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
blabli
Posts: 4
Joined: Thu Jun 01, 2017 3:39 am

Re: Nagtrap - LinkUp

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

Re: Nagtrap - LinkUp

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
blabli
Posts: 4
Joined: Thu Jun 01, 2017 3:39 am

Re: Nagtrap - LinkUp

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

Re: Nagtrap - LinkUp

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
blabli
Posts: 4
Joined: Thu Jun 01, 2017 3:39 am

Re: Nagtrap - LinkUp

Post by blabli »

Thank you very much for your help and this additional information
The subject can be closed :) :)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagtrap - LinkUp

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked