Documentation
¶
Index ¶
- Variables
- type PowerMax
- func (pm PowerMax) Get(uri string, params map[string]string) (*resty.Response, error)
- func (pm PowerMax) GetLatestArrayMetrics(startTime, endTime int64) map[string]float64
- func (pm PowerMax) GetLatestCacheMetrics(startTime, endTime int64, id string) map[string]float64
- func (pm PowerMax) GetLatestPortMetrics(startTime, endTime int64, dirType, dirID, portID string) map[string]float64
- func (pm PowerMax) GetLatestStorageGroupMetrics(startTime, endTime int64, id string) map[string]float64
- func (pm PowerMax) ListArrays() []string
- func (pm PowerMax) ListCachePartitionIDs() []string
- func (pm PowerMax) ListDirectorIDs(dirType string) []string
- func (pm PowerMax) ListPortIDs(dirType, dirID string) []string
- func (pm PowerMax) ListStorageGroupIDs() []string
- func (pm PowerMax) Post(uri string, body interface{}) (*resty.Response, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Metrics = map[string][]string{ "array": []string{ "OverallHealthScore", "HardwareHealthScore", "SoftwareHealthScore", "SloHealthScore", "OverallCompressionRatio", "OverallEfficiencyRatio", "PercentVPSaved", "VPSharedRatio", "VPCompressionRatio", "VPEfficiencyRatio", "PercentSnapshotSaved", "SnapshotSharedRatio", "SnapshotCompressionRatio", "SnapshotEfficiencyRatio", "CopySlotCount", "HostIOs", "HostReads", "HostWrites", "PercentReads", "PercentWrites", "PercentHit", "HostMBs", "HostMBReads", "HostMBWritten", "FEReqs", "FEReadReqs", "FEWriteReqs", "BEIOs", "BEReqs", "BEReadReqs", "BEWriteReqs", "SystemWPEvents", "DeviceWPEvents", "WPCount", "SystemMaxWPLimit", "PercentCacheWP", "AvgFallThruTime", "FEHitReqs", "FEReadHitReqs", "FEWriteHitReqs", "PrefetchedTracks", "FEReadMissReqs", "FEWriteMissReqs", "ReadResponseTime", "WriteResponseTime", "BEUtilization", "DiskUtilization", "FEUtilization", "RDFUtilization", "SCM_Balance", "OptimizedReadMisses", "OptimizedMBReadMisses", "AvgOptimizedReadMissSize", "QueueDepthUtilization", "InfoAlertCount", "WarningAlertCount", "CriticalAlertCount", "RDFA_WPCount", "AllocatedCapacity", "FE_Balance", "DA_Balance", "DX_Balance", "RDF_Balance", "Cache_Balance", "SATA_Balance", "FC_Balance", "EFD_Balance", "PercentSubscribedCapacity", "PercentEffectiveUsedCapacity", "UsableCapacity", "SubscribedCapacity", "PercentMetaRepUsed", "PercentMetaSystemUsed", "HWConfigHS", "CapacityHS", "SubscribedCapacityTB", "UsableCapacityTB", "AllocatedCapacityTB", "PercentMetaBEUsed", "PercentMetaFEUsed", "SnapModifiedCapGB", "SnapModifiedCapTB", "SnapCapGB", "SnapCapTB", "UsedUsableCapGB", "UsedUsableCapTB", "SubscribedAllocatedCapGB", "SubscribedAllocatedCapTB", }, "cache": []string{ "WPCount", "SystemMaxWPLimit", "PercentTargetCache", "PercentMinCache", "PercentMaxCache", "CacheSlotsUsed", "DonationTime", "PercentCacheUsed", "PercentWPUtilization", "RemoteWPCount", "LocalWPCount", "HostIOs", "HostMBs", "PercentHit", "AcquiredSlotCount", "AgeNonWPSlots", "AvgAgeGivenDestage", "AvgAgeOfWriteToNonWPSlots", "CacheAgeGT_10_Min", "CacheAgeGT_1_Hour", "CacheAgeGT_1_Min", "CacheHitAges_1", "CacheHitAges_2", "CacheHitAges_3", "CacheHitAges_4", "CacheHitAges_5", "CacheHitAges_6", "CacheHitAges_7", "CacheHitAges_8", "CacheSlotAges_1", "CacheSlotAges_2", "CacheSlotAges_3", "CacheSlotAges_4", "CacheSlotAges_5", "CacheSlotAges_6", "CacheSlotAges_7", "CacheSlotAges_8", "DestageSlotAge", "DestagedSlotCount", "DonationGiveCount", "DonationTakeCount", "TotalReplaceSlots", "WritesToAllNonWPSlots", "WritesToYoungNonWPSlots", }, "feport": []string{ "ResponseTime", "ReadResponseTime", "WriteResponseTime", "Reads", "Writes", "IOs", "MBRead", "MBWritten", "MBs", "AvgIOSize", "SpeedGBs", "MaxSpeedGBs", "PercentBusy", }, "beport": []string{ "Reads", "Writes", "IOs", "MBRead", "MBWritten", "MBs", "AvgIOSize", "MaxSpeedGBs", "PercentBusy", }, "storagegroup": []string{ "PercentRandomIO", "PercentRandomReadHit", "PercentRandomReadMiss", "PercentRandomWriteHit", "PercentRandomWriteMiss", "PercentRandomReads", "PercentRandomWrites", "PercentVPSpaceSaved", "CompressionRatio", "AvgReadResponseTime6", "AvgReadResponseTime7", "AvgWriteResponseTime6", "AvgWriteResponseTime7", "ReadResponseTimeCount1", "ReadResponseTimeCount2", "ReadResponseTimeCount3", "ReadResponseTimeCount4", "ReadResponseTimeCount5", "ReadResponseTimeCount6", "ReadResponseTimeCount7", "WriteResponseTimeCount1", "WriteResponseTimeCount2", "WriteResponseTimeCount3", "WriteResponseTimeCount4", "WriteResponseTimeCount5", "WriteResponseTimeCount6", "WriteResponseTimeCount7", "Skew", "HostIOs", "HostReads", "HostWrites", "HostHits", "HostReadHits", "HostWriteHits", "HostMisses", "HostReadMisses", "HostWriteMisses", "HostMBs", "HostMBReads", "HostMBWritten", "BEReqs", "BEReadReqs", "BEWriteReqs", "ReadResponseTime", "WriteResponseTime", "ReadMissResponseTime", "WriteMissResponseTime", "RDFS_WriteResponseTime", "PercentRead", "PercentWrite", "PercentReadHit", "PercentWriteHit", "PercentReadMiss", "PercentWriteMiss", "WPCount", "SeqIOs", "SeqReads", "SeqWrites", "SeqReadHits", "SeqReadMisses", "SeqWriteHits", "SeqWriteMisses", "RandomIOs", "RandomReads", "RandomWrites", "RandomReadHits", "RandomWriteHits", "RandomReadMisses", "RandomWriteMisses", "AvgIOSize", "AvgReadSize", "AvgWriteSize", "MaxWPThreshold", "BEMBTransferred", "BEMBReads", "BEMBWritten", "BEPrefetchedTrackss", "BEPrefetchedTrackUsed", "BEReadRequestTime", "BEDiskReadResponseTime", "BEReadTaskTime", "PercentHit", "PercentMisses", "ResponseTime", "AllocatedCapacity", "BlockSize", "BEPrefetchedMBs", "VAAIUnmapCommandCount", "VAAIWriteSameCommandCount", "VAAIXCopyCommandCount", "VAAITotalCommandCount", "VAAIWriteSameKB", "VAAIUnmapKB", "VAAIXCopyKB", "VAAIWriteSameMB", "VAAIUnmapMB", "VAAIXCopyMB", "VAAITotalTime", "TotalResponseTime", "PPReadRespTime", "PPWriteRespTime", "IODensity", "WritePacedDelay", "AvgWritePacedDelay", "TotalTracks", "CompressedTracks", "PercentCompressedTracks", "InfoAlertCount", "WarningAlertCount", "CriticalAlertCount", "SRDFS_WriteReqs", "SRDFS_MBSent", "SRDFA_WriteReqs", "SRDFA_MBSent", "HostIOLimitPercentTimeExceeded", "RdfReads", "RdfWrites", "RdfMBRead", "RdfMBWritten", "RdfReadHits", "RDFRewrites", "RdfResponseTime", "PPAvgResponseTime", "PPObservedDeltaRT", "PPRelativeRT", "BE_PERFETCHED_TRACK_USED_PER_SEC", "PercentSeqIO", "PercentSeqRead", "PercentSeqReadHit", "PercentSeqReadMiss", "PercentSeqWriteHit", "PercentSeqWriteMiss", "PercentSeqWrites", "BEPercentReads", "BEPercentWrites", "AvgQOSDelayPerIO", }, }
Metrics the supported metrics
Functions ¶
This section is empty.
Types ¶
type PowerMax ¶
type PowerMax struct { APIEndPoint string User string Password string SymmID string // contains filtered or unexported fields }
PowerMax array object
func NewPowerMax ¶
NewPowerMax init a PowerMax object
func (PowerMax) GetLatestArrayMetrics ¶
GetLatestArrayMetrics get the latest array overall metrics
func (PowerMax) GetLatestCacheMetrics ¶
GetLatestCacheMetrics get the latest cache partition metrics
func (PowerMax) GetLatestPortMetrics ¶
func (pm PowerMax) GetLatestPortMetrics(startTime, endTime int64, dirType, dirID, portID string) map[string]float64
GetLatestPortMetrics get the latest FE/BE port metrics
func (PowerMax) GetLatestStorageGroupMetrics ¶
func (pm PowerMax) GetLatestStorageGroupMetrics(startTime, endTime int64, id string) map[string]float64
GetLatestStorageGroupMetrics get the latest storage group metrics
func (PowerMax) ListArrays ¶
ListArrays list PowerMax managed by the Unisphere
func (PowerMax) ListCachePartitionIDs ¶
ListCachePartitionIDs list cache partitions
func (PowerMax) ListDirectorIDs ¶
ListDirectorIDs list directors
func (PowerMax) ListPortIDs ¶
ListPortIDs list FE/BE ports
func (PowerMax) ListStorageGroupIDs ¶
ListStorageGroupIDs list storage group IDs
Click to show internal directories.
Click to hide internal directories.