OSPF route graph

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
MatsB
Cacti User
Posts: 57
Joined: Tue Jan 10, 2006 9:25 am

OSPF route graph

Post by MatsB »

I'm looking for way to graph total number of routes in OSPF. Anyone got a working OID that I can use?
noflies
Cacti User
Posts: 83
Joined: Sun Dec 18, 2005 9:30 am

Post by noflies »

The ipForward table should have something close...start with ".1.3.6.1.2.1.4.24.6" (may not be OSPF only)
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Re: OSPF route graph

Post by frdrk »

MatsB wrote:I'm looking for way to graph total number of routes in OSPF. Anyone got a working OID that I can use?
Where you able to do an number of routes graph? I would very much want one myself :]
MatsB
Cacti User
Posts: 57
Joined: Tue Jan 10, 2006 9:25 am

Post by MatsB »

Nope it didn't work :cry:

IP-FORWARD-MIB::inetCidrRouteNumber = No Such Object available on this agent at this OID
noflies
Cacti User
Posts: 83
Joined: Sun Dec 18, 2005 9:30 am

Post by noflies »

Please post a short snmpwalk output starting with ".1.3.6.1.2.1.4.24.6" and if you wish (and assuming its a Cisco router) look at the output from the router terminal session's output of "show ip ospf database summary"
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

If I walk .1.3.6.1.2.1.4.24.4 I get the whole routing table I think, same as with just .1.3.6.1.2.1.4.24, but there it starts with IP-FORWARD-MIB::ipCidrRouteNumber.0 = Gauge32: 5613, which I guess you could use to make a nice graph on overall routes in the router.
Fagao
Posts: 3
Joined: Tue Dec 23, 2003 5:40 am

OSPF Template

Post by Fagao »

I made a template with the total connected routes from OSPF Area's. It graphs the number of routers and number of routes in all OSPF Area's the routes is participating in.
Exported using Cacti Version 0.8.6h
Attachments
Cacti_Template_OSPF.zip
(7.6 KiB) Downloaded 1224 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moved to scripts and templates to attract more attention to this solution. Thank you for posting
Reinhard
rbressers
Posts: 5
Joined: Tue Feb 03, 2009 11:46 am

Post by rbressers »

unfortunately i cannot get this template cisco_ospf.xml to work on Cacti 0.8.7c. Can you export it for me/us?
istein001
Cacti User
Posts: 54
Joined: Fri Feb 22, 2008 4:44 pm
Location: Houston

Post by istein001 »

I had to go into the "Data Queries" for "Cisco OSPF" and change:

path_cacti/resource/snmp_queries/cisco_ospf.xml

to

<path_cacti>/resource/snmp_queries/cisco_ospf.xml

as well as place cisco_ospf.xml into that directory after importing all the other xml files. Now a verbose query returns one area "0.0.0.0" which is my area 0.
istein001
Cacti User
Posts: 54
Joined: Fri Feb 22, 2008 4:44 pm
Location: Houston

Post by istein001 »

I also had to delete the "Unit Grid Value (--unit/--y-grid)" value of 1, to nothing... rrdtool 1.2 didn't like that.

Graphs are now showing up fine...
istein001
Cacti User
Posts: 54
Joined: Fri Feb 22, 2008 4:44 pm
Location: Houston

Post by istein001 »

Also... please note the "total routers" is the total number of Border routers injecting E1/E2 routes... not total number of routers, or even neighbors. I tried to find an OID for # of neighbor routers... but can't find one.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests