<div dir="ltr">On 12 April 2013 21:56, SebA <span dir="ltr"><<a href="mailto:spah@syntec.co.uk" target="_blank">spah@syntec.co.uk</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

FYI, the md5 is different for me though:<br>
$ xymondigest md5 /selinux/enforce<br>
md5:c4ca4238a0b923820dcc509a6f75849b<br></blockquote><div><br></div><div style>Yes, I was checking for the file to contain "0" rather than "1".   If the MD5 of the file matched the MD5 hash of "0", then it would go red, otherwise (default) green.  But I think I've mis-read the "checksum" part of the analysis.cfg man page, and got the logic back-to-front.</div>

<div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Presumably I could allow xymon user to run /sbin/iptables-save with sudo<br>


though as I did.</blockquote><div><br></div><div>Yes, I'd have done this, so that another script isn't required.<br></div><div style><br></div><div style><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

 I guess that's a bit trickier...  <br></blockquote><div><br></div><div style>How so?</div><div style><br></div><div style>Glad it's working for you.</div><div><br></div></div><div style>Cheers</div><div style>Jeremy</div>

<div style><br></div></div></div></div>