Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

nagios - monitoring network interface (linux)

Posted on 2013-06-19
10
Medium Priority
?
835 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 1600 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
Q2 2017 - Latest Malware & Internet Attacks

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out our latest Quarterly Internet Security Report!

 

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 400 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

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

610 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