[xymon] iostat monitor
Vernon Everett
everett.vernon at gmail.com
Fri Sep 10 01:30:05 CEST 2010
I could just adopt a dogmatic stance, and say, "My script, my choice". End
of argument!
As true as this may be, all it will do is start a shell Jihad, and the last
thing we need on this list is a religious war.
For a less dogmatic answer, I have found some "inconsistencies" with some
versions of bash and sh which I don't like.
The most annoying one being that variables defined within some looping
constructs are no longer defined once you exit the loop.
But there are others.
That's my logical reason.
The other reason, is my comfort zone.
I worked for Sun Microsystems for a few years, mostly writing scripts to
test the OS components.
To ensure complete portability over our entire fleet (which included Linux
back then) everything was written in ksh.
I got to know it well, and liked it. I am comfortable with it.
I always assert, write your code in whatever you are most comfortable with.
If you want to convert your version to run bash, go for it.
This is the joy of open source.
Regards
Vernon
On Fri, Sep 10, 2010 at 2:03 AM, Jerald Sheets <questy at gmail.com> wrote:
> Converting to BASH now...
>
> (AIX? HP/UX? Why ksh?)
>
> --j
>
>
> On Sep 9, 2010, at 1:49 PM, Steve Holmes wrote:
>
>
>
> On Thu, Sep 9, 2010 at 1:56 AM, Vernon Everett <everett.vernon at gmail.com>wrote:
>
>> Hi all
>>
>> Just posted an iostat add-on, with graphing goodness to
>>
>> http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh
>>
>> ...
>>
>> Regards
>> Vernon
>>
>>
>>
>>
>> Vernon, thanks for this add on. It looks useful. However, I have
> installed it per the instructions and on the client it appears to be doing
> the right thing (both client and server are Solaris 10 and I'm running Xymon
> 4.2.3).
>
> Does it take a while for the graphs to fill in? I've been waiting for a
> couple of hours and they show up as broken graphs on the trends page. Not
> empty graphs, but broken. Does it matter that the SPLITNCV lines in
> hobbitgraph.cfg are the first ones I've added?
>
> Thanks,
> Steve
> --
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100910/aaa66678/attachment.html>
More information about the Xymon
mailing list