Page 2 of 3

Re: Routers on a management network

Posted: Thu Mar 07, 2013 4:22 pm
by abrist
The generic wizard will work just fine for up/down checks. When you get ready to collect bandwidth metrics, you will most likely have to delve into snmp (get your knee-high waders on and set aside a few afternoons for this).

Re: Routers on a management network

Posted: Thu Mar 07, 2013 4:51 pm
by psyllex
Well I got nothing but the next two years of development to get it handled. I might as well just do it now.

I know for a typical server you need to put the snmp daemon on the server. Is there something similar to this for the router machines? (I did have cacti running for awhile until I realized this was a better option for me).

Re: Routers on a management network

Posted: Thu Mar 07, 2013 5:06 pm
by abrist
It sounds like these *routers* are actually *ubuntu* boxes running iptables with ip forwarding turned on. I think I missed that bit. If they really are full fledged linux boxes, you can use any of the plugins that support linux to check these boxes, like this one: http://exchange.nagios.org/directory/Pl ... nt/details

You could still go the snmp route, see the following documents for more information:

http://assets.nagios.com/downloads/nagi ... g_SNMP.pdf
http://exchange.nagios.org/directory/Do ... XI/details

Re: Routers on a management network

Posted: Thu Mar 07, 2013 5:45 pm
by psyllex
Essentially yes that's exactly what they are. I will really look over the docs you suggested before asking anymore questions. I'm sure you could keep all of you busy all day long. Thanks alot! :ugeek:

Re: Routers on a management network

Posted: Thu Mar 07, 2013 5:59 pm
by abrist
No problem.

Re: Routers on a management network

Posted: Thu Mar 07, 2013 6:01 pm
by slansing
One thing you will realize with Nagios is that either we, or the community have documented a huge amount of the process in configuring and tailoring both Nagios Core and XI. Also, searching the forums does wonders for finding solutions to problems, 80% or so of the issues we see are resurfaced and can be walked through to reach the same solution. But as always, we are glad to help.

Re: Routers on a management network

Posted: Fri Mar 08, 2013 7:22 pm
by psyllex
So when I try to use the Generic Network Device wizard to monitor any of my VLAN's (essentially just pinging them) it isn't getting through to the VLAN even though I am giving it a specific IP Address.

Additionally, I'm monitoring a CISCO switch, through the wizard, and it picks up a single VLAN;...but skips the rest of them (there are about 20 in all).

Is there a better way to do this?

Re: Routers on a management network

Posted: Mon Mar 11, 2013 10:36 am
by abrist
The wizard works through snmp, so you may have to use snmp-get, or better yet, snmpwalk the device to get the other vlan interface oids. Do you have an snmp/mib reference forr your cisco device? Have you tried one of the cisco plugins of the exchange? (they tend to make these types of setups easier)

http://exchange.nagios.org/index.php?op ... sco%20vlan
http://exchange.nagios.org/index.php?op ... word=cisco

Re: Routers on a management network

Posted: Mon Mar 11, 2013 11:51 am
by psyllex
abrist wrote:The wizard works through snmp, so you may have to use snmp-get, or better yet, snmpwalk the device to get the other vlan interface oids. Do you have an snmp/mib reference forr your cisco device? Have you tried one of the cisco plugins of teh exchange? (they tend to make these types of setups easier)

http://exchange.nagios.org/index.php?op ... sco%20vlan
http://exchange.nagios.org/index.php?op ... word=cisco
You guys really are going to make me a network admin. No no and no is the answer. I will look into those and get it running in the next couple of days. I didn't set up any external plugins on my system yet...I tried but failed. Need to handled that. But I don't think our cisco device is running the vlans, they are running of the Ubuntu boxes serving as routers. Not sure if that makes a difference.

Re: Routers on a management network

Posted: Mon Mar 11, 2013 12:20 pm
by abrist
If the vlans are setup on the ubuntu box, you will need to target their ips with the wizard. You may need to install net-snmp packages on the ubuntu systems to do so.