Révision 2b97e21d
COUNTER instead of DERIVE
| plugins/emc/emc_vnx_block_lun_perfdata | ||
|---|---|---|
| 137 | 137 |
${LUN}_read.graph no
|
| 138 | 138 |
${LUN}_read.min 0
|
| 139 | 139 |
${LUN}_read.draw AREA
|
| 140 |
${LUN}_read.type DERIVE
|
|
| 140 |
${LUN}_read.type COUNTER
|
|
| 141 | 141 |
${LUN}_write.label $LUN Blocks
|
| 142 | 142 |
${LUN}_write.negative ${LUN}_read
|
| 143 |
${LUN}_write.type DERIVE
|
|
| 143 |
${LUN}_write.type COUNTER
|
|
| 144 | 144 |
${LUN}_write.min 0
|
| 145 | 145 |
${LUN}_write.draw STACK"
|
| 146 | 146 |
done <<< $LUNLIST |
| ... | ... | |
| 154 | 154 |
echo "${LUN}_readreq.label none
|
| 155 | 155 |
${LUN}_readreq.graph no
|
| 156 | 156 |
${LUN}_readreq.min 0
|
| 157 |
${LUN}_readreq.type DERIVE
|
|
| 157 |
${LUN}_readreq.type COUNTER
|
|
| 158 | 158 |
${LUN}_writereq.label $LUN Requests
|
| 159 | 159 |
${LUN}_writereq.negative ${LUN}_readreq
|
| 160 |
${LUN}_writereq.type DERIVE
|
|
| 160 |
${LUN}_writereq.type COUNTER
|
|
| 161 | 161 |
${LUN}_writereq.min 0"
|
| 162 | 162 |
done <<< $LUNLIST |
| 163 | 163 |
|
| ... | ... | |
| 173 | 173 |
echo "" |
| 174 | 174 |
while read -r LUN ; do |
| 175 | 175 |
echo "${LUN}_busyticks_spa.label $LUN Busy Ticks SPA
|
| 176 |
${LUN}_busyticks_spa.type DERIVE
|
|
| 176 |
${LUN}_busyticks_spa.type COUNTER
|
|
| 177 | 177 |
${LUN}_busyticks_spa.graph no
|
| 178 | 178 |
${LUN}_bta.label $LUN Busy Ticks SPA
|
| 179 | 179 |
${LUN}_bta.graph no
|
| 180 | 180 |
${LUN}_idleticks_spa.label $LUN Idle Ticks SPA
|
| 181 |
${LUN}_idleticks_spa.type DERIVE
|
|
| 181 |
${LUN}_idleticks_spa.type COUNTER
|
|
| 182 | 182 |
${LUN}_idleticks_spa.graph no
|
| 183 | 183 |
${LUN}_busyticks_spb.label $LUN Busy Ticks SPB
|
| 184 |
${LUN}_busyticks_spb.type DERIVE
|
|
| 184 |
${LUN}_busyticks_spb.type COUNTER
|
|
| 185 | 185 |
${LUN}_busyticks_spb.graph no
|
| 186 | 186 |
${LUN}_btb.label $LUN Busy Ticks SPB
|
| 187 | 187 |
${LUN}_btb.graph no
|
| 188 | 188 |
${LUN}_idleticks_spb.label $LUN Idle Ticks SPB
|
| 189 |
${LUN}_idleticks_spb.type DERIVE
|
|
| 189 |
${LUN}_idleticks_spb.type COUNTER
|
|
| 190 | 190 |
${LUN}_idleticks_spb.graph no"
|
| 191 | 191 |
|
| 192 | 192 |
echo "${LUN}_load_spa.label $LUN load SPA
|
| ... | ... | |
| 205 | 205 |
graph_args --base 1000" |
| 206 | 206 |
while read -r LUN ; do |
| 207 | 207 |
echo "${LUN}_outstandsum.label $LUN
|
| 208 |
${LUN}_outstandsum.type DERIVE"
|
|
| 208 |
${LUN}_outstandsum.type COUNTER"
|
|
| 209 | 209 |
done <<< $LUNLIST |
| 210 | 210 |
|
| 211 | 211 |
echo -e "\nmultigraph emc_vnx_block_nonzeroreq |
| ... | ... | |
| 215 | 215 |
graph_args --base 1000" |
| 216 | 216 |
while read -r LUN ; do |
| 217 | 217 |
echo "${LUN}_nonzeroreq.label $LUN
|
| 218 |
${LUN}_nonzeroreq.type DERIVE"
|
|
| 218 |
${LUN}_nonzeroreq.type COUNTER"
|
|
| 219 | 219 |
done <<< $LUNLIST |
| 220 | 220 |
|
| 221 | 221 |
echo -e "\nmultigraph emc_vnx_block_trespasses |
| ... | ... | |
| 234 | 234 |
while read -r LUN ; do |
| 235 | 235 |
echo "${LUN}_busyticks_spa.label ${LUN}
|
| 236 | 236 |
${LUN}_busyticks_spa.graph no
|
| 237 |
${LUN}_busyticks_spa.type DERIVE
|
|
| 237 |
${LUN}_busyticks_spa.type COUNTER
|
|
| 238 | 238 |
${LUN}_idleticks_spa.label ${LUN}
|
| 239 | 239 |
${LUN}_idleticks_spa.graph no
|
| 240 |
${LUN}_idleticks_spa.type DERIVE
|
|
| 240 |
${LUN}_idleticks_spa.type COUNTER
|
|
| 241 | 241 |
${LUN}_busyticks_spb.label ${LUN}
|
| 242 | 242 |
${LUN}_busyticks_spb.graph no
|
| 243 |
${LUN}_busyticks_spb.type DERIVE
|
|
| 243 |
${LUN}_busyticks_spb.type COUNTER
|
|
| 244 | 244 |
${LUN}_idleticks_spb.label ${LUN}
|
| 245 | 245 |
${LUN}_idleticks_spb.graph no
|
| 246 |
${LUN}_idleticks_spb.type DERIVE
|
|
| 246 |
${LUN}_idleticks_spb.type COUNTER
|
|
| 247 | 247 |
${LUN}_outstandsum.label ${LUN}
|
| 248 | 248 |
${LUN}_outstandsum.graph no
|
| 249 |
${LUN}_outstandsum.type DERIVE
|
|
| 249 |
${LUN}_outstandsum.type COUNTER
|
|
| 250 | 250 |
${LUN}_nonzeroreq.label ${LUN}
|
| 251 | 251 |
${LUN}_nonzeroreq.graph no
|
| 252 |
${LUN}_nonzeroreq.type DERIVE
|
|
| 252 |
${LUN}_nonzeroreq.type COUNTER
|
|
| 253 | 253 |
${LUN}_readreq.label ${LUN}
|
| 254 | 254 |
${LUN}_readreq.graph no
|
| 255 |
${LUN}_readreq.type DERIVE
|
|
| 255 |
${LUN}_readreq.type COUNTER
|
|
| 256 | 256 |
${LUN}_writereq.label ${LUN}
|
| 257 | 257 |
${LUN}_writereq.graph no
|
| 258 |
${LUN}_writereq.type DERIVE"
|
|
| 258 |
${LUN}_writereq.type COUNTER"
|
|
| 259 | 259 |
# Queue Length SPA = ((Sum of Outstanding Requests SPA - NonZero Request Count Arrivals SPA / 2)/(Host Read Requests SPA + Host Write Requests SPA))* |
| 260 | 260 |
# (Busy Ticks SPA/(Busy Ticks SPA + Idle Ticks SPA) |
| 261 | 261 |
# We count together SPA and SPB, although it is not fully corrext |
Formats disponibles : Unified diff