Populate switches and routers

Brian A. Seklecki lavalamp at spiritual-machines.org
Thu Jun 26 14:00:47 CEST 2008


On Thu, 2008-06-26 at 11:36 +0200, Tom DE BLENDE (EECC) (DHL) wrote:
> Hi list,
>  
> Has anyone any experience with using cdp or another discovery method
> to automate the process of setting up your network layout in Nagios? I
> have to roll out Nagios in a network with hundreds of (Cisco) switches

You could use perl/php to do this in about 20 lines by parsing "sh bgp
neighbors" or "show cdp *"

It depends on how many interfaces on every router that you'd like to
monitor, and whether they have proper reverse/forward DNS for every
interface.

~BAS



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list