servicedependecy is not working

Andreas Ericsson ae at op5.se
Tue Dec 4 10:24:06 CET 2012


On 11/30/2012 05:21 PM, Leonardo Bacha Abrantes wrote:
> Hi guys,
> 
> I use nrpe to monitor my machines and I configured servicedependency (see
> below), however, nagios still sending alerts when nrpe is on critical state.
> 
> define servicedependency{
>           dependent_host_name           srv1
>           dependent_service_description  /var Partition
>           host_name                 srv1
>           service_description            NRPE plugin
>           execution_failure_criteria     c,u,p
>           notification_failure_criteria  c,u,p
>          dependency_period               24x7
> }
> 
> Can you help me please ?
> 

Well, you should be getting a notification about 'NRPE plugin' even
with this servicedependency in place. Are you saying you get one for
'/var partition' as well, even if the 'NRPE plugin' check is either
critical, unknown or pending?

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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