Hello, <br><br>I'm pretty sure you just use a ! (bang) to filter out your ping test:<br><br>
define servicedependency{<br>
        host_name                       Mickeymouse<br>
        service_description             PING<br>
        dependent_host_name             Mickeymouse<br>
        dependent_service_description   *, !PING<br>
        execution_failure_criteria      c,p,u<br>
        notification_failure_criteria   c,u,p<br>
        }<br><br>It might need to be on another line.  I haven't used the bang in this context before,  but it should work.<br><br>Janet<br><br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 5:33 AM, Assaf Flatto <<a href="mailto:assaf.flatto@ssp.uk.com">assaf.flatto@ssp.uk.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello<br>
<br>
I'm tweaking around with service dependencies and wanted to ask something that when i think about it<br>
will fail , but i  still keep the hope that nagios inner logic will not see mt setup so literally<br>
and work as i hope it will.<br>
<br>
I have a host with 23 services checked on it (i have several of those and i'm being lazy hence this<br>
question) :<br>
i want to define all the services on the server as being dependent on the ping ( connectivity comes<br>
first , after all) , but instead of type all the other services names , i want to do the "catch<br>
all" and be done with is .<br>
My question is - will nagios be smart enough to understand that the ping is not included in the * ?<br>
seems logical that it will be excluded since it is the Master service , but i am don't want to<br>
assume anything.<br>
<br>
define servicedependency{<br>
        host_name                       Mickeymouse<br>
        service_description             PING<br>
        dependent_host_name             Mickeymouse<br>
        dependent_service_description   *<br>
        execution_failure_criteria      c,p,u<br>
        notification_failure_criteria   c,u,p<br>
        }<br>
<br>
 Assaf<br>
<br>
<br>
<br>
<br>
<br>
IMPORTANT . this email and the information in it may be confidential, legally<br>
privileged and/or protected by law. It is intended solely for the use of the<br>
person to whom it is addressed. If you are not the intended recipient, please<br>
notify the sender immediately and do not disclose the contents to any other<br>
person, use it for any purpose, or store or copy the information in any medium.<br>
Please also delete all copies of this email and any attachments from your<br>
system.<br>
<br>
We cannot guarantee the security or confidentiality of email communications. We<br>
do not accept any liability for losses or damages that you may suffer as a<br>
result of your receipt of this email including but not limited to computer<br>
service or system failure, access delays or interruption, data non-delivery or<br>
mis-delivery, computer viruses or other harmful components.<br>
<br>
Copyright in this email and any attachments belong to Select Service Partner UK<br>
Limited. Should you communicate with anyone at Select Service Partner UK Limited by<br>
email, you consent to us monitoring and reading any such correspondence.<br>
<br>
Nothing in this email shall be taken or read as suggesting, proposing or<br>
relating to any agreement concerted practice or other practice that could<br>
infringe UK or EC competition legislation.<br>
<br>
Select Service Partner UK Limited is a company registered in England and Wales<br>
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY<br>
<br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>