Re: [Nagios-users] servicedependecy is not working

2012-12-05 Thread Andreas Ericsson
On 12/04/2012 03:52 PM, Leonardo Bacha Abrantes wrote:
 Hey Andreas,
 
 yes, that is. however if I run an passive check of nrpe, nagios does not
 send alerts. I'm testing it to confirm.
 

So the notification for '/var partition' only goes out when NRPE is in
PENDING state?

 
 on doubt:
 
 /var was checked and it failed. when it happens nagios will automaticaly
 re-check nrpe plugin or only check the current status ?

Only if active checks are enabled for the check and it can run it at the
time it wants to run the dependency check.

-- 
Andreas Ericsson   andreas.erics...@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@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


[Nagios-users] servicedependecy is not working

2012-11-30 Thread Leonardo Bacha Abrantes
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_descriptionNRPE plugin
 execution_failure_criteria c,u,p
 notification_failure_criteria  c,u,p
dependency_period   24x7
}

Can you help me please ?
--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] servicedependecy is not working

2012-11-30 Thread Assaf Flatto
On 30/11/12 16:21, 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_descriptionNRPE plugin
  execution_failure_criteria c,u,p
  notification_failure_criteria  c,u,p
 dependency_period   24x7
 }

 Can you help me please ?
for same host dependency you do not need to specify the dependent host.
also make sure that the names are exact to the services checked.

--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
Nagios-users mailing list
Nagios-users@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