Statistics of alerts and notifications

Joerg Linge pitchfork at ederdrom.de
Fri Mar 12 14:42:35 CET 2010


Am 12.03.10 14:18, schrieb Ryan Kovar:
> All,
>    I am trying to find out how many alerts/notifications my nagios system
> has processed in the last year.  Has anyone written a script or know how to
> dig this out of the nagios innards?  I am not looking for a itemized list,
> just some statistics to show for our yearly "State of Nagios" report.
> Thanks!

grep NOTIFICATION /usr/local/nagios/var/archives/*2010*.log | wc -l

Just an example ...

Joerg

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list