centreon-plugins
centreon-plugins copied to clipboard
[storage::hp::3par::ssh::plugin] Request a new mode "capacity"
Hello
Please make a new mode capacity in storage::hp::3par::ssh::plugin to check the percentage of utilization of raw storage capacity and analyze the effectiveness of the use of compression and deduplication technologies.
It is useful to have information in 4 slices:
- Total capacity (
showsys -space
command) - Capacity of fast SSD disks (
showsys -space -devtype SSD
command) - Capacity of FC disks (
showsys -space -devtype FC
command) - Capacity of slow NL disks (
showsys -space -devtype NL
command)
Example:
3PAR01 cli% showsys -space
------------ System Capacity (MiB) -------------
Total Capacity : 24649728
Allocated : 11457536
Legacy Volumes : 0
User : 0
Snapshot : 0
CPGs (TPVVs & TDVVs & CPVVs) : 8585216
Shared : 99328
Private : 8308480
Base : 8308480
Reserved : 8308480
Reserved (vSphere VVols) : 0
Snap : 0
Reserved : 0
Reserved (vSphere VVols) : 0
Free : 177408
Unmapped : 0
System : 2872320
Internal : 1080320
Admin : 294912
Spare : 1497088
Used : 0
Unused : 1497088
Free : 13192192
Initialized : 13192192
Uninitialized : 0
Unavailable : 0
Failed : 0
------------------ Efficiency ------------------
Compaction : 2.59
Dedup : 1.23
Compression : -
Data Reduction : 1.23
Overprovisioning : 0.92
I will indicate what metrics may be of interest:
------------ System Capacity (MiB) -------------
Total Capacity : 24649728 <----- perfdata
Allocated : 11457536 <----- perfdata
Free : 13192192 <----- perfdata, warn/crit thresholds
Unavailable : 0 <----- perfdata
Failed : 0 <----- perfdata, if not 0 = crit
------------------ Efficiency ------------------
Compaction : 2.59 <----- perfdata
Dedup : 1.23 <----- perfdata
Compression : - <----- perfdata
Data Reduction : 1.23 <----- perfdata
Overprovisioning : 0.92 <----- perfdata, warn/crit thresholds
Perhaps it makes sense to do some kind of filtering of measurement types. For example, someone may not be interested in statistics in the context of disk types, but only total statistics are needed. And someone may be interested in the full statistics of NL/FC/SSD/Total.