check_route or equivalent?
Hugo van der Kooij
hvdkooij at vanderkooij.org
Fri Sep 22 21:04:18 CEST 2006
On Fri, 22 Sep 2006, Hari Sekhon wrote:
> I've got a second firewall connected to an adsl modem as a backup and I
> want to be able to monitor that the second line is actually working and
> routing properly to the internet.
>
> What I would like to do is to send a traceroute to www.google.com but
> send it via the ip of the backup firewall instead of the default gateway.
>
> I just want to check ping using this ip as my local gateway instead of
> the usual default gateway.
>
> Does anybody know of a plugin to do this or have any idea how I can send
> this ping without changing my routing on the nagios host server?
Sound like you want the omelet without breaking the eggshells.
I think you need to handle this with routing. So I suggest you sacrify
some subnet you do not want to reach normally and send that network out
via the other link. (Say: 207.68.128.0/18 ;-)
And just for good measures. If it is the backup link. How will you do the
failover? (Not that is has anything to do with Nagios.)
It might be worthwhile digging into the source based routing option of
your network equipment.
Hugo.
--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list