plugin to check route?

Vinther Jonas Struer <[email protected]> Thu, 23 Jan 2003 11:24:43 +0100
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
I want to write a small plugin to check the routes for our router setup.

 

The primary use for the program, are to check if our backup routers are
active. 

I thought of writing a small shell script that runs a "ping -r"  or
"tracerroute" to a remote host. Then I could filter the results to see if a
bad router where in the route, and then netsaint would return an error to
the status.

 

I just dont know, what error codes to return, or if it is possible to use
shell scripts as plugins...

 

I know, ultra very little of C programming.... ;-)

 

I think that a plugin that could do this, would be usefull for all companies
that has backup routers, and want to monitor when the backup routers are
active.

 

 

Med venlig hilsen / Yours sincerely

Jonas Struer Vinther

 

Technician, Intern

Danfoss A/S