[121537] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

RE: RE: Enhancing automation with network growth

daemon@ATHENA.MIT.EDU (Kevin St John)
Thu Jan 21 20:54:56 2010

From: "Kevin St John" <kstjohn@rising-light.net>
To: "'Kevin St John'" <kstjohn@rising-light.net>,
	=?windows-1255?Q?'Tom_Wright_=FD'?= <TWright@internode.com.au>,
	=?windows-1255?Q?'Steve_Bertrand_=FD'?= <steve@ibctech.ca>
In-Reply-To: 
Date: Thu, 21 Jan 2010 17:51:13 -0800
Cc: =?windows-1255?Q?'nanog_list_=FD'?= <nanog@nanog.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

I think Cacti (www.cacti.net) can do this pretty simply if that=92s any =
help=85


________________________________________
From: Tom Wright [TWright@internode.com.au]
Sent: Thursday, January 21, 2010 4:54 PM
To: Steve Bertrand
Cc: nanog list
Subject: Re: Enhancing automation with network growth

Hi Steve,

Our MRTG is fully automated.  We ditched cfgmaker (too slow) in favour =
of
our own developed Perl using the Net::SNMP module from CPAN.

If you use 'non-blocking' SNMP calls, Net::SNMP can be blisteringly =
fast.

In the case of our routers/switches, we query our NMS (assume this is =
just a
table of hostnames and IP addresses) for a list the devices we want to
graph, and then re-generate MRTG configurations a few times a day - =
meaning
that we pick up new devices/port changes automatically.

Capital expenditure =3D $0 :)

-- Tom


On 21/01/2010, at 1:24 PM, Steve Bertrand wrote:

Hi all,

I'm reaching the point where adding in a new piece of infrastructure
hardware, connecting up a new cable, and/or assigning address space to a
client is nearly 50% documentation and 50% technical.

One thing that would take a major load off would be if my MRTG system
could simply update its config/index files for itself, instead of me
having to  do it on each and every port change.

Can anyone offer up ideas on how you manage any automation in this
regard for their infrastructure gear traffic graphs? (Commercial options
welcome, off-list, but we're as small as our budget is).

Unless something else is out there that I've missed, I'm seriously
considering writing up a module in Perl to put up on the CPAN that can
scan my RANCID logs (and perhaps the devices directly for someone who
doesn't use RANCID), send an aggregate 'are these changes authorized'
email to an engineer, and then proceed to execute the proper commands
within the proper MRTG directories if the engineer approves.

I use a mix of Cisco/FreeBSD&Quagga for routers, and Cisco/HP for
switches, so it is not as simple as throwing a single command at all
configs.

All feedback welcome, especially if you are in the same boat. My IP
address documentation/DNS is far more important than my traffic stats,
but it really hurts when you've forgotten about a port three months ago
that you need to know about now.

Steve



--
Kind Regards,

Tom Wright
Internode Network Operations
P: +61 8 8228 2999
W: http://www.internode.on.net<http://www.internode.on.net/>

=20


home help back first fref pref prev next nref lref last post