Skip to main content

Monitoring

iperf3

Server running on:

  • justine.lan (192.168.1.2)
    • running as a service 
  • umma.lan (192.168.1.8)
    • this is set up as docker container networkstatic-iperf31

Clients installed on:

  • igor.lan/void VM
  • morgana
  • futaba

Can be installed on OpenWRT via opkg.

Void Linux service (void/iperf):

#!/usr/bin/fish

mascot-config "iperf3 server" |
mascot-config-xbps-package iperf3 installed |
mascot-config-dir "/etc/sv/iperf" present |
mascot-config-file "/etc/sv/iperf/supervise" symlink "/run/runit/supervise.iperf" |
mascot-config-file "/etc/sv/iperf/run" present --mode "u=rwx,go=rx" read (begin
	echo '#!/bin/sh'
	echo 'exec chpst -u nobody:nogroup iperf3 -s'
end | psub) |
mascot-config-runit-service \
	--require 'Delegated("XBPS package \"iperf3\"")' \
	--require 'FileContent(path:"/etc/sv/iperf/run")' \
	iperf running

SNMP

Host
Version
Username / Community
Protocol
Passwords
Walk example
umma.lan
v3
snmp
SHA/AES
Inne/network-snmp-v3 snmpwalk -v3 -l authPriv -u snmp -a SHA -x AES -A (pass Inne/network-snmp-v3 | head -n 1) -X (pass Inne/network-snmp-v3 | head -n 1) 192.168.1.8