<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-1">
<meta name="Generator" content="Microsoft Word 15 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">please, can anybody explain if i either understand something wrong or if i have a failure in my Xymon setup?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">First, let me find a few words about my constellation and then, let me explain my problem…..<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This is my constellation:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">I have a server “SERVER-A.my.domain” that is running “SERVICE-A”.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">I have another server “SERVICE-A-CONN-CHECK” which is verifying if the service “SERVICE-A” is reachable on “SERVER-A.my.domain”<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">This server “SERVICE-A-CONN-CHECK” sends the result to the column “SERVICE-A” (-and not to the svcs column-) for the host “SERVER-A.my.domain”  on my Xymon server.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">The main reason why I’m doing this in this constellation is, that server “SERVICE-A-CONN-CHECK” is located in another datacenter on a different subnet and I want to make sure that service “SERVICE-A”
 is available from that other datacenter.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">All of this is working like a charm.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">Further, i’ve configured the following in my alerts.cfg:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                HOST=SERVER-A.my.domain SERVICE=SERVICE-A<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                SCRIPT /opt/xymon/server/ext/html_mail.pl emailaddress@my.domain COLOR=red FORMAT=PLAIN RECOVERED<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">SCRIPT /opt/xymon/server/ext/SERVER-A/reboot-SERVER-A.sh COLOR=RED<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">The idea behind this is to receive an email in html format once “SERVER-A.my.domain” has error condition red on service “SERVICE-A” and to receive a recovered email as well.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">And, in addition to that, the policy in our company is, that server “SERVER-A.my.domain” needs to be rebooted once service “SERVICE-A” has error condition red.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">This is done using the second SCRIPT statement from the above.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Basically, all of the above is working.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now here’s my question:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">From the web ui of my Xymon server I have set all the columns of “SERVER-A.my.domain” to disabled for 1 hour due to service reasons.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">I have verified that all of the columns changed their color to blue before doing the service on “SERVER-A.my.domain”.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">Once the colors have changed we have stopped “SERVICE-A” on “SERVER-A.my.domain”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">And then, I did receive an email notification about that fact and the server “SERVER-A.my.domain” was rebooted by the script line from the statement in alerts.cfg.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">During this, all of the columns for that server were still blue.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My understanding was that way, that Xymon does NOT process a HOST-based statement (and the there configured rules) in alerts.cfg, if that HOST is disabled in Xymon?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Or does this only mean, that Xymon does not show this fact as red condition on the web ui?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I hope my situation is described clearly enough…. If not, let me know, I’ll try to explain better then….<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hope anybody can lead me to the light….<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Christian<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Christian Becker</span></b><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><br>
IT-Services<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><a href="mailto:Christian.Becker@rhein-zeitung.net"><span style="color:#0563C1">Christian.Becker@rhein-zeitung.net</span></a></span><u><span lang="EN-US" style="color:#0563C1;mso-fareast-language:DE"><o:p></o:p></span></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">_________________________________</span><span style="mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:10.0pt"><span style="font-size:7.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Mittelrhein-Verlag GmbH<br>
August-Horch-Straße 28<br>
D-56070 Koblenz</span><span style="mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:2.0pt;line-height:10.0pt"><span style="font-size:7.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE">Verleger und Geschäftsführer: Walterpeter Twer<br>
Reg.-Gericht Koblenz HRB 121<br>
Finanzamt Koblenz Str.Nr. 22 65 10 285 2</span><span style="mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:4.0pt"><span style="font-size:7.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"><a href="http://www.rhein-zeitung.de/"><span style="color:blue">www.rhein-zeitung.de</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>