:
This module show the amount of traffic in and out the server.
It is very useful to set up alerts for over or sub utilization of the network.
Module data
# Networking
module_begin module_name nettraf_eth0_in module_type generic_data_inc module_exec /sbin/ifconfig eth0 |grep "bytes:" |awk {'print $2'} |tr -d "bytes:" module_description bps IN (post process) module_end
module_begin module_name nettraf_eth0_out module_type generic_data_inc module_exec /sbin/ifconfig eth0 |grep "bytes:" |awk {'print $6'} |tr -d "bytes:" module_description bps OUT (post process) module_end
module_begin module_name conn_resets module_type generic_data_inc module_exec netstat -as | grep "connection resets received" | awk '{ print $1 }' module_description Resets due to unexpected SYN module_end
(Visited 1,490 times, 1 visits today)