check_cluster
it will check the current status of one or more services and send alerts
based on one or both being down
On Thu, Mar 4, 2010 at 6:18 PM, Gius, Mark <[email protected]> wrote:
> I have a problem that pretty much the same as this one from a couple
> years back:
>
>
>
> http://thread.gmane.org/gmane.network.nagios.devel/4167/focus=4168
>
>
>
> Basically, I want to only send notifications when both of these services
> are in the red:
>
>
>
> > define servicedependency{
>
> > host_name server0
>
> > dependent_host_name server1
>
> > dependent_service_description service0
>
> > service_description service0
>
> > inherits_parent 0
>
> > execution_failure_criteria n
>
> > notification_failure_criteria o
>
> > }
>
> > define servicedependency{
>
> > host_name server1
>
> > dependent_host_name server0
>
> > dependent_service_description service0
>
> > service_description service0
>
> > inherits_parent 0
>
> > execution_failure_criteria n
>
> > notification_failure_criteria o
>
> > }
>
>
>
> Nagios throws an error with the above configuration (which can be
> overridden with –x).
>
>
>
> The thread I reference above talks about using “check_cluster”, although
> the documentation on that is a little sparse, and it specifically references
> Nagios 2, so it may not have been updated in quite some time.
>
>
>
> Is there any better way to achieve this behavior, or is the solution from
> two years ago still the way to go?
>
>
>
> -Gius
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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
>
------------------------------------------------------------------------------
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
[email protected]
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