On Wed, 27 Aug 2008 17:42:34 +0530 "J. Bakshi" <[EMAIL PROTECTED]> wrote:
> Thanks for your response. I have a script which actually change the > default route to other lan card when the present lan card i.e. the > modem connected with it not providing the internet. The command you > have mentioned is also check the internet forcefully from the lan > card. Why not have this script touch a file when it changes the "current" interface (something like /var/tmp/eth0 or /var/tmp/eth1) and then write a basic plugin to read the file and set the Nagios status accordingly? M. -- Matthew Macdonald-Wallace [EMAIL PROTECTED] http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users@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