[hobbit] zonestat : where are graphs ?
Eric Meddaugh
etmsys at rit.edu
Wed May 16 13:50:57 CEST 2007
Yes, that's the only thing I see missing as well to get it working.
The zonestat only monitors inside the global zone.
Also for "mpstat" at:
http://www.trantor.org/theshire/doku.php/monitors:mpstat
You'll need to add the "mpstat" to the hobbitserver.cfg in TEST2RRD and
GRAPHS
In the bb-hosts to enable the mpstat graphing you need the tags:
mpstat:mpstatusr|mpstatsys|mpstatwt|mpstatidl
Also for "mpstat", you'll need to add the graph definitions into
hobbitgraph.cfg:
[mpstatusr]
TITLE CPU usr Utilitization
YAXIS % Used
FNPATTERN mpstat.CPU(.*).rrd
-u 100
-r
DEF:cpu at RRDIDX@=@RRDFN@:CPU:AVERAGE
DEF:usr at RRDIDX@=@RRDFN@:usr:AVERAGE
LINE1:usr at RRDIDX@#@COLOR@:CPU at RRDPARAM@
GPRINT:usr at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:usr at RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:usr at RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:usr at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[mpstatsys]
TITLE CPU sys Utilitization
YAXIS % Used
FNPATTERN mpstat.CPU(.*).rrd
-u 100
-r
DEF:cpu at RRDIDX@=@RRDFN@:CPU:AVERAGE
DEF:sys at RRDIDX@=@RRDFN@:sys:AVERAGE
LINE1:sys at RRDIDX@#@COLOR@:CPU at RRDPARAM@
GPRINT:sys at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:sys at RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:sys at RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:sys at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[mpstatwt]
TITLE CPU wt Utilitization
YAXIS % Used
FNPATTERN mpstat.CPU(.*).rrd
-u 100
-r
DEF:cpu at RRDIDX@=@RRDFN@:CPU:AVERAGE
DEF:wt at RRDIDX@=@RRDFN@:wt:AVERAGE
LINE1:wt at RRDIDX@#@COLOR@:CPU at RRDPARAM@
GPRINT:wt at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:wt at RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:wt at RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:wt at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
[mpstatidl]
TITLE CPU idl Utilitization
YAXIS % Used
FNPATTERN mpstat.CPU(.*).rrd
-u 100
-r
DEF:num at RRDIDX@=@RRDFN@:CPU:AVERAGE
DEF:idl at RRDIDX@=@RRDFN@:idl:AVERAGE
LINE1:idl at RRDIDX@#@COLOR@:CPU at RRDPARAM@
GPRINT:idl at RRDIDX@:LAST: \: %5.1lf (cur)
GPRINT:idl at RRDIDX@:MAX: \: %5.1lf (max)
GPRINT:idl at RRDIDX@:MIN: \: %5.1lf (min)
GPRINT:idl at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
The rrd_data.pl script can be expanded for each site, we use it for more
than just mpstat and zonestat. There is a specific format it expects
the data to be in to read it quickly.
---Eric
________________________________
From: Peter Welter [mailto:peter.welter at gmail.com]
Sent: Wednesday, May 16, 2007 06:25
To: hobbit at hswn.dk
Subject: Re: [hobbit] zonestat : where are graphs ?
Wow this was the update I needed, thanks!
Trantor.org needs to be updated only for one thing as Eric said:
"
--In the hobbitserver.cfg in the TEST2RRD and GRAPHS entry:
zonestat
"
2007/5/16, Nicolas Dorfsman <ndorfsman at gmail.com>:
2007/5/14, Eric Meddaugh <etmsys at rit.edu>:
>
> You also need the follow:
Thanks a lot Eric !
Seems to miss something :
hobbitlaunch.log
2007-05-16 10:42:58 No command to pass data to
2007-05-16 10:42:58 Task rrddata terminated, status 1
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070516/59743b8d/attachment.html>
More information about the Xymon
mailing list