[rancid] Re: RANCID as an Element of a CMDB System

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Fri Sep 19 13:46:41 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Traiano,

Traiano Welcome wrote:
| what I want is a pre-canned sql schema for each
| model router config (or a single generic one!) which would allow me
| to easily import a router config into a database.

If you were using SNMP, you could poll the ENTITY-MIB on the network
devices. This would reveal their hardware configuration, and it uses a
standardized language as described in section 3 of RFC 2737.

Some systems such as Netdisco will do this, and insert it into an SQL
database. The database schema is quite simple; the RFC uses a strict
hierachical model for the physical entities.

You could look at the Netdisco or SNMP::Info code for some ideas,
perhaps, and translate them for your RANCID-based system.

regards,
oliver.
- --
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI061B2NPq7pwWBt4RAi52AJ93VHcMrSvg5JBCNTkW1H7Kbh2wDACfUVmu
h2KgL6cIfWtD7yfzw8x1rMI=
=7Yay
-----END PGP SIGNATURE-----


More information about the Rancid-discuss mailing list