<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@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:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:Calibri;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
span.E-mailSignatureChar
{font-family:Calibri;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This is the exact situation an
eventhandler is meant for. Why would you want to go creating another method
when the logic is already laid out for you? At best you could have the plugin
spit out the name of the flag file to be removed so your eventhandler could do
an rm –f <i><span style='font-style:italic'>filename</span></i> or however you
want to go about it.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoAutoSig><font size=2 color="#548dd4" face=Calibri><span
style='font-size:11.0pt;color:#548DD4'>Stephen Valdinger<o:p></o:p></span></font></p>
<p class=MsoAutoSig><span style='mso-themecolor: text2;mso-themetint: 153'><font
size=2 color=navy face=Calibri><span style='font-size:11.0pt;color:navy'>MIS
Helpdesk Coordinator<o:p></o:p></span></font></p>
</span>
<p class=MsoAutoSig><span style='mso-themecolor: accent3;mso-themeshade: 191'><font
size=2 color=navy face=Calibri><span style='font-size:11.0pt;color:navy'>330.365.3622
-O<o:p></o:p></span></font></p>
</span>
<p class=MsoAutoSig><span style='mso-themecolor: accent3;mso-themeshade: 191'><font
size=2 color=navy face=Calibri><span style='font-size:11.0pt;color:navy'>740.491.0958
- C<o:p></o:p></span></font></p>
</span>
<p class=MsoAutoSig><span style='mso-themecolor: accent5;mso-themeshade: 191'><font
size=2 color=navy face=Calibri><span style='font-size:11.0pt;color:navy'>svalding@doverchem.com<o:p></o:p></span></font></p>
</span>
<p class=MsoNormal><span style='mso-themecolor: accent5;mso-themeshade: 191'><font
size=3 color="#31849b" face="Times New Roman"><span style='font-size:12.0pt;
color:#31849B'><img width=138 height=115 id="_x0000_i1027"
src="cid:image001.jpg@01C8E047.C8F8D670"></span></font><o:p></o:p></p>
</div>
</span>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Xavier LEVRAT
[mailto:xlevrat@yahoo.fr] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, July 07, 2008 11:11
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-devel@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-devel]
[NAGIOS-DEVEL] trigger a plugin on acknowledge</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hi List ! <br>
<br>
We'd like to trigger a plugin when we acknowledge a service problem. We don't
want to use a eventhandler because this operation has to be manual. (ex : When
a flag file is present in a directory, nagios raises a service problem.
Acknowledging this problem will trigger a plugin that do a rm on the file.)<br>
<br>
Is it possible to do it with the curent NAGIOS logic ? <br>
<br>
I 've started writing a patch to add a 'acknowledge_handler' directive in the
service definition, but I don't like the idea of using a custom NAGIOS on a
production sytem ...<br>
<br>
Thx<br>
<br>
Xavier<br>
<br>
<o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=1 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Envoyé avec <a
href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.com/evt=52423/*http:/fr.docs.yahoo.com/mail/overview/index.html">Yahoo!
Mail</a>.<br>
Une boite mail plus intelligente. <o:p></o:p></span></font></p>
</div>
</body>
</html>