Xymon Mailing List Archive search

Feature? svcs

list Vernon Everett
Tue, 3 Aug 2010 15:16:51 +0800
Message-Id: <AANLkTim7eFNqrytj1A+9L0e_g8RJG4r=user-62025d48903c@xymon.invalid>

Hi all

I have made some major changes to how Martin's smf.sh script works.
It has changed to the extent that *it is no longer a drop-in replacement for
smf.sh*, so I created a new entry for it on Xymonton.
Have a look here. http://xymonton.trantor.org/doku.php/monitors:smf2.ksh
As mentioned in the docs, if you like the simple way of doing things, stick
with smf.sh
smf2.ksh is substanially more complicated, but can do more.

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?"

Or, to quote a master :
Historically speaking, the presence of wheels in Unix has never precluded
their reinvention. -- Larry Wall

Regards
     Vernon


On Sat, Jul 31, 2010 at 5:47 AM, Vernon Everett <user-b3f8dacb72c8@xymon.invalid>wrote:
When it's done, I'll send you the finished product, and we can discuss it
then.
And there is no way I can take all the credit - without you doing your
version, I wouldn't have bothered with mine :-)

Cheers
    Vernon


On Fri, Jul 30, 2010 at 11:23 PM, Ward, Martin <user-2d33a6eb6a05@xymon.invalid>wrote:
 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.


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).


|\/|artin

--

Martin Ward

*Manager, Technical Services*


DDI:+44 (0) 20 7863 5218 / Fax: +XX (X)XX XXXX XXXX /  www.colt.net

Colt Technology Services, Unit XX, Powergate Business Park, Volt Avenue,
Park Royal, London, NW10 6PW, UK.


Help reduce your carbon footprint | Think before you print. Registered in
England and Wales, registered number 02452736, VAT number GB 645 4205 50


*From:* Vernon Everett [mailto:user-b3f8dacb72c8@xymon.invalid]
*Sent:* 30 July 2010 12:43

*To:* xymon at xymon.com
*Subject:* Re: [xymon] Feature? svcs


Hi Martin


Gave it a try this arvo, and it looks good.
Then came the comments from my colleagues.
The comments were all good, but they wanted more. (Don't they always)

One of the features what the ability to monitor a service to ensure it was
disabled, and go red if it was enabled.

So, I started adding some features to your code. I thought I would do a
put-back as version 2.0
But it's slowly becoming very different.
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)

Once it's done, I will put it onto Xymonton as smf2 or something similar.
It's going to be different enough to warrant a new name.

Cheers
    Vernon


 [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 user-51905b889b93@xymon.invalid 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
www.colt.net or contact us on +44(0)20 7390 3900