Easy graphing of Switch interfaces

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Hulkster
Posts: 5
Joined: Thu Jul 12, 2012 8:50 am

Easy graphing of Switch interfaces

Post by Hulkster »

Hi All,

I use pnp4nagios for graphing of services, but I always seem to trip up when using Nagios Core to try and monitor traffic passing through switch interfaces.

I've tried a number of plugins but these particular type of checks seem more difficult to accomplish in Nagios Core than other checks like monitoring disk usage, windows services, etc.

I have played with Check_MK, which is a great plugin and makes inventory & graphing of specific switch ports easy, but I would rather stick with Nagios Core where possible.

Is there a plugin for Core that will do an snmpwalk of a switch and let me choose the interfaces I want to monitor, let me set the W/C limits and start creating RRDs so that I can monitor switch ports easier? I appreciate this is an XI feature so it may not exist - however if someone could point me in the right direction to create these checks manually I would certainly appreciate it.

Ideally what I want to do for selected switch ports is - Monitor up/down status and bandwidth (so that it shows the current in/out in mbps as part of the service check result) and then be able to click to view the graphed data in pnp4nagios. Essentially...just like what Check_MK does, but natively in Nagios Core.

Many thanks :)
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Easy graphing of Switch interfaces

Post by jsmurphy »

I use the check_snmp_int.pl plugin for specific port monitoring and I think it will do everything you are after: http://nagios.manubulon.com/snmp_int.html

I haven't tested the bandwidth warning/critical portion of the plugin but it allows you to use regex to select the ports you are after which makes it pretty easy and it does parse perf data. Should meet your needs I think :)

As for the link to the graphs from the service you can find a guide for that here: http://docs.pnp4nagios.org/pnp-0.6/webfe
Hulkster
Posts: 5
Joined: Thu Jul 12, 2012 8:50 am

Re: Easy graphing of Switch interfaces

Post by Hulkster »

Thanks for this :) I have used this plugin breifly previously, and got good results via CLI.

I will spend a little more time with this and also refer to the pnp link...that looks like it should work.

Can I assume that the snmpwalk feature is only availalbe in Nagios XI?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Easy graphing of Switch interfaces

Post by jsmurphy »

snmpwalk feature? Are you referring to the wizard that looks up all the ports on a device and you can select which ones you want? If that's the case then yes that is an XI specific feature :)
Locked