Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DHCPScopes ¶
func (*Client) DHCPServers ¶
func (c *Client) DHCPServers() ([]DHCPServer, error)
type DHCPScopeList ¶
type DHCPServer ¶
type DHCPServer struct { Ref string `json:"ref"` Name string `json:"name"` Proxy string `json:"proxy"` Address string `json:"address"` ResolvedAddress string `json:"resolvedAddress"` Username string `json:"username"` Password string `json:"password"` EnablePassword string `json:"enablePassword"` Type string `json:"type"` HaMode string `json:"haMode"` State string `json:"state"` Security string `json:"security"` CustomProperties map[string]interface{} `json:"customProperties"` Enabled bool `json:"enabled"` }
type DHCPServerList ¶
type DHCPServerList struct { Result struct { DHCPServers []DHCPServer `json:"dhcpServers"` } `json:"result"` TotalResults int `json:"totalResults"` }
type MicetroCollector ¶
type MicetroCollector struct {
Client *Client
}
func (MicetroCollector) Collect ¶
func (mc MicetroCollector) Collect(ch chan<- prometheus.Metric)
func (MicetroCollector) Describe ¶
func (mc MicetroCollector) Describe(ch chan<- *prometheus.Desc)
type Range ¶
type Range struct { Ref string `json:"ref"` Name string `json:"name"` From string `json:"from"` To string `json:"to"` ChildRanges []interface{} `json:"childRanges"` DhcpScopes []interface{} `json:"dhcpScopes"` Subnet bool `json:"subnet"` Locked bool `json:"locked"` AutoAssign bool `json:"autoAssign"` HasSchedule bool `json:"hasSchedule"` HasMonitor bool `json:"hasMonitor"` CustomProperties map[string]interface{} `json:"customProperties"` InheritAccess bool `json:"inheritAccess"` IsContainer bool `json:"isContainer"` UtilizationPercentage int `json:"utilizationPercentage"` HasRogueAddresses bool `json:"hasRogueAddresses"` }
Click to show internal directories.
Click to hide internal directories.