This thread was continued privatly. I'll post what our "example" was:
Example: entry_1 host_1 ping host_1 (uid 1) entry_2 host_2 ping host_2 (uid 2) entry_3 host_3 ping host_3 (uid 3) entry_4 router_1 check SSH port (uid 4) entry_5 router_2 check SSH port (uid 5) You want to get an ALERT if you can't ping host_1 and router_1 is down OR you can ping (host_2 or host_3) and router_2 is down You create a new entry whateverhostname_as_we_dont_use_it checktype COMBINED CHECK ([1]=down and [4]=down) or (([2]=down or [3]=down) and [5]=down) -> this would give an UP if the expression gives a TRUE, as you want to get a DOWN you change the expression to: NOT ([1]=down and [4]=down) or (([2]=down or [3]=down) and [5]=down) dirk. From: Servers Alive Discussion List [mailto:sal...@woodstone.nu] On Behalf Of Dirk Bulinckx Sent: Wednesday, April 14, 2010 10:26 AM To: Servers Alive Discussion List Subject: Re: [SA-list] RE Combined/Complex check (How to available?) Do you mean a real life example on how it can be usefull? dirk ----- Original Message ----- From: paul.gore...@okieurope.com (mailto:paul.gore...@okieurope.com) To: Servers Alive Discussion List (mailto:salive@woodstone.nu) Sent: Wednesday, April 14, 2010 9:50 AM Subject: [SA-list] RE Combined/Complex check (How to available?) Good morning! I have been searching through the documentation and the web site for some guidance regarding using the above check but can't find anything. Would it be possible to post an example of how this check is used? Thanks and Regards Paul Goretti Mob: 07525708114 Tel: 01236502637 Oki Printing Solutions 1 Oki Way Ward Park North Cumbernauld G68 0FQ ______________________________________________________________________________ Any opinions expressed in this email are those of the individual and not necessarily of the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company are confidential and solely for the use of the intended recipient. It may contain material protected by legal privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Please notify the sender immediately of the error and delete any copies of this message Warning: Although the Company has taken reasonable precautions to ensure that no viruses are present in this e-mail, the Company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments. ______________________________________________________________________________ Oki Europe Limited. Registered Office:Blays House, Wick Road, Egham TW20 0HJ. Company No:2203086. VAT No:481 011975 To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list. To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list.