Solved

nagios - monitoring network interface (linux)

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

Anyone know how can nagios show the bandwidth utilization for network interfaces?
0
Comment
Question by:gsmith888
  • 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
 

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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now