Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nagios Question about host dependent service checks
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Fri Mar 01, 2013 7:02 pm    Post subject: Nagios Question about host dependent service checks Reply with quote

Hello all... Me again :)

I want to figure out a way that my service checks on a given host in nagios will not even execute if the host cannot connect. I see this:

Code:


define servicedependency{

   host_name         WWW1

   service_description      Apache Web Server

   dependent_host_name      WWW1

   dependent_service_description   Main Web Site

   execution_failure_criteria   n

   notification_failure_criteria   w,u,c

   }



I am sure this is what I want but I don't know how to configure it.

Let's say I have a service called check-storage. How do I tell this service check to not check if the host cannot connect?

Any help is GREATLY appreciated.
_________________
Brent Weaver
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum