Page 1 of 1

Alerts on NLS does not show in Alert History

Posted: Thu May 02, 2019 11:07 am
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.

Re: Alerts on NLS does not show in Alert History

Posted: Thu May 02, 2019 4:52 pm
by scottwilkerson
You have the Alert History filtered to just show OK

Change to "ALL" to see everything

Re: Alerts on NLS does not show in Alert History

Posted: Thu May 02, 2019 5:15 pm
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.

Re: Alerts on NLS does not show in Alert History

Posted: Fri May 03, 2019 10:41 am
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