Alerts on NLS does not show in Alert History

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Alerts on NLS does not show in Alert History

Post by Sampath.Basireddy »

I am noticing a strange issue on my NLS Server. There are bunch of alerts being sent out, but when I check Alert History, all I see is only OK status alerts. Also, I believe some alerts are not being sent out.

I triggered a Test alert and that came through.

Attached screenshot of the alerts that are currently failing and the alert history page. I received alerts on my email, but nothing in Alert History.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Alerts on NLS does not show in Alert History

Post by scottwilkerson »

You have the Alert History filtered to just show OK

Change to "ALL" to see everything
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Re: Alerts on NLS does not show in Alert History

Post by Sampath.Basireddy »

It was just at the time of screenshot, I checked all as well. Attaching screenshots for your reference.

Not sure if you noticed or not, "Alert Name" in that screenshot is "Anonymous". I don't have any alert with that name.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Alerts on NLS does not show in Alert History

Post by scottwilkerson »

This sounds like you have a bad mapping on the data

Can you run the following

Code: Select all

tail -100 /var/log/elasticsearch/*[^log].log
Also, I would like to see this

Code: Select all

curl http://localhost:9200/nagioslogserver_history/alert/_mapping?pretty
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked