<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:x="urn:schemas-microsoft-com:office:excel" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 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","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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Arial","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 85.05pt 70.85pt 85.05pt;}
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=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:black'>HI Everyone, <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>Hope all is well with all of you,
I have a problem that someone might be able to help. I am running Nagios 2.7
on RHES 4.0. <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>My problem is that I have several
contact groups, and a wrong group is receiving the notifications. I have
looked at the host setup, the service setup and the templates, they all look
like they are set up correctly. AM I missing something here?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>define service{<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
use ping-service<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
host_name co-csm01<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
service_description REAL-10.129.210.69 XXXMAIL<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
contact_groups wan<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
check_command
check_slbrealstate!2.7.67.80.83.77.65.73.76.10.129.210.69.0!10.129.210.69!10.129.1.1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>}<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>define host{<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'> use
core-server<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'> host_name
co-csm01<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'> alias Cisco
Load Balancer<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'> address
10.129.208.4<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'># parents
co6509-1 co6509-2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'> }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>define service{<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
name ping-service<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
is_volatile 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
check_period 24x7<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
max_check_attempts 3<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
normal_check_interval 10<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
retry_check_interval 2<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
notification_interval 120<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
notification_period 24x7<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
notification_options c,r<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
active_checks_enabled 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
passive_checks_enabled 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
parallelize_check 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
obsess_over_service 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
check_freshness 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
notifications_enabled 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
event_handler_enabled 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
flap_detection_enabled 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
process_perf_data 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
retain_status_information 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
retain_nonstatus_information 1<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'>
register 0<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'> }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>So the only people that should be
notified should be the ones in the wan group.. but others are getting
notified, I just can’t place my finger on this one. <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'>Luis<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><b><i><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Luis F. Lacayo<o:p></o:p></span></i></b></p>
</div>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <b>On Behalf Of </b>Émerson
Brum<br>
<b>Sent:</b> Monday, July 16, 2007 8:08 AM<br>
<b>To:</b> nagios-users@lists.sourceforge.net<br>
<b>Subject:</b> [Nagios-users] implementing<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=PT-BR style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hello
list,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=PT-BR style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
have been trying to understand the nagios code for a long time. Nagios has a
complex code event thought I understand C. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
would like to add two fields more to show those information in two screens
(extinfo.cgi and status.cgi). <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>My
ideia is quiet simple: type in localhost.conf a text or a simple word and this
same word appears in extinfo.cgi and status.cgi.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Actually
I could do it, changing some lines in some files but all the commands from
extinfo screen are not working anymore.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Is
there someone who has already done something like this before or has anyone
with some ideia?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thank
you so much for your attention.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=PT-BR style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Att.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=PT-BR style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Émerson P. Brum<br>
-----------------------------------------------------------<br>
Assessor de Suporte- Telemática / NOC<br>
E-mail: <a href="mailto:emerson_brum@sicredi.com.br">emerson_brum@sicredi.com.br</a><br>
(51) 3358-8886<br>
-----------------------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=PT-BR style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Confederação Sicredi – Porto Alegre - RS<br>
SICREDI: <a href="http://www.sicredi.com.br">http://www.sicredi.combr</a><o:p></o:p></span></p>
<p class=MsoNormal><span lang=PT-BR><o:p> </o:p></span></p>
<table class=MsoNormalTable border=0 cellpadding=0>
<tr>
<td style='background:white;padding:.75pt .75pt .75pt .75pt'><pre><span
style='color:black'>As informacoes contidas neste e-mail e nos arquivos anexados podem ser informacoes confidenciais ou privilegiadas. Caso voce nao seja o destinatario correto, apague o conteudo desta mensagem e notifique o remetente imediatamente.<o:p></o:p></span></pre></td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>