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.
Alerts on NLS does not show in Alert History
-
Sampath.Basireddy
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
Alerts on NLS does not show 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
You have the Alert History filtered to just show OK
Change to "ALL" to see everything
Change to "ALL" to see everything
-
Sampath.Basireddy
- Posts: 252
- Joined: Wed Dec 14, 2016 12:30 pm
Re: Alerts on NLS does not show in Alert History
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.
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
This sounds like you have a bad mapping on the data
Can you run the following
Also, I would like to see this
Can you run the following
Code: Select all
tail -100 /var/log/elasticsearch/*[^log].logCode: Select all
curl http://localhost:9200/nagioslogserver_history/alert/_mapping?pretty