Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/solaris/io_disk | ||
|---|---|---|
| 8 | 8 |
|
| 9 | 9 |
These functions are implemented: |
| 10 | 10 |
ops : similar to iostat r/s, w/s |
| 11 |
bytes : similar to iostat kr/s, kw/s
|
|
| 11 |
bytes : similar to iostat kr/s, kw/s |
|
| 12 | 12 |
busy : similar to iostat %b, %w (%w usually indicates 0 in Sol10,11) |
| 13 | 13 |
queue : similar to iostat actv, wait |
| 14 | 14 |
latency : similar to iostat asvc_t, wsvc_t |
| ... | ... | |
| 25 | 25 |
cd /path/to/munin/etc/plugins |
| 26 | 26 |
ln -s /path/to/munin/lib/plugins/io_disk . |
| 27 | 27 |
|
| 28 |
The RRD files generated by io_busy_, io_ops_, io_bytes_ can be taken over
|
|
| 28 |
The RRD files generated by io_busy_, io_ops_, io_bytes_ can be taken over |
|
| 29 | 29 |
by this plugin. |
| 30 | 30 |
Thus, please remove symlinks of those plugins before using this plugin. |
| 31 | 31 |
|
| 32 |
By default, this plugin monitors disk devices. And also it can monitor
|
|
| 32 |
By default, this plugin monitors disk devices. And also it can monitor |
|
| 33 | 33 |
NFS and Tape devices as much as io_* plugins with setting environments. |
| 34 | 34 |
|
| 35 | 35 |
Note that instance names of nfs (e.g. nfs1) can be changed after reboot or |
| ... | ... | |
| 41 | 41 |
example: env.class /disk|nfs|tape/ |
| 42 | 42 |
default: disk |
| 43 | 43 |
|
| 44 |
env.module - Module name. Only used in internal graph name.
|
|
| 44 |
env.module - Module name. Only used in internal graph name. |
|
| 45 | 45 |
example: env.module something |
| 46 | 46 |
default: sd |
| 47 | 47 |
|
| ... | ... | |
| 102 | 102 |
: "${graph_width:=}"
|
| 103 | 103 |
|
| 104 | 104 |
# Create map of instance name (e.g. sd0) and logical device name (e.g. c0t0d0) |
| 105 |
# Example:
|
|
| 105 |
# Example: |
|
| 106 | 106 |
# name_sd1=c0t0d0 |
| 107 | 107 |
# name_ssd2=c0tAB_1234d0 (shorten long target) |
| 108 | 108 |
# ... |
| ... | ... | |
| 213 | 213 |
latency|size) |
| 214 | 214 |
for stat in reads writes |
| 215 | 215 |
do |
| 216 |
echo "${dev}_${stat}.label dummy"
|
|
| 216 |
echo "${dev}_${stat}.label dummy"
|
|
| 217 | 217 |
echo "${dev}_${stat}.graph no"
|
| 218 | 218 |
echo "${dev}_${stat}.type DERIVE"
|
| 219 | 219 |
echo "${dev}_${stat}.min 0"
|
| ... | ... | |
| 243 | 243 |
esac |
| 244 | 244 |
|
| 245 | 245 |
# Print data attributes |
| 246 |
echo "${dev}_${conf_out}.label dummy"
|
|
| 246 |
echo "${dev}_${conf_out}.label dummy"
|
|
| 247 | 247 |
echo "${dev}_${conf_out}.graph no"
|
| 248 | 248 |
echo "${dev}_${conf_out}.type DERIVE"
|
| 249 | 249 |
echo "${dev}_${conf_out}.min 0"
|
Formats disponibles : Unified diff