diff --git a/source/resources/apps/influxdb/README b/source/resources/apps/influxdb/README new file mode 100644 index 0000000..cb2da1d --- /dev/null +++ b/source/resources/apps/influxdb/README @@ -0,0 +1,27 @@ +# Clone Debian Buster template, set up IPs, hostname, ssh keys +apt update +apt -y dist-upgrade +apt install influxdb + +# Set up network interfaces, /etc/network/interfaces +auto lo +iface lo inet loopback +auto ens18 ens19 ens20 ens21 ens22 ens22:0 ens22:1 +iface ens18 inet static + address 10.22.22.116/24 + gateway 10.22.22.254 + dns-nameservers 10.22.22.254 + dns-search forksand.com +iface ens19 inet static + address 10.68.68.116/24 +iface ens20 inet static + address 10.3.1.116/24 +iface ens21 inet static + address 10.3.2.116/24 +iface ens22 inet static + address 10.99.99.116/24 +iface ens22:0 inet static + address 10.99.1.116/24 +iface ens22:1 inet static + address 10.99.2.116/24 + diff --git a/source/resources/apps/prometheus/README b/source/resources/apps/prometheus/README index 376fdcd..74a4de0 100644 --- a/source/resources/apps/prometheus/README +++ b/source/resources/apps/prometheus/README @@ -63,3 +63,14 @@ https://grafana.com/dashboards/6742 # Unbound DNS https://grafana.com/dashboards/3930 + + +####################################################### +# libvirt_exporter +go get github.com/kumina/libvirt_exporter +go build github.com/kumina/libvirt_exporter +# Then copy this binary to targets sf-001 sf-002 sf-003 sf-004 +~/go/bin/libvirt_exporter + +apt install libvirt-daemon + diff --git a/source/resources/apps/snmp1/README b/source/resources/apps/snmp1/README index fd58bad..b9044c7 100644 --- a/source/resources/apps/snmp1/README +++ b/source/resources/apps/snmp1/README @@ -29,3 +29,31 @@ iface ens22:1 inet static # Set up SNMP on the target switch/device. + +################################################## +# Build generator XXX no needed? +sudo apt install build-essential libsnmp-dev +sudo apt -t stretch-backports install golang + +go get github.com/prometheus/snmp_exporter/generator + +# Needs snmp-mibs-downloader from Debian non-free +# ... enable non-free repos .... +apt install snmp-mibs-downloader +# ... disable non-free repos .... +################################################## + + +# Run daemon XXX start on boot etc: +jebba@snmp1:~/devel/snmp_exporter-0.11.0.linux-amd64$ ./snmp_exporter --log.level="debug" + +# Log into switch, enable SNMP for 10.22.22.115, set SNMP community to "public" XXX temp, for setup. +# XXX set time on switch XXX ntp + +# Go to this URL: +http://10.22.22.115:9116/snmp?target=10.22.22.240 +http://10.22.22.115:9116/snmp?target=10.3.1.240 +http://10.22.22.115:9116/snmp?target=10.3.2.240 +http://10.22.22.115:9116/snmp?target=10.68.68.240 +http://10.22.22.115:9116/snmp?target=10.99.1.240 +http://10.22.22.115:9116/snmp?target=10.99.2.240 diff --git a/source/resources/spreadsheets/sharkfork.ods b/source/resources/spreadsheets/sharkfork.ods index 7333b3f..35f793d 100644 Binary files a/source/resources/spreadsheets/sharkfork.ods and b/source/resources/spreadsheets/sharkfork.ods differ