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 .1.3.6.1.6.3.1.1.5.3 Normal "Status Events" mySwitch - Link down on interface 5. Admin state: $2. Operational state: $3

Tue Oct 12 05:24:39 2021 .1.3.6.1.6.3.1.1.5.4 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 for WARNING and INFORMATIONAL events from my UPS.
JunaNouguesan
 
Posts: 2
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.
gormank
 
Posts: 1011
Joined: Tue Dec 02, 2014 12:00 pm


Return to Community Support

Who is online

Users browsing this forum: gormank and 37 guests