Re: [Nagios-devel] Acknowledgement reporting script - input wanted

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
Guest

Re: [Nagios-devel] Acknowledgement reporting script - input wanted

Post by Guest »

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/ndou ... _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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-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: [email protected]







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked