No Service History for SNMP Traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
domsch1988
Posts: 32
Joined: Tue Aug 15, 2017 1:20 am

No Service History for SNMP Traps

Post by domsch1988 »

Hello again,
I'm facing another strange Problem currently.
I have configured several Veeam Servers to send their Job Status over SNMP to our Nagios XI Server. This is working Great. I have configured snmptt.conf so i get One Service for B2D, one for B2T and one for the individual Servers. All well so far.
Today i realized that those services do not show up in the Service History. I can select them as a filter, but no matter which time frame or other setting, i have no option to get the Past States. I'd need those to have a Backup history.
I don't have the same Problem with other Traps. I do have a bunch of Sophos Firewalls that send their Update Status over SNMP. I'm getting a history for those perfectly fine.

Nagios XI 5.4.8 on CentOS 7.3.1611

I'm not sure if this is intended behavior, but any help to get this working would be highly appreciated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No Service History for SNMP Traps

Post by scottwilkerson »

Are the Veeam Servers sending their Job Status in all OK state?

You may also want to check so see if the service in XI for the Veeam jobs has "Is Volatile" set to On in the Check Settings Tab of the CCM
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
domsch1988
Posts: 32
Joined: Tue Aug 15, 2017 1:20 am

Re: No Service History for SNMP Traps

Post by domsch1988 »

Thanks for the help.
No, the Jobs send correct OK and Critical stati.
Volatile is set to "Skip" on the Jobs. They are as configured when using the "Unconfigured Object" Wizard.

Edit:
Do give some more info, here is the relevant part of the snmptt.conf

Code: Select all

EVENT veeamJob .1.3.6.1.4.1.31023.1.1.1.0.1 "Status Events" Normal
FORMAT Ein Backup Job wurde abgeschloßen. $*
SDESC
Der Job $2 wurde mit Status $3 abgeschloßen.
EXEC /usr/local/bin/snmptraphandling.py "$r" "Veeam - $2" "$s" "$@" "$-*" "Job abgeschloßen"
Variables:
  1: veeamJobID
  2: veeamJobName
  3: veeamJobState
  4: veeamJobSonst
EDESC
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No Service History for SNMP Traps

Post by scottwilkerson »

domsch1988 wrote:Volatile is set to "Skip" on the Jobs. They are as configured when using the "Unconfigured Object" Wizard.
Actually I made an error when I said to change the is_volitile to on, for logging what you are looking for in the CCM -> Alert Setting Tab you want to set the Stalking options to be on for each state (click each of them).

Save and apply config

Here is some documentation on how the underlying logging will occur
https://assets.nagios.com/downloads/nag ... lking.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked