Hi all
Just posted an iostat add-on, with graphing goodness to
http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh
Something interesting, for perverse values of interesting, is myself and Roland Soderstrom were discussing it in the thread titled custom check / graphs with multiple rrd files.
None of my last 3 posts to that thread have appeared in the list archive. This is not the first time this has happened to me. It's beginning to look that posts are dropping off threads if the thread gets too long.
Is this a mailing list issue, or a Gmail issue? Anybody else with Gmail experience this?
Regards Vernon
Just updated the code. Minor change. After discussion with a colleague we thought that a 2 second iostat sample might not be adequate. We settled on 10, but with the update, I have made it a parameter, which can be set at server side.
Cheers Vernon
On Thu, Sep 9, 2010 at 1:56 PM, Vernon Everett <everett.vernon at gmail.com>wrote:
Hi all
Just posted an iostat add-on, with graphing goodness to
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100910/3eb84e15/attachment.html>
Hi Roland
A good comment, and one I did consider. My concern with a long sample, is that it becomes "too averaged". If I put one hand in the fire, and the other in liquid nitrogen, on average, I am doing fine, right? :-)
I think it's one of those things that will need to be flavoured to taste, depending on your requirements, which is why I changed it to be a soft parameter that could be set at server-side. Ultimately, there is no difference in the results of running iostat 300 13 every hour, and iostat 300 2 every 5 minutes for one hour. And will save a lot of coding :-)
Cheers Vernon
On Fri, Sep 10, 2010 at 5:56 AM, Roland Soderstrom < rolands at logicaltech.com.au> wrote:
Vernon, I have an comment.
100 dollar bill -If you have a 10sec iostat which you run every 5min, as you set the test to run, you get huge gaps. -
Say that your server always have a lot of IO every 3min for 1 min. -
You will probably miss all this IO, set it to the same as the clientlaunch time 5min = 300 in the script. -
iostat need to run constantly to make accurate measurements. -
That's why you see the default do 300 sec. -
To get better accuracy you should probably run "iostat dxn 300 13" and run the script from clientlaunch every hour. A bit more coding to take care of the 11 "new" iostat though.
- Roland
On 9/09/10 06:56 PM, Vernon Everett wrote:
Just updated the code. Minor change. After discussion with a colleague we thought that a 2 second iostat sample might not be adequate. We settled on 10, but with the update, I have made it a parameter, which can be set at server side.
Cheers Vernon
On Thu, Sep 9, 2010 at 1:56 PM, Vernon Everett <everett.vernon at gmail.com>wrote:
Hi all
Just posted an iostat add-on, with graphing goodness to
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
I see 12 messages in the thread, the last being yours about 6 hours ago saying:
"Added the hobbitgraph stuff."
Ralph Mitchell
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
Something interesting, for perverse values of interesting, is myself and Roland Soderstrom were discussing it in the thread titled
custom check / graphs with multiple rrd files.
None of my last 3 posts to that thread have appeared in the list archive. This is not the first time this has happened to me. It's beginning to look that posts are dropping off threads if the thread gets too long.
Is this a mailing list issue, or a Gmail issue? Anybody else with Gmail experience this?
Regards Vernon
Great work !
one question, is it possible to added iostat for zpools ?
Especially for Solaris 10 machines i think, zpools are the defaults, isn't it ?
thanks & cheers
martin
On Thu, 9 Sep 2010, Ralph Mitchell wrote:
I see 12 messages in the thread, the last being yours about 6 hours ago saying: "Added the hobbitgraph stuff."
Ralph Mitchell
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 tohttp://xymonton.trantor.org/doku.php/monitors:diskstat.ksh Something interesting, for perverse values of interesting, is myself and Roland Soderstrom were discussing it in the threa d titled
custom check / graphs with multiple rrd files. None of my last 3 posts to that thread have appeared in the list archive. This is not the first time this has happened to me. It's beginning to look that posts are dropping off threads if the thread gets too long.
Is this a mailing list issue, or a Gmail issue? Anybody else with Gmail experience this? Regards Vernon
Indeed, they eventually appeared. It's puzzling. Every so oftten, mails I post to the list just vanish. Sometimes, they appear later. They are in my sent items, but just don't appear on the list or the archive.
I am trying to detect a pattern, but so far nothing. I have even investigated the highly likely possibility of it being a PEBKAC. But it doesn't appear to be.
I will keep investigating.
Cheers Vernon
On Thu, Sep 9, 2010 at 9:05 PM, Ralph Mitchell <ralphmitchell at gmail.com>wrote:
I see 12 messages in the thread, the last being yours about 6 hours ago saying:
"Added the hobbitgraph stuff."Ralph Mitchell
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
Something interesting, for perverse values of interesting, is myself and Roland Soderstrom were discussing it in the thread titled
custom check / graphs with multiple rrd files.
None of my last 3 posts to that thread have appeared in the list archive. This is not the first time this has happened to me. It's beginning to look that posts are dropping off threads if the thread gets too long.
Is this a mailing list issue, or a Gmail issue? Anybody else with Gmail experience this?
Regards Vernon
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
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
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
Hmmm. I did forget the graph definitions, and added them shortly afterwards. Did you get the graph definitions to add to hobbitgraph.cfg? I started getting lines appear after 15 minutes. (about what you would expect)
Did you restart hobbit server? Remember, significant changes to hobbitserver.cfg do require a restart. Don't know if these changes are classified as significant enough, but I did a restart anyway.
Let me know how you go.
Regards Vernon
On Fri, Sep 10, 2010 at 1:49 AM, Steve Holmes <sholmes42 at mac.com> 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
Wherever you go, there you are.
On Sep 9, 2010, at 7:33 PM, Vernon Everett <everett.vernon at gmail.com> wrote:
Hmmm. I did forget the graph definitions, and added them shortly afterwards. Did you get the graph definitions to add to hobbitgraph.cfg? I started getting lines appear after 15 minutes. (about what you would expect)
Yes I got all of those definitions I think.
Did you restart hobbit server?
Yes, I did that, too. I won't get back to this for a few days, but I will double check. I am getting rrd files, if that makes any difference.
Thanks, Steve
Remember, significant changes to hobbitserver.cfg do require a restart. Don't know if these changes are classified as significant enough, but I did a restart anyway.
Let me know how you go.
Regards Vernon
On Fri, Sep 10, 2010 at 1:49 AM, Steve Holmes <sholmes42 at mac.com> 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
On Thursday, 9 September 2010 06:56:25 Vernon Everett wrote:
Hi all
Just posted an iostat add-on, with graphing goodness to
http://xymonton.trantor.org/doku.php/monitors:diskstat.ksh
Something interesting, for perverse values of interesting, is myself and Roland Soderstrom were discussing it in the thread titled custom check / graphs with multiple rrd files.
In devmon, there is a linux-netsnmp template with a diskio check, which works for Linux hosts running net-snmp.
If the RRD details are the same, it would be nice to keep things consistent ...
BTW, are you just using this for trends, or are you alerting on it?
Regards, Buchan
participants (9)
-
bgmilne@staff.telkomsa.net
-
everett.vernon@gmail.com
-
hobbit@epperson.homelinux.net
-
martin.flemming@desy.de
-
questy@gmail.com
-
ralphmitchell@gmail.com
-
rolands@logicaltech.com.au
-
sholmes42@gmail.com
-
sholmes42@mac.com