Monitor total service uptime using Icinga

icinganagiossystem-monitoring

I am using Icinga (Nagios fork) for monitoring ~10 webservers, each one providing different services.
I would now like to provide an aggregated view on the server states on our companies intranet, providing information like:

server | state | last downtime | Ø uptime (month) | Ø uptime (year)
Srv1   | OK    | 2013-10-09    | 99,5%            | 99,8 %
Srv2   | ERROR | 2013-10-31    | 73,1%            | 85,4 %

Is there a possibility to get those values from icinga?

Best Answer

I would use the IDOUtils database backend including all relevant historical data (statehistory, downtimes, notifications) and then use the icinga reporting package within jasper reports. If the provided sample reports do not fit your needs, you can create your own reports with ireport and export them to pdf (and other formats) as well as schedule sla reports being sent on an interval basis.

Depending on your installation method, you may either recompile the source and enable IDOUtils, or install it as additional package (including mysql). Then install jasper and icinga reporting - http://docs.icinga.org/latest/en/reporting.html

The reporting itsself can also integrated in Icinga web as cronk widget if required.

Related Topic