Nagios alerts reporting stats

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ebuttice
Posts: 10
Joined: Fri May 09, 2014 2:24 pm

Nagios alerts reporting stats

Post 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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios alerts reporting stats

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked