<font size="2"><span style="font-family: arial,helvetica,sans-serif;">Hi all</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">I have made some major changes to how Martin's smf.sh script works.</span><br style="font-family: arial,helvetica,sans-serif;">
<span style="font-family: arial,helvetica,sans-serif;">It has changed to the extent that </span><b style="font-family: arial,helvetica,sans-serif;">it is no longer a drop-in replacement for smf.sh</b><span style="font-family: arial,helvetica,sans-serif;">, so I created a new entry for it on Xymonton.</span><br style="font-family: arial,helvetica,sans-serif;">
<span style="font-family: arial,helvetica,sans-serif;">Have a look here. <a href="http://xymonton.trantor.org/doku.php/monitors:smf2.ksh">http://xymonton.trantor.org/doku.php/monitors:smf2.ksh</a></span><br style="font-family: arial,helvetica,sans-serif;">
<span style="font-family: arial,helvetica,sans-serif;">As mentioned in the docs, if you like the simple way of doing things, stick with smf.sh</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">smf2.ksh is substanially more complicated, but can do more. </span><br style="font-family: arial,helvetica,sans-serif;">
<br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Some might not like the idea of having two ways to do the same thing. If you are one of those people, I pose to you the following question - "What do you think of Unix?"</span><br style="font-family: arial,helvetica,sans-serif;">
</font><br>Or, to quote a master :<br>Historically speaking, the presence of wheels in Unix has never precluded their reinvention. -- Larry Wall<font size="2"><br><br>Regards</font><font size="2"><span style="font-family: arial,helvetica,sans-serif;">    <br>
     Vernon</span></font><br style="font-family: verdana,sans-serif;"><font style="font-family: verdana,sans-serif;" size="2"><br></font><br><div class="gmail_quote">On Sat, Jul 31, 2010 at 5:47 AM, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com">everett.vernon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">When it's done, I'll send you the finished product, and we can discuss it then.<br>And there is no way I can take all the credit - without you doing your version, I wouldn't have bothered with mine :-)<br>
<br>Cheers<br><font color="#888888">
    Vernon</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 11:23 PM, Ward, Martin <span dir="ltr"><<a href="mailto:Martin.Ward@colt.net" target="_blank">Martin.Ward@colt.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









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

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You sure you want to rename it? I mean it does exactly the same
thing, monitoring the SMF, so I have no problems with you simply overwriting my
version and taking all the credit.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Actually, I do wonder if it shouldn't report back under the svcs
column, or is it considered bad form to have two different forms of data under
the same column heading (I do it already. I have a column called raid. For some
Sun servers it reports on metastat(1m) and on others it reports on zfs(1m)
output).</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">|\/|artin</span></p><div>

<p class="MsoNormal"><span style="color: black;">-- 
</span></p>

<p class="MsoNormal"><span style="color: black;">Martin
Ward</span></p>

<p class="MsoNormal"><b><span style="font-family: "Arial Bold"; color: black;">Manager,
Technical Services</span></b></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; color: black;" lang="IT">DDI:+44 (0) 20 7863 5218 / Fax: +44 (0)20 7863 9999 /  <a href="http://www.colt.net/" target="_blank"><span style="color: black;">www.colt.net</span></a></span></p>



<p class="MsoNormal"><span style="font-size: 10pt; color: black;">Colt Technology Services, </span><span style="font-size: 10pt; color: black;">Unit 12, Powergate Business Park,
Volt Avenue, Park Royal, London, NW10 6PW,</span><span style="font-size: 10pt; color: black;"> UK.</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 7pt; color: rgb(31, 73, 125);">Help reduce your carbon footprint | Think before you print.
Registered in England and Wales, registered number 02452736, VAT number GB 645
4205 50</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</div><div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Vernon Everett
[mailto:<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>] <br>
<b>Sent:</b> 30 July 2010 12:43<div><br>
<b>To:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [xymon] Feature? svcs</div></span></p>

</div>

</div>

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 5.25pt;">Hi Martin</p><div><br>
<br>
Gave it a try this arvo, and it looks good.<br>
Then came the comments from my colleagues.<br>
The comments were all good, but they wanted more. (Don't they always)<br>
<br>
One of the features what the ability to monitor a service to ensure it was
disabled, and go red if it was enabled.<br>
<br>
So, I started adding some features to your code. I thought I would do a
put-back as version 2.0<br>
But it's slowly becoming very different.<br>
Besides the feature above, it takes one service per line in client-local.cfg
and it's in ksh now. (I just prefer ksh over sh)<br>
<br>
Once it's done, I will put it onto Xymonton as smf2 or something similar.<br>
It's going to be different enough to warrant a new name.<br>
<br>
Cheers<br>
    Vernon</div>

<p class="MsoNormal"> </p>

</div>

</div>

[Colt Disclaimer]
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way. The contents of
this message and its attachments are confidential and may also be subject to
legal privilege. If you are not the named addressee and/or have received this
message in error, please advise us by e-mailing <a href="mailto:abuse@colt.net" target="_blank">abuse@colt.net</a> and delete the
message and any attachments without retaining any copies. Internet
communications are not secure and Colt does not accept responsibility for this
message, its contents nor responsibility for any viruses. No contracts can be
created or varied on behalf of Colt Technology Services, its subsidiaries,
group companies or affiliates ("Colt") and any other party by email
communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to <a href="http://www.colt.net" target="_blank">www.colt.net</a> or contact us on +44(0)20 7390 3900
</div>


</blockquote></div><br>
</div></div></blockquote></div><br>