Discover Packages
github.com/l3akage/junos_exporter
environment
package
Version:
v0.7.1
Opens a new window with list of versions in this module.
Published: Nov 11, 2018
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewCollector creates a new collector
type EnvironmentItemRpc struct {
Name string `xml:"name"`
Class string `xml:"class"`
Status string `xml:"status"`
Temperature *struct {
Value float64 `xml:"celsius,attr"`
} `xml:"temperature,omitempty"`
}
type EnvironmentRpc struct {
Information struct {
Items []EnvironmentItemRpc `xml:"environment-item"`
} `xml:"environment-information"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.