ADSL modem checking
Matthew Macdonald-Wallace
lists at truthisfreedom.org.uk
Wed Aug 27 14:35:35 CEST 2008
On Wed, 27 Aug 2008 17:42:34 +0530
"J. Bakshi" <joydeep at infoservices.in> 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
matthew at truthisfreedom.org.uk
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 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