bandwidth monitoring script for nagios (CentOS) – bw_watch.sh
Bash script for nagios, that monitors bandwidth usage on remote host. # usage ./bw_watch bw_warning bw_critical pkt_warning pkt_critical It takes momentary 5 secs average bandwidth from “vnstat”, and returns value for nagios. bc and vnstat packages at host side are necessary. bc package should be in default centos repository, vnstat…