Circular Service Dependencies: Better ways?
Kyle O'Donnell
kyleodonnell at gmail.com
Fri Mar 5 01:15:41 CET 2010
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 <mgius at createspace.com> 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
> Nagios-users at lists.sourceforge.net
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100304/81982e8f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list