Prometheus exporter for NETGEAR switches supported by ProSAFE Plus utility.
| metric | description | labels | | ---------------------------- | ---------------------------------- | ------------------------------ | | prosafeup | The last query is successful | switch | | prosafereceivebytestotal | Incoming transfer in bytes | switch, port | | prosafetransmitbytestotal | Outgoing transfer in bytes | switch, port | | prosafeerrorpacketstotal | Transfer error in packets | switch, port | | prosafebuildinfo | prosafe_exporter Build information | version, revision, rustversion |
Outgoing data rate of switch1:port1
is below.
rate(prosafe_transmit_bytes_total{switch="switch1", port="1"}[1m])
Download from release page, and extract to any directory ( e.g. /usr/local/bin
).
See the example files in example
directory as below.
| File | Description | | -------------------------------- | ---------------------------- | | example/prosafeexporter.service | systemd unit file | | example/config.toml | prosafeexporter config file |
If the release build doesn't fit your environment, you can build and install from source code.
cargo install prosafe_exporter
prosafe_exporter --path.config [config_file]
The format of config_file
is below.
listen_port = 9493 # listen_port of expoter ( 9493 is the default port of prosafe_exporter )
if_name = "eno1" # network interface name to access switches ( ex. eno1, eth0,,, )
switches = ["switch1", "192.168.0.10"] # hostname or address of switches