What is the best way to monitor the total incoming / outcoming network traffic of CentOS server. I think that the solution is to monitor the network interfaces and to send SNMP packets to remote server. But is it possible? regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091221/7954952f/attachment.html>
On Mon, Dec 21, 2009 at 9:08 AM, sadas sadas <mailrc at abv.bg> wrote:> What is the best way to monitor the total incoming / outcoming network > traffic of CentOS server. I think that the solution is to monitor the > network interfaces and to send SNMP packets to remote server. But is it > possible? >Absolutely. Check out Cacti http://cacti.net/ There are lots of alternatives to Cacti too (MRTG, even doing graphing in your system monitoring tool like Nagios.) You might also find it easier to monitor the switch instead of the servers if that's possible with your gear. This way, you configure the switch once and can monitor all the servers on it instead of having to configure each server individually to allow snmp access. -- Jake Paulus JakePaulus at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091221/8ddd8b71/attachment.html>
Jake wrote:> On Mon, Dec 21, 2009 at 9:08 AM, sadas sadas <mailrc at abv.bg > <mailto:mailrc at abv.bg>> wrote: > > What is the best way to monitor the total incoming / outcoming > network traffic of CentOS server. I think that the solution is to > monitor the network interfaces and to send SNMP packets to remote > server. But is it possible? > > > Absolutely. Check out Cacti http://cacti.net/ > > There are lots of alternatives to Cacti too (MRTG, even doing graphing > in your system monitoring tool like Nagios.) You might also find it > easier to monitor the switch instead of the servers if that's possible > with your gear. This way, you configure the switch once and can monitor > all the servers on it instead of having to configure each server > individually to allow snmp access.OpenNMS is good too, if you have enough devices to be worth the extra complexity. Http://www.opennms.org. -- Les Mikesell lesmikesell at gmail.com
On 12/21/2009 9:08 AM, sadas sadas wrote: > What is the best way to monitor the total incoming / outcoming network > traffic of CentOS server. I think that the solution is to monitor the > network interfaces and to send SNMP packets to remote server. But is it > possible? > MRTG is the simplest to setup, but it only does graphs. It's especially easy if you're trying to monitor the local host. You'll need to also install the net-snmp and possibly net-snmp-utils packages. Network monitoring solutions also do graphs (Cacti, Nagios, OpenNMS). You can also try ntop. It produces pretty graphs and also segregates network traffic by type/port. In the past I've used Nagios & NTop. Unfortunately, NTop was a bit of a CPU hog and I had stability issues with it that I never tracked down. So at the moment, we're mostly relying on MRTG to see traffic. You can also (ab)use MRTG to graph things like CPU usage & CPU temperature, disk utilization, or anything else that you can query via a remote shell command or SNMP query.
On 21/12/2009 16:05, Thomas Harold wrote:> > You can also (ab)use MRTG to graph things like CPU usage& CPU > temperature, disk utilization, or anything else that you can query via a > remote shell command or SNMP query.Hi In this case why not use Ganglia. Look how MediaWiki uses Ganglia with Nagios, and other tools: http://ganglia.wikimedia.org/ Regards mg.
Whatever you decide to go with, if you are graphing a gigabit interface, make sure you use 64-bit counters. The standard 32-bit counters overflow just past 100Mbit/sec and will give you innacurate readings. On 12/21/09, Marcelo M. Garcia <marcelo.maia.garcia at googlemail.com> wrote:> On 21/12/2009 16:05, Thomas Harold wrote: >> >> You can also (ab)use MRTG to graph things like CPU usage& CPU >> temperature, disk utilization, or anything else that you can query via a >> remote shell command or SNMP query. > > Hi > > In this case why not use Ganglia. Look how MediaWiki uses Ganglia with > Nagios, and other tools: > http://ganglia.wikimedia.org/ > > Regards > > mg. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Sent from my mobile device Jake Paulus JakePaulus at gmail.com