<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR><!--[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-face {
font-family: Maiandra GD;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 3.0cm 70.85pt 3.0cm; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EstiloDeEmail17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1028" />
</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=PT-BR vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=558070214-05032008><FONT face=Garamond
color=#0000ff>This is a perl script that I use. very informational,
very configurable</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Bráulio
H. Soares<BR><B>Sent:</B> Wednesday, March 05, 2008 6:53 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Add
information in notification<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">Hi
people,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">I need to send the
notifications with a comment, including information about the incident, instead
only information about host or service…<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">I think to achieve this
using event handler, with scripts that send e-mail containing that message, but
I not able to do this, because the user could receive two e-mail, the first
could be a notification and the second the “incident information”, generated by
the script.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">Can I to add “environment
variables” (like $HOSTALIAS$ or $HOSTSTATE$) in the Nagios, using to send the
enhanced information?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">(The attachment contains a
example of the e-mail I need. The additional information should be below the
“topic” <B><SPAN style="FONT-WEIGHT: bold">Techinical
Info</SPAN></B>).<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">Thanks for
advance.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">Best
Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Maiandra GD" size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Maiandra GD'">brHS.</SPAN></FONT><!--[if gte vml 1]><v:shapetype
id="_x0000_m1026" coordsize="21600,21600" o:spt="100" o:preferrelative="t"
adj="0,,0" path="" filled="f">
<v:stroke joinstyle="miter" />
<v:formulas/>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><![endif]--><FONT face=Arial size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></DIV>
<P><I><SMALL>Aviso de Confidencialidade: As informações contidas nesta mensagem
de e-mail, incluindo quaisquer anexos, são confidenciais, e estão destinadas
apenas à pessoa ou entidade para a qual foi diretamente endereçada. Se você não
é o destinatário, nem o empregado ou agente responsável por encaminhar esta
mensagem ao destinatário, então você está notificado de que não deverá rever,
retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou
seus anexos. Se você recebeu este e-mail por engano, por favor, contate o
remetente imediatamente e apague (delete) esta mensagem de seu computador ou de
qualquer outro banco de dados. Opiniões pessoais, comentários e conclusões não
são endossados pela Halógica Tecnologia e devem ser desconsideradas. Obrigado.
<P>Confidentiality Notice: The information contained in this email message,
including any attachment, is confidential and is intended only for the person or
entity to which it is addressed. If you are neither the intended recipient nor
the employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you may not review, retransmit, convert
to hard copy, copy, use or distribute this email message or any attachments to
it. If you have received this email in error, please contact the sender
immediately and delete this message from any computer or other data bank.
Personal opinions, remarks and conclusions are not endorsed by Halógica
Tecnologia, and must be disconsidered. Thank you.</I></SMALL> </P></BODY></HTML>