We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

Need help

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Need help

Postby JunaNouguesan » Tue Jun 28, 2022 6:20 am

I have a site where a cable being plugged in and/or unplugged is something I would like to alert on, but the trap doesn't even show up in Nagios Core GUI. I have notifications set for w,u,c,r but that doesn't work. Any tips?

I know that I am receiving the trap because I see it in snmptt.log

Tue Oct 12 05:24:35 2021 . Normal "Status Events" mySwitch - Link down on interface 5. Admin state: $2. Operational state: $3

Tue Oct 12 05:24:39 2021 . Normal "Status Events" mySwitch - Link up on interface 5. Admin state: $2. Operational state: $3

I also know alerting and notifications are working because I am receiving notifications echatspin echatrandom for WARNING and INFORMATIONAL events from my UPS.
Last edited by JunaNouguesan on Fri Aug 19, 2022 6:42 am, edited 1 time in total.
Posts: 3
Joined: Thu Apr 28, 2022 7:32 am

Re: Need help

Postby gormank » Tue Jun 28, 2022 1:24 pm

Make sure the hostname and address are the same in the host definition as they are in the arriving traps.
Are the hostname and address resolvable?
Is an SNMP trap service attached to the host?
Are the traps being logged in snmpttunknown.log? If so, usually the MIB hasn't been added to snmptt.conf
In NXI there's a page that lists unconfigured objects. I don't know if it exists in core, but I've never seen it.
Posts: 1031
Joined: Tue Dec 02, 2014 12:00 pm

Return to Community Support

Who is online

Users browsing this forum: No registered users and 25 guests