Documentation ¶
Overview ¶
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Copyright 2018 Adobe All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe.
Index ¶
- func CreateConstLabels() error
- func GetClusterConnector() error
- func GetNumQuotas() error
- func GetProtos()
- func NewIsilonCollector(fqdn string, port string, uname string, pwdenv string, site string, auth bool, ...) (*isilonCollector, error)
- func RoundTime(input float64) int64
- func SetClusterConfigName() error
- type Collector
- func NewCPUCollector() (Collector, error)
- func NewCapacityCollector() (Collector, error)
- func NewClusterHealthCollector() (Collector, error)
- func NewClusterProtoCollector() (Collector, error)
- func NewDiskCollector() (Collector, error)
- func NewMemoryCollector() (Collector, error)
- func NewNetworkCollector() (Collector, error)
- func NewNfsExportsCollector() (Collector, error)
- func NewNodeHealthCollector() (Collector, error)
- func NewNodePartitionCollector() (Collector, error)
- func NewNodeProtoCollector() (Collector, error)
- func NewNodeStatusCollector() (Collector, error)
- func NewQuotaCollector() (Collector, error)
- func NewQuotaSummaryCollector() (Collector, error)
- func NewSmbSharesCollector() (Collector, error)
- func NewSnapshotsCollector() (Collector, error)
- func NewStatfsCollector() (Collector, error)
- func NewStoragePoolsCollector() (Collector, error)
- func NewSyncIQCollector() (Collector, error)
- type IsilonCluster
- type Quotas
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConstLabels ¶
func CreateConstLabels() error
CreateConstLabels will create an array of labels that are constant to all metrics.
func GetClusterConnector ¶
func GetClusterConnector() error
GetClusterConnector calls the isiclient and creates a new isilon cluster connector.
func GetNumQuotas ¶
func GetNumQuotas() error
GetNumQuotas retrieve the number of quotas the system should have.
func NewIsilonCollector ¶
func NewIsilonCollector(fqdn string, port string, uname string, pwdenv string, site string, auth bool, qOnly bool, filters ...string) (*isilonCollector, error)
NewIsilonCollector creates a new IsilonCollector
func SetClusterConfigName ¶
func SetClusterConfigName() error
SetClusterConfigName will get the name from the isi config and set it as IsilonClusterConfigName inside IsiCluster.
Types ¶
type Collector ¶
type Collector interface { // Get new metrics and expose them via prometheus registry. Update(ch chan<- prometheus.Metric) error }
Collector is the interface a collector has to implement.
func NewCPUCollector ¶
NewCPUCollector returns a new Collector exposing node cpu statistics.
func NewCapacityCollector ¶
NewCapacityCollector returns a new Collector exposing cluster capacity/disk space statistics.
func NewClusterHealthCollector ¶
NewClusterHealthCollector returns a new Collector exposing cluster health information.
func NewClusterProtoCollector ¶
NewClusterProtoCollector returns a new Collector exposing cluster protocol statistics.
func NewDiskCollector ¶
NewDiskCollector returns a new Collector exposing node disk statistics.
func NewMemoryCollector ¶
NewMemoryCollector returns a new Collector exposing node memory statistics.
func NewNetworkCollector ¶
NewNetworkCollector returns a new Collector exposing node network statistics.
func NewNfsExportsCollector ¶
NewNfsExportsCollector exposed various metrics and information about nodes.
func NewNodeHealthCollector ¶
NewNodeHealthCollector returns a new Collector exposing node health information.
func NewNodePartitionCollector ¶
NewNodePartitionCollector exposed various metrics and information about nodes.
func NewNodeProtoCollector ¶
NewNodeProtoCollector returns a new Collector exposing Node protocol statistics.
func NewNodeStatusCollector ¶
NewNodeStatusCollector exposed various metrics and information about nodes.
func NewQuotaCollector ¶
NewQuotaCollector returns a new Collector exposing node health information.
func NewQuotaSummaryCollector ¶
NewQuotaSummaryCollector returns a new Collector exposing quota summary information.
func NewSmbSharesCollector ¶
NewSmbSharesCollector exposed various metrics and information about nodes.
func NewSnapshotsCollector ¶
NewSnapshotsCollector returns a new Collector exposing sync IQ policy information.
func NewStatfsCollector ¶
NewStatfsCollector exposed various metrics and information about nodes.
func NewStoragePoolsCollector ¶
NewStoragePoolsCollector exposed various metrics and information about storage pools.
func NewSyncIQCollector ¶
NewSyncIQCollector returns a new Collector exposing sync IQ policy information.
type IsilonCluster ¶
type IsilonCluster struct { FQDN string Name string Port string Username string Site string PasswordEnv string QuotaOnly bool Quotas Quotas Client *goisilon.Client }
IsilonCluster struct contains all the connection info and an instanciated client connection to the cluster.
var ( //IsiCluster is the structure that holds all the information need to establish the connection. IsiCluster IsilonCluster //ConstLabels are constant labels that every metric will have. This includes the label cluster. ConstLabels prometheus.Labels )
Source Files ¶
- capacity.go
- cluster_common.go
- cluster_health.go
- cluster_protocol.go
- collector.go
- collector_common.go
- cpu.go
- disk.go
- memory.go
- network.go
- nfs_exports.go
- node_common.go
- node_health.go
- node_info.go
- node_partition.go
- node_protocol.go
- protocol_common.go
- quota.go
- quota_common.go
- quota_summary.go
- smb_shares.go
- snapshots.go
- statfs.go
- storagepools.go
- sync_iq.go