I have a linux based router. (standard pc hardware with 2 NICs). I want to be able to graph the rate of data that passes through each network interface over a short period of about 5-10 mins. I would need to find out the rate of data passing through the network interfaces every 10 seconds or so.
Im new to SNMP and dont know much about it. I have set up MRTG with SNMP to graph the throughput through the router. But I need to able to monitor the traffic passing through at a finer granualarity. How does MRTG calculate the rate of traffic passing through an interface at a given time. Is there a byte counter that can be accessed through snmp?
I know iptables can be used with the following options -nvxL to show the number of packets that have passed through the firewall. This could be used to calculate the rate but Im looking for a better solution if there is one.
Can anyone help me out ?
Im new to SNMP and dont know much about it. I have set up MRTG with SNMP to graph the throughput through the router. But I need to able to monitor the traffic passing through at a finer granualarity. How does MRTG calculate the rate of traffic passing through an interface at a given time. Is there a byte counter that can be accessed through snmp?
I know iptables can be used with the following options -nvxL to show the number of packets that have passed through the firewall. This could be used to calculate the rate but Im looking for a better solution if there is one.
Can anyone help me out ?