Page 1 of 1

Nagios alerts reporting stats

Posted: Fri Aug 22, 2014 11:27 am
by ebuttice
hello,

I'm running Version Nagios core 3.3.1 and have a question regarding how to generate a report that will give me the number of alerts per server and or service.
I have been using the availability, history and all the default report options available and I can generate reports of total services alerts however I have escalations setup and I believe these get included in this report. Correct ?

So for every service alert I can get 5,6,10 counts in this report for the same issue if its not handled in time. Escalations seem to be included in this report.
In the end I can have a report that shows xxx service alerts but in reality only 3 or 4 actual incidents occurred.

I need a way to exclude escalations and only grab the initial alert that was created by the incident in question.

Re: Nagios alerts reporting stats

Posted: Mon Aug 25, 2014 10:04 am
by sreinhardt
This is definitely not something that is included with core logic unfortunately. However the cgis that create reports are generally just parsing status.dat and the nagios log files. You should absolutely be able to look at the source for the cgis and write a script or program to handle the requirements you are looking for. Alternatively you certainly could put in a feature request, but it would likely be a while before that could get included, likely at least a 4.1.x version.