Skip to main content

Monitoring

Tools

Network

  • nload - interface traffic graphs
  • bwm-ng - interface traffic stats (no graph)
  • jnettop - IP flows, TCP and UDP
  • tcptrack  - TCP only
  • btop - also shows network stats
  • conntrack - tracked connection by kernel
  • netstat or ss - show established local connections and listening ports

Zabbix

Custom parameters

Reload configuration:

zabbix_agentd -R userparameter_reload

Put config files in /etc/zabbix/zabbix_agentd.d.

Example configuration to add additional keys to agent to respond to:

UserParameter=ping.rtt.avg[*],ping -c 10 -A -n -q -w 10 "$1" | awk -F/ '/rtt/ { print $$5 }'

Testing:

zabbix_get -s 127.0.0.1 -k 'ping.rtt.avg[127.0.0.1]'