diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Makefile.am | 1 | ||||
-rw-r--r-- | templates/check_brick_usage.cfg | 1 | ||||
-rw-r--r-- | templates/check_brick_usage.php | 3 |
3 files changed, 2 insertions, 3 deletions
diff --git a/templates/Makefile.am b/templates/Makefile.am index 78b81b4..6d93fd7 100644 --- a/templates/Makefile.am +++ b/templates/Makefile.am @@ -1,5 +1,6 @@ pnp4nagioscheckcommanddir = $(sysconfdir)/pnp4nagios/check_commands pnp4nagioscheckcommand_DATA = \ + check_brick_usage.cfg \ check_disk_and_inode.cfg \ check_interfaces.cfg \ $(NULL) diff --git a/templates/check_brick_usage.cfg b/templates/check_brick_usage.cfg new file mode 100644 index 0000000..718dc42 --- /dev/null +++ b/templates/check_brick_usage.cfg @@ -0,0 +1 @@ +RRD_STORAGE_TYPE = MULTIPLE diff --git a/templates/check_brick_usage.php b/templates/check_brick_usage.php index 5f00b87..9c926b8 100644 --- a/templates/check_brick_usage.php +++ b/templates/check_brick_usage.php @@ -24,9 +24,6 @@ foreach ($this->DS as $KEY=>$VAL) { # $VAL['NAME'] = str_replace("_","/",$VAL['NAME']); $ds_name[$KEY] = "Brick Utilization "; $graph_type = $VAL['LABEL']; - if ($graph_type == "Virtual" ) { - $ds_name[$KEY] .= "(virtual)"; - } if ($graph_type == "Thin-pool" ) { $ds_name[$KEY] .= "(Thin-pool)"; } |