diff options
Diffstat (limited to 'qa/pconf/disk')
| -rw-r--r-- | qa/pconf/disk/GNUmakefile | 16 | ||||
| -rw-r--r-- | qa/pconf/disk/average_iops | 31 | ||||
| -rw-r--r-- | qa/pconf/disk/single_iops | 37 | 
3 files changed, 84 insertions, 0 deletions
| diff --git a/qa/pconf/disk/GNUmakefile b/qa/pconf/disk/GNUmakefile new file mode 100644 index 0000000..ef3575e --- /dev/null +++ b/qa/pconf/disk/GNUmakefile @@ -0,0 +1,16 @@ +#!gmake + +TOPDIR = ../../.. +include $(TOPDIR)/src/include/builddefs + +TESTDIR = $(PCP_VAR_DIR)/testsuite/pconf/disk +CONFIGS = average_iops single_iops +LSRCFILES = $(CONFIGS) + +default default_pcp setup:  + +install install_pcp: +	$(INSTALL) -m 755 -d $(TESTDIR) +	$(INSTALL) -m 644 $(CONFIGS) $(TESTDIR) + +include $(BUILDRULES) diff --git a/qa/pconf/disk/average_iops b/qa/pconf/disk/average_iops new file mode 100644 index 0000000..9b03ebe --- /dev/null +++ b/qa/pconf/disk/average_iops @@ -0,0 +1,31 @@ +#pmieconf-rules 1 +# + +rule	disk.average_iops +	default = "$rule$" +	predicate = +"some_host ( +    ( disk.all.total $hosts$ / hinv.ndisk $hosts$ ) +	> $threshold$ count/sec +)" +	enabled	= no +	version	= 1 +	help	= +"The average rate of disk I/O operations per spindle per second +exceeded the threshold during the last sample interval."; + +string	rule +	default = "high average disk activity per spindle" +	modify	= no +	display	= no; + +double	threshold   +	default = 25 +	help	= +"Threshold in units of disk I/O operations per spindle per second. +As a hint, the achievable peak is of the order of 100, although the +disk model, the number of disks per controller, the spindle load +balance and the distribution of transfer sizes all combine to make +the practical peak either larger or smaller for any specific +system."; + diff --git a/qa/pconf/disk/single_iops b/qa/pconf/disk/single_iops new file mode 100644 index 0000000..cc42eff --- /dev/null +++ b/qa/pconf/disk/single_iops @@ -0,0 +1,37 @@ +#pmieconf-rules 1 +# + +rule    disk.single_iops +	default = "$rule$" +	predicate = +"some_host ( +    some_inst ( +	disk.dev.total $hosts$ > $threshold$ count/sec +    ) +)" +	enabled	= no +	version	= 1 +	help	= +"For at least one spindle, the average rate of disk I/O operations +per second exceeded the threshold during the last sample interval."; + +string	rule +	default = "busy disk spindle" +	modify	= no +	display	= no; + +double	threshold +	default	= 40 +	help	= +"Threshold in units of disk I/O operations per second. +As a hint, the achievable peak is of the order of 100 IOPS for one +disk, although the disk model, the number of disks per controller, +the spindle load balance and the distribution of transfer sizes all +combine to make the practical peak either larger or smaller for any +specific system."; + +string	action_expand +	default	= "%v:%i@%h" +	display	= no +	modify	= no; + | 
