Hello,
I have been looking to see if we can get some 'iostat' data into Xymon. However, I see that the graphs.cfg and xymonserver.cfg files already seem to be ready for an 'iostat' test. I also see that the code has a 'xymond/rrd/do_iostat.c' module.
However, I am not seeing any iostat graphs anywhere. A quick google seems to indicate that others have set up their own iostat script and run that on the client. Yet, Xymon itself looks like it is expecting iostat data, and so should be able to produce graphs.
So I'm a bit confused. If I want to monitor iostat data (I'm thinking of the wait and service times, and the percent utilised (busy)), what do I have to do to supply that data to Xymon? Do I need to modify the 'client/bin/xymonclient-linux.sh' script to include an '[iostat]' section? Or do I need to write an external script, and create my own 'iostat' test (but in that case what is the do_iostat.c code for)?
Thanks,
John.
-- John Horne, Plymouth University, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001
On 01-08-2012 22:26, John Horne wrote:
I have been looking to see if we can get some 'iostat' data into Xymon. However, I see that the graphs.cfg and xymonserver.cfg files already seem to be ready for an 'iostat' test. I also see that the code has a 'xymond/rrd/do_iostat.c' module.
However, I am not seeing any iostat graphs anywhere.
The iostat code in Xymon hasn't really been working well. The format of the data coming in from the various iostat-implementations in the operating systems have changed over time, and Xymon just hasn't kept up with those changes.
It is something that needs to be looked at sometime ... for now, don't assume that it is working.
Sorry :-(
Regards, Henrik
On Wed, 2012-08-01 at 22:29 +0200, Henrik Størner wrote:
The iostat code in Xymon hasn't really been working well. The format of the data coming in from the various iostat-implementations in the operating systems have changed over time, and Xymon just hasn't kept up with those changes.
It is something that needs to be looked at sometime ... for now, don't assume that it is working.
Sorry :-(
No problem, and thanks for the very quick reply! :-)
I'll see about setting up an external script for the clients.
John.
-- John Horne, Plymouth University, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001
What are you trying to monitor? Check here http://www.xymonton.org/monitors There is a diskstat.ksh which will graph disk IO on Solaris, and diskstat.pl was created to do the same thing for Linux. I am sure you could adapt either of those to monitor any output from the iostat command.
Regards Vernon
On 2 August 2012 04:39, John Horne <john.horne at plymouth.ac.uk> wrote:
On Wed, 2012-08-01 at 22:29 +0200, Henrik Størner wrote:
The iostat code in Xymon hasn't really been working well. The format of the data coming in from the various iostat-implementations in the operating systems have changed over time, and Xymon just hasn't kept up with those changes.
It is something that needs to be looked at sometime ... for now, don't assume that it is working.
Sorry :-(
No problem, and thanks for the very quick reply! :-)
I'll see about setting up an external script for the clients.
John.
-- John Horne, Plymouth University, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- "Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
participants (3)
-
everett.vernon@gmail.com
-
henrik@hswn.dk
-
john.horne@plymouth.ac.uk