Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Need help

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.

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: 4
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: 1125
Joined: Tue Dec 02, 2014 12:00 pm

Return to Open Source Nagios Projects

Who is online

Users browsing this forum: No registered users and 31 guests