Tested Switches

Install

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/prosafe_exporter.service

systemd unit file

If the release build doesn't fit your environment, you can build and install from source code.

cargo install prosafe_exporter

Usage

prosafe_exporter --web.listen-address=":9493"

The default listen port is 9493.
It can be changed by --web.listen-address option.

Prometheus Server Configuration

The target switches of prosafe_exporter can be configured by the pair of hostname and network interface name ( e.g. switch1:eth0 ).
The network interface must be belonged to the same subnet as the switch.

The Prometheus server configuration is like SNMP exporter.
The example of a configuration is below: