Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have had our Nagios installation up for a year, and we are now required to give some statistics on how much it has worked and what it has done in the environment. As such, I was wondering if anyone knows if Nagios also holds data records on how many alerts and notifications it sends out? I am not necessarily looking for reports on what it alerted on, but just some raw statistics for a powerpoint.
TL:DR Can I extract how many notifications and alerts Nagios has produced in it's existence or between certain dates?

share|improve this question
up vote 8 down vote accepted

open up your nagios console

  • Select Reports > Alerts > Summary
  • Under Custom Report Options, Set Report Type to "Alert Totals" (or one of the options like this for finer grained reporting
  • Set the Report Period to "* CUSTOM REPORT PERIOD *"
  • Set the start date and end dates appropriately
  • Apply any other filters that you would like (hostgroups, hosts etc)
  • It is not necessary to adjust Max List Items as this report is quite short.
  • Click on Create Summary Report


This is valid for Nagios 3.2.0

share|improve this answer
Wow... 5 years using Nagios, and I never thought to use that. Worked like a charm!!!! I also received similar results by running this command that someone responded me to in the nagios-users mailing list grep NOTIFICATION /usr/local/nagios/var/archives/*2010*.log | wc -l – breadly Mar 14 '10 at 17:33
The only reason I know is that I had to use the reporting tool to calculate uptimes for SLA compliance so I became reasonably familiar with the reporting section. +1 for you though for getting the command line grep! – Dan Mar 15 '10 at 9:14
Well, I haven't actually got it to work 100% yet (it times out) but when I did the grep, it did pull up 100k notifications for the time period... Also I am using like 3.02B I think. But It will work eventually. – breadly Mar 15 '10 at 13:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.