Solved

nagios - monitoring network interface (linux)

Posted on 2013-06-19
10
791 Views
Last Modified: 2013-06-23
Experts-

Anyone know how can nagios show the bandwidth utilization for network interfaces?
0
Comment
Question by:gsmith888
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
10 Comments
 
LVL 18

Accepted Solution

by:
Sanga Collins earned 400 total points
ID: 39259522
Yes, I use PNP4Nagios to show bandwidth of all my routers and switches. It works quite well and with a bit of tweaking is almost as powerful as dedicated servers like Cacti (also highly recommended)

You first need to poll the bandwidth using SNMP (preferably) and then use pnp4nagios to convert that data in graphs :)
0
 

Author Comment

by:gsmith888
ID: 39259555
what do you use for system interfaces though? i.e. linux hosts?

I'm currently running NGRE and I find any network stats.
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 39259570
for linux hosts themselves, like my email servers, I am still using SNMP. I have nagios run snmp query for interface eth0 on all my email servers so I can get bandwidth stats. Then I use pnp4nagios to make that data into graphs.

SNMP in my opinion is the best way to get interface statistics.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:gsmith888
ID: 39259586
Trying to understand what nagios is suppose to use to monitor systems for cpu, memory? and why would nagios prefer to use NGRE for linux hosts versus just snmp. I hope you could provide some education.
0
 

Author Comment

by:gsmith888
ID: 39259587
sorry thats NRPE
0
 
LVL 33

Expert Comment

by:Dave Howe
ID: 39259602
nrpe would be a poor choice - monitoring performance stats is something snmp is good at (via the iftable) and that is available cross-platform - I am monitoring a bunch of linux, esx, solaris, cisco (switches/firewalls/routers) and storage (netapp) devices, all using iftable.

if you go with things like mrtg too, that's snmp.
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 39259615
In some ways SNMP can be complex to get rolling properly. NRPE for me provides an easy way to get information from a remote server when SNMP is too cumbersome or simply is not permitted due to network contstraints or other factors.
0
 

Author Comment

by:gsmith888
ID: 39259623
DaveHowe,

I don't know what this Iftable is - is that a plugin for Nagios? google is not showing anything solid.
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 39259648
Iftable I think simply means interface table. When running an SNMP query against a linux server, The bandwidth statistics will be for interfaces listed in the interface table; eth0, lo, etc, etc, etc:)
0
 
LVL 33

Assisted Solution

by:Dave Howe
Dave Howe earned 100 total points
ID: 39259701
iftable is a specific table in snmp (pretty much what sangamc is saying) - not usually hard to get snmp running in linux (well, not as hard as getting nagios anyhow :)

nrpe is pretty limited in what it can do, monitoring wise - however, the nagios script exchange as always has something you can use out of the box - look here:

http://exchange.nagios.org/directory/Plugins/Network-Connections,-Stats-and-Bandwidth/check_tcptraffic/details
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remote desktop Ubuntu from Windows 10 5 123
Ubuntu Apache Webserver - File Permissions 5 74
The better OS Architecture 13 89
Recover Lacie Edmini data. 11 64
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question