shadih rahman wrote: > All, > What is the best way to check if our network has connection to > commodity internet or not. What I am trying to achieve is to ensure > internal network has connection to Internet. One thing is to ping > google check. Is this a good idea or can someone suggest a better way > to do this. Please advise on this. Thanks > I created an extremely simple plugin that takes several hosts as argument and if one of them is up, Internet is considered to be up
its available at http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_internet.sh;hb=HEAD cheers Johannes > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB Första Långgatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: [email protected] http://www.op5.com/ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list [email protected] 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
