Writing my own Scripts with RRD
Hello,
So, I took the old laard iostat script, and
made a few changes, but overall the output is
the same.
I changed the name to iostat2. I then started
send data to Hobbit. However, I can't see and
rrd files being generated.
I added iostat2 to the hobbitserver.cfg file, but
no rrd. I then did the following iostat2=iostat,
and it started inputting rrd files.
However, I was trying to stay away from iostat
and write me own test. I'm trying to figure out
how to send data to Hobbit and graph it.
If I do the suggested: iostat2=ncv, I get no rrd
data.
So, how do you get data going into Hobbit for rrd?
Can someone point me in the right direction?
I've read some of the rrd tutorials, not all. I'm trying
to do my own iostat, and mpstat commands to
track disk i/o wait and busy times, and mpstat
multiple cpu graphs. I don't need alerts, just trends
really.
Thanks.James
Please take me of this list.
--- James Wade <jkwade at futurefrontiers.com> wrote:
Hello,
So, I took the old laard iostat script, and
made a few changes, but overall the output is
the same.
I changed the name to iostat2. I then started
send data to Hobbit. However, I can't see and
rrd files being generated.
I added iostat2 to the hobbitserver.cfg file, but
no rrd. I then did the following iostat2=iostat,
and it started inputting rrd files.
However, I was trying to stay away from iostat
and write me own test. I'm trying to figure out
how to send data to Hobbit and graph it.
If I do the suggested: iostat2=ncv, I get no rrd
data.
So, how do you get data going into Hobbit for rrd?
Can someone point me in the right direction?
I've read some of the rrd tutorials, not all. I'm trying
to do my own iostat, and mpstat commands to
track disk i/o wait and busy times, and mpstat
multiple cpu graphs. I don't need alerts, just trends
really.
Thanks.James
Have a burning question?
Go to www.Answers.yahoo.com and get answers from real people who know.
On 12/14/06, Bhupendra Patel <mukhi65 at yahoo.com> wrote:
Please take me of this list.
Rather than emailing the list, try doing it yourself:
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
You will be also be able to email:
hobbit-help at hswn.dk
And get help on the mail interface.
-- Please keep list traffic on the list.
Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche
On Thursday 14 December 2006 20:02, James Wade wrote:
Hello,
So, I took the old laard iostat script, and
made a few changes, but overall the output is
the same.
I changed the name to iostat2. I then started
send data to Hobbit. However, I can't see and
rrd files being generated.
I added iostat2 to the hobbitserver.cfg file, but
no rrd. I then did the following iostat2=iostat,
and it started inputting rrd files.
However, I was trying to stay away from iostat
and write me own test. I'm trying to figure out
how to send data to Hobbit and graph it.
If I do the suggested: iostat2=ncv, I get no rrd
data.
So, how do you get data going into Hobbit for rrd?
Can someone point me in the right direction?
I've read some of the rrd tutorials, not all. I'm trying
to do my own iostat, and mpstat commands to
track disk i/o wait and busy times, and mpstat
multiple cpu graphs. I don't need alerts, just trends
really.
Following the Help->Custom Graphs doc does work. I have a number of checks that use the ncv method.
It may help to tell us what you have done so far, and possibly the output of your test.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
I've got iostat working and graphing NFS and Disk mounts using the old larrd iostat graph, but I've made changes to include NFS mounts.
So, if I write my own script, and don't use the NCV, can I use the old laard format?
BEGINKEY d0 / james /home/james ENDKEY BEGINDATA 0.0 0.4 0.0 0.2 0.0 0.0 0.0 30.3 0 1 0 0 0 0 c0t0d0s7 0.0 0.2 0.2 1.2 0.0 0.0 3.5 17.8 0 0 0 0 0 0 james ENDDATA
If so, what changes to I need to make.
I have another question, I'm working with the hobbitgraph.cfg. I have systems that have a load of NFS mounts, and the graph information gets long. However, they may have no busy or wait times, and the data is NaN. Is there a way in hobbitgraph.cfg to say don't list the filesystem if there is no data. I can eliminate the graph part by using the GT variable, but I want the system not to be listed if the data is 0.
Thanks....James
Buchan said >>>>>>>>>
Following the Help->Custom Graphs doc does work. I have a number of checks that use the ncv method.
It may help to tell us what you have done so far, and possibly the output of
your test.
Regards, Buchan
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
participants (4)
-
bgmilne@staff.telkomsa.net
-
jkwade@futurefrontiers.com
-
mukhi65@yahoo.com
-
rob.macgregor@gmail.com