<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=us-ascii">
<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;}
@font-face
{font-family:"OCR A Extended";
panose-1:2 1 5 9 2 1 2 1 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-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.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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>I am running Xymon-4.3.0-0.beta2 on CentOS 5.3.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>When I create a bash shell script to be used from the
hobbit-alerts.cfg file, <o:p></o:p></p>
<p class=MsoNormal>I only receive one alert for going DOWN and one for RECOVERY.<o:p></o:p></p>
<p class=MsoNormal>Is this by design?<o:p></o:p></p>
<p class=MsoNormal>Do you only get multiple alerts for down if you request
them? REPEAT=30m<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I have monitor2 watching monitor1 and if connectivity fails,
it assumes the responsibilities of monitor1 until monitor1 is available.<o:p></o:p></p>
<p class=MsoNormal>The script watches for events DOWN (1<sup>st</sup> time) and
RECOVER to move the appropriate files for alerting.<o:p></o:p></p>
<p class=MsoNormal>I have both systems monitoring but only one alerting.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The files are kept current by using RSYNC between the two
systems. This also creates a backup of each system on the opposite system
for a re-build.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The seconds question is then, if I want to have an escalation
to the next level up, do I have to use the same HOST entry or do I create a
separate one?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>HOST=monitor1.csw.l-3com.com SERVICE=conn RECOVERED
DURATION>9m<o:p></o:p></p>
<p class=MsoNormal> MAIL
D.Tom.Schmitt@L-3Com.com COLOR=red REPEAT=4d<o:p></o:p></p>
<p class=MsoNormal> SCRIPT
/home/xymon/SCRIPTS/takeover.sh 911<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>2<sup>nd</sup> entry for escalation:<o:p></o:p></p>
<p class=MsoNormal>HOST=monitor1.csw.l-3com.com SERVICE=conn RECOVERED
DURATION>1h<o:p></o:p></p>
<p class=MsoNormal> MAIL The.Boss@L-3Com.com
COLOR=red REPEAT=4d<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Thanks,<o:p></o:p></span></i></b></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></i></b></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Tom Schmitt<o:p></o:p></span></i></b></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Senior IT Staff -
R&D</span></i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Phone (801) <i>594-3030</i><o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Cell
(801) 231-7230<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:
none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>D.Tom.Schmitt@L-3Com.com<o:p></o:p></span></i></b></p>
<p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:
none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>
</span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>\\\\||////<o:p></o:p></span></b></p>
<p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:
none'><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>
\ ~ ~ / </span></b><b><i><span style='font-size:8.0pt;font-family:
"Arial","sans-serif"'><o:p></o:p></span></i></b></p>
<p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:
none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>
</span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>|
@ @ | </span></b><b><i><span style='font-size:8.0pt;
font-family:"Arial","sans-serif"'><o:p></o:p></span></i></b></p>
<p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:
none'><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>--oOo---(_)---oOo--</span></b><b><i><span
style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></i></b></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>