[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Best way to monitor static routing table entries?
- To: <hobbit (at) hswn.dk>
- Subject: Best way to monitor static routing table entries?
- From: "Gregory Larkin" <glarkin (at) sourcehosting.net>
- Date: Wed, 12 Nov 2008 12:00:08 -0500
- Organization: SourceHosting.net, LLC
- Thread-index: AclE6B0oT3msLgh2R7mwLhCE18MrQw==
Hello all,
I've been using Hobbit for a few years now, and it has always worked really
well for me. Lately, I've added some more tests to certain servers, and one
thing I'd like to do is detect the presence/absence of some static routes
that are configured on a RHEL4 Linux box.
I could write a script that greps the output of "netstat -rn" and redirects
it to a file. Hobbit could monitor the content of the file to make sure it
matches some predefined template, I suppose, but is there a more elegant
way?
I checked the BB script archive, and I found the bb-route extension, but
it's either not the right solution or too complicated for what I want to do.
Any suggestions?
Thank you,
Greg
Greg Larkin
Managing Member
SourceHosting.net, LLC
PO Box 1013
Hollis, NH 03049 US
glarkin (at) sourcehosting.net
http://www.linkedin.com/in/greglarkin