I did some recent work on the iostat graphs that did not seem to be working. Below are some patches. There still seems to be an outstanding issue where some graph lines do not show up.
update hobbitgraph.cfg
[iostat1] TITLE I/O Percent of time the disk is Busy YAXIS Percent FNPATTERN iostat\.(.*).rrd DEF:p at RRDIDX@B=@RRDFN@:b:AVERAGE CDEF:p at RRDIDX@t=p at RRDIDX@B,5,GT,p at RRDIDX@B,UNKN,IF LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@ GPRINT:p at RRDIDX@B:LAST:busy \: %5.1lf (cur) GPRINT:p at RRDIDX@B:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@B:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@B:AVERAGE: \: %5.1lf (avg)\n
[iostat2] TITLE Average Service Time of active transactions YAXIS Milliseconds FNPATTERN iostat\.(.*).rrd DEF:p at RRDIDX@A=@RRDFN@:asvc_t:AVERAGE CDEF:p at RRDIDX@t=p at RRDIDX@A,5,GT,p at RRDIDX@A,UNKN,IF LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@ GPRINT:p at RRDIDX@A:LAST:asvc_t \: %5.1lf (cur) GPRINT:p at RRDIDX@A:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@A:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@A:AVERAGE: \: %5.1lf (avg)\n
[iostat3] TITLE Average Service Time in wait queue YAXIS Milliseconds FNPATTERN iostat\.(.*).rrd DEF:p at RRDIDX@W=@RRDFN@:wsvc_t:AVERAGE CDEF:p at RRDIDX@t=p at RRDIDX@W,5,GT,p at RRDIDX@W,UNKN,IF LINE2:p at RRDIDX@t#@COLOR@:@RRDPARAM@ GPRINT:p at RRDIDX@W:LAST:wsvc_t \: %5.1lf (cur) GPRINT:p at RRDIDX@W:MAX: \: %5.1lf (max) GPRINT:p at RRDIDX@W:MIN: \: %5.1lf (min) GPRINT:p at RRDIDX@W:AVERAGE: \: %5.1lf (avg)\n
Update bb-hosts:
0.0.0.0 hobbit-client-host # TRENDS:*,iostat:iostat1|iostat2|iostat3
Craig Cook
Systems Monitoring Consulting and Support Services http://www.cookitservices.com
Good day!
Is it possible to receive alerts with information through winpopup message?
Thanks!
Ryan
On 7/23/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
Good day!
Is it possible to receive alerts with information through winpopup message?
You can have an alert call a script, so if you write the script the answer is yes :)
The core command you're looking for is in the samba suite - "smbclient -M <HOST>", to send a message of "Goodbye" to machine "wassit" you'd do:
echo "Goodbye" | smbclient -M wassit
A quick Google for "samba winpopup" provided a few dozen examples.
-- 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
Where can I find the info about the machine like the hostname, status, date so I can put them in the script and use it for the winpopup message? I'm still a newbie and I'll appreciate more if you can give me examples..
Thanks again.
----- Original Message ----- From: "Rob MacGregor" <rob.macgregor at gmail.com> To: <hobbit at hswn.dk> Sent: Monday, July 23, 2007 4:56 PM Subject: Re: [hobbit] Hobbit Alert
On 7/23/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
Good day!
Is it possible to receive alerts with information through winpopup message?
You can have an alert call a script, so if you write the script the answer is yes :)
The core command you're looking for is in the samba suite - "smbclient -M <HOST>", to send a message of "Goodbye" to machine "wassit" you'd do:
echo "Goodbye" | smbclient -M wassit
A quick Google for "samba winpopup" provided a few dozen examples.
-- 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On 7/23/07, Ryan Jay B. Lapuz <rlapuz at fcpp.fujitsu.com> wrote:
Where can I find the info about the machine like the hostname, status, date so I can put them in the script and use it for the winpopup message? I'm still a newbie and I'll appreciate more if you can give me examples..
http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html
I've nothing similar to what you're talking about, but it's not very difficult to do.
-- 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
You may want to check out the BBTray addon from deadcat. It may give you about what you need.
=G=
-----Original Message----- From: Ryan Jay B. Lapuz [mailto:rlapuz at fcpp.fujitsu.com] Sent: Mon 7/23/2007 3:52 AM To: hobbit at hswn.dk Subject: [hobbit] Hobbit Alert
Good day!
Is it possible to receive alerts with information through winpopup message?
Thanks!
Ryan
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
craig@cookitservices.com
-
Galen.Johnson@sas.com
-
rlapuz@fcpp.fujitsu.com
-
rob.macgregor@gmail.com