[Nagios-users] max_check_attempts over time

Daniel Wittenberg daniel.wittenberg.r0ko at statefarm.com
Thu Dec 23 14:38:41 UTC 2010

What if it doesn't write to the eventlog?  We have some strange apps


-----Original Message-----
From: Jim Avery [mailto:jim at jimavery.me.uk] 
Sent: Thursday, December 23, 2010 7:16 AM
To: Nagios Users List
Subject: Re: [Nagios-users] max_check_attempts over time

On 22 December 2010 19:42, Daniel Wittenberg
<daniel.wittenberg.r0ko at statefarm.com> wrote:
> I want to know if a service restarts 3 times in one hour.
> Right now I can only find a way to do 3 times, ever, using
> Better ?
> Dan

If the service writes an event to the Windows event log each time it
restarts then I would think it should be easy to query NSClient++ to
alert if there are more than 3 such events in the last hour.


Note the new syntax for CheckEventLog is a whole lot easier now than
it was in previous versions, so if you're not using the up-to-date
version of NSClient++, then I recommend you upgrade.

If you're not using NSClient++, please state what agent (if any) you are



Learn how Oracle Real Application Clusters (RAC) One Node allows
to consolidate database storage, standardize their database environment,
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
::: 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 Nagios-users mailing list