Community discussions

MikroTik App
 
b2xonline
just joined
Topic Author
Posts: 3
Joined: Mon Jul 12, 2004 7:18 pm
Location: Salem Virginia
Contact:

OSPF & Scripting

Fri Oct 22, 2004 4:13 pm

I will soon be implementing OSPF on my entire network. If anyone would like to submit their OSPF scripts for review that would be great.

But my real question is..... I need to know when a link goes down in my network. So I would like to know when the route table changes or when OSPF detects a needed change. Is there a way to script that and notify me?

Thanks in advance
Casey
 
cheinzle
newbie
Posts: 36
Joined: Thu Oct 28, 2004 7:06 pm
Location: Nebraska

Thu Oct 28, 2004 9:47 pm

I would like to know how to do this, as well.
 
cheinzle
newbie
Posts: 36
Joined: Thu Oct 28, 2004 7:06 pm
Location: Nebraska

Thu Oct 28, 2004 10:14 pm

Im thinking of perhaps something like this:

count the number of dynamic routes, and store that in a local (global) variable.

every minute (or so), count the number of dynamic routes again, and compare it to the last time. If they are different, write the whole dynamic table to a file, log, or email.

If a route is lost, it will log everyting. If a route is gained (back), it will log everything.

It has its limitations, but it might work.

Who is online

Users browsing this forum: ACE3021, alber, Bing [Bot], DarkKnightRUS, drbunsen, helectro, jebz, pukkita, RemiR, Zacharias and 112 guests