Unable to view alarms in Nagos core UI

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
gautambanerjee89
Posts: 1
Joined: Fri Dec 17, 2021 6:17 am

Unable to view alarms in Nagos core UI

Post by gautambanerjee89 »

Hi Team,

I have configured the service definition that is being invoked by snmptt.conf files' EXEC command, but even after invoking, there are no alarms in the Nagios UI.
FYI, the server (that is being monitored) has got its ICMP requests disabled. so PING is not working.

Logs from SNMPTT.debug are attached and its shows below lines.

Finished printing out all events in hash table
==========================================================
Exact match of trap found in EVENT hash table

Working with EVENT entry: .1.3.6.1.4.1.11536.3.6.1 => osCpuUsageNotification,Status Events,CRITICAL,
No nodes defined for this entry so all nodes will match
No MATCH entries defined for this entry

Trap defined, processing...


Can anyone help?
Attachments
SNMPTT debug logs when match field is defined
SNMPTT debug logs when match field is defined
SNMPTT debug logs when there is no MATCH field.
SNMPTT debug logs when there is no MATCH field.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Unable to view alarms in Nagos core UI

Post by gormank »

Check for the traps and address/hostname in snmptrapd.log, snmptt.log, and snmpttunknown.log (that last log filename might be incorrect).
There needs to be an "SNMP Trap" service defined in Nagios XI, and I'd guess it's the same in core. The host will need to be in the service to connect the traps to the host.
There might be an issue with the hostname in snmptrapd.log matching the hostname in Nagios. I've seen traps come in with an FQDN when the host was just the hostname and traps were not connected to the nagios host.
Similarly, if the OID doesn't match one in a a config in snmptt.conf or an included .conf file, the trap will get discarded if I remember correctly.
Locked