Acknowledgement reporting script - input wanted
Duncan Ferguson
duncan.ferguson at altinity.com
Mon Jun 18 09:56:42 CEST 2007
Have a look at NDOUtils; its a backend database used by nagios which
you can then query any way you want
You just have to construct your own query. This link may help with that
http://nagios.sourceforge.net/docs/ndoutils/NDOUtils_DB_Model.pdf
Duncs
On 15 Jun 2007, at 21:05, Rob Brown wrote:
> Hi list,
>
> I have an idea for a (probably perl) script that I want to write, but
> thought I would run it by the list first to see if a) anyone has
> already done something similar or b) get some input on how I should
> approach.
>
> A common problem in my environment is that when a problem occurs and
> the alert email gets sent out, one of our engineers will Acknowledge
> the alert, but then forget to "follow up" on it. I would like to have
> a report that runs say every friday that would tally up any hosts that
> are still in a non-ok state that have been acknowledged and sort them
> by the acknowledger in a report format.
> Something along the lines of:
> ----------------------------------------------------------------------
> -----------
> Ack Author
> host1/service - current state - duration - status information
> host2/service - current state - duration - status information
> ----------------------------------------------------------------------
> ------------
> Of course, the formatting is not important (that can be tweaked
> later). The main thing is figuring out where to pull the data from and
> tie it all together. Any input would be appreciated.
>
> I did have a quick look at "Nagios Reporter" on NagiosExchange, and
> while it is similar in scope, it pulls from summary.cgi which does not
> seem to be able to query by "has been acknowledged" like status.cgi
> can (serviceprops=4).
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
--
Duncan Ferguson
Opsview - Making Nagios Easier
http://www.altinity.com
Tel: +44 (0)870 787 9243
Fax: +44 (0)845 280 1725
Skype: duncan_j_ferguson
MSN: duncan.ferguson at altinity.com
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
More information about the Developers
mailing list