Add snmp1 server

master
Jeff Moe 6 years ago
parent 4555b2515b
commit 261ee661a7

@ -0,0 +1,31 @@
git clone https://github.com/prometheus/snmp_exporter.git
# Binaries:
wget https://github.com/prometheus/snmp_exporter/releases/download/v0.11.0/snmp_exporter-0.11.0.linux-amd64.tar.gz
tar zxf snmp_exporter-0.11.0.linux-amd64.tar.gz
cd snmp_exporter-0.11.0.linux-amd64/
# Set up IPs for all interfaces:
# The primary network interface
auto ens18 ens19 ens20 ens21 ens22 ens22:0 ens22:1
iface ens18 inet static
address 10.22.22.115/24
gateway 10.22.22.254
dns-nameservers 10.22.22.254
dns-search forksand.com
iface ens19 inet static
address 10.68.68..115/24
iface ens20 inet static
address 10.3.1.115/24
iface ens21 inet static
address 10.3.2.115/24
iface ens22 inet static
address 10.99.99.115/24
iface ens22:0 inet static
address 10.99.1.115/24
iface ens22:1 inet static
address 10.99.2.115/24
# Set up SNMP on the target switch/device.
Loading…
Cancel
Save