<br><br><div class="gmail_quote">On Thu, Nov 17, 2011 at 3:05 AM, Neil Simmonds <span dir="ltr"><<a href="mailto:Neil.Simmonds@express-gifts.co.uk">Neil.Simmonds@express-gifts.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Hi all,<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I’ve got a requirement to take a specific action on a
unix server should we get a specific message in a log file. <u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I’m not sure this is even possible in Xymon and I
suspect I’ll have to try and work out some way of doing it with a script.
<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Perhaps an external script that will somehow check for the
message, run the relevant command to fix it and report a warning alert so that
we know it has happened.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">If there is some better way of doing it through Xymon I’d
really like to know how.</span></font></p></div></div></blockquote><div><br></div><div>Xymon clients mainly just report things to the Xymon server.  The Xymon server then evaluates the report to discover any error conditions.  It doesn't send anything back to the client if an error is found.  So, if you want the client to take remedial action, you're probably going to have to write an external test script for the client to run.</div>
<div><br></div><div>Ralph Mitchell</div></div>