Documentation ¶
Overview ¶
Package nut implements the Network UPS Tools network protocol.
This package only implements those functions necessary for the nut_exporter; it is therefore not complete.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A Client wraps a connection to a NUT server.
func Dial ¶
Dial dials a NUT server using TCP. If the address does not contain a port number, it will default to 3493.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
nut_exporter
Command nut_exporter exports UPSs on one or more NUT servers to Prometheus.
|
Command nut_exporter exports UPSs on one or more NUT servers to Prometheus. |
Package nutcollector implements a Prometheus collector for Network UPS Tools.
|
Package nutcollector implements a Prometheus collector for Network UPS Tools. |
Click to show internal directories.
Click to hide internal directories.