<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Nadpis 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.StylE-mailovZprvy17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.Nadpis3Char
        {mso-style-name:"Nadpis 3 Char";
        mso-style-priority:9;
        mso-style-link:"Nadpis 3";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="CS" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Hi,<o:p></o:p></span></p>
<h3 style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D">I</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">`m searching best way to
<a href="http://www.google.cz/url?sa=t&source=web&cd=5&ved=0CDAQFjAE&url=http%3A%2F%2Fforums.whirlpool.net.au%2Farchive%2F1376143&rct=j&q=nagios%20event%20script%20run&ei=HGaQTNioIYT_Ocj4pNkB&usg=AFQjCNExILLu5jKz5C4Ms53aIVZ8p87dYA&cad=rja">
<span style="color:#1F497D;text-decoration:none">execute <i>script</i> on <i>event</i></span></a> but only when status become OK, not when HARD or CRITICAL,<o:p></o:p></span></h3>
<h3 style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">as described in event handlers
<a href="http://nagios.sourceforge.net/docs/3_0/eventhandlers.html">http://nagios.sourceforge.net/docs/3_0/eventhandlers.html</a><o:p></o:p></span></h3>
<h3 style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">script should be executed only when status HARD or CRITICAL is reached.<o:p></o:p></span></h3>
<h3 style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I would like to run wake on lan script when UPS status become OK – to wake up servers.<o:p></o:p></span></h3>
<h3 style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:
11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thaks for your freaks<o:p></o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Tomas<o:p></o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></h3>
<h3><span lang="EN-US"> </span><o:p></o:p></h3>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
PRIVILEGE AND CONFIDENTIALITY NOTICE<br>
This message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If you are not the intended recipient, you are hereby notified that any use of this message
 or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and delete it without reading from your computer.<br>
<br>
OBAVIJEST O POVLAŠTENOSTI I POVJERLJIVOSTI PORUKE<br>
Ova poruka i svi njezini prilozi mogu sadržavati pravno povlaštene i/ili povjerljive podatke te su isključivo namijenjeni imenovanom Primatelju. Ukoliko niste imenovani Primatelj, ovime ste obaviješteni da je svaka neovlaštena uporaba ove poruke strogo zabranjena.
 Ako ste poruku primili greškom, molimo da odmah obavijestite Pošiljatelja, te da poruku i sve priloge izbrišete sa računala bez čitanja.<br>
</font>
</body>
</html>