<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/07/14 18:19, Martin Sperl wrote:<br>
</div>
<blockquote
cite="mid:ED4469082EFD4F479C4E4B4D469697ADD1591C6B@ILRAADAGBE4.corp.amdocs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@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";}
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;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="DE-AT">Hi!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal">Is there any cookbook for how to handle
servers in AWS that get started shut down elastically form the
xymon side – avoiding alerts and such?<o:p></o:p></p>
<p class="MsoNormal">Essentially automatically “disabling”
servers (maybe even a different colour/status to see why?)
either on the client side on shutdown via agent or via a
callback from AWS but automatically reenabling it when they
start up again?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any experience?<o:p></o:p></p>
<br>
</div>
</blockquote>
No experience as such, but you could use the xymon client to send a
disable status for the machine from the shutdown scripts. Just
trigger it to run as one of the last processes on shutdown.<br>
<br>
Then, on startup, you can either send an enable, or use the option
to "enable on recovery".<br>
<br>
You should probably test and ensure the following will work as
expected:<br>
1) red status on something (eg, disk full)<br>
2) machine shutdown, disable sent<br>
3) machine startup, without enable, you send a disk red status
(still full)<br>
4) xymon doesn't see the red status or alert for disk because it is
still bad/disabled.<br>
<br>
So, probably best to send an explicit enable on startup, and ensure
that alerts and status updates are working.<br>
<br>
Regards,<br>
Adam<br>
<br>
<div class="moz-signature">-- <br>
Adam Goryachev
Website Managers
<a class="moz-txt-link-abbreviated" href="http://www.websitemanagers.com.au">www.websitemanagers.com.au</a></div>
</body>
</html>