[Nagios-users] monitoring external internet connectivity

2009-06-30 Thread shadih rahman
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

-- 
Cordially,
Shadhin Rahman
--
___
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

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Marc Powell

On Jun 30, 2009, at 2:43 PM, 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.

It is never a good idea to steal the resources of some third party for  
your own purposes, no matter how infinite you think those resources to  
be. If you and hundreds, thousands or millions of other people all  
think it's just fine to ping Google all the time, Google takes the  
brunt of that resource hit.

I would recommend that you poll your router's snmp tables to get  
interface status (ifStatus, ifOperStatus). Alternately, place a test  
device or purchase a small colo server somewhere outside your network  
that you can use as the target for your tests; or work with someone  
with similar needs to arrange permission to ping devices on each  
other's network.

--
Marc


--
___
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


Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Jayson Broughton
Shadhin,

I had our nagios ping google.com for awhile, but if something happens to the
DNS server internally then it gave a false reading saying the internet was
down when it was a DNS issue.  Eventually I figured I could ping my ISP's IP
address instead of hostname, and that seemed to work well.  Im sure a place
like google has more than 1 ip address associated with it, so I would pick
an external IP address of a known site/company and plug it in.  I also have
SMS enabled/setup on my nagios machine so that when the internal network is
down, an SMS message is generated and sent to the techie phones.  (can't get
email if the network is down, eh?)

 

 

Hope this helps,

 

Jayson Broughton

 

 

From: shadih rahman [mailto:shadhi...@gmail.com] 
Sent: Tuesday, June 30, 2009 1:44 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitoring external internet connectivity

 

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

-- 
Cordially,
Shadhin Rahman


The information in this electronic mail message and any attached files is 
confidential and may be legally privileged.  If you are not the intended 
recipient, delete this message and contact the sender immediately.  Access to 
this message by anyone other than its intended recipient is unauthorized.  You 
must not use or disseminate this information as it is proprietary property of 
the True companies.  Communications on or through the True companies' computer 
systems may be monitored or recorded to secure effective system operation and 
for other lawful purposes.  Thank you.--
___
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

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Jayson Broughton
I gotta 2nd Marc on that.  We did get permission from our ISP to ping their
network, as we are usually the first to know when one of our 28+ networks go
down in the country :-)  I too would get permission. Because if they don't
know who you are, some attentive little admin at x site might see your
possibly mis-configured nagios server as a DOS attack against their network
and block you.  Thus leaving you with a false response that your network is
down :-)  Or even if it's not mis-configured, having your server pinging
their server at regular intervals might seem abit off to someone that's
monitoring logs.

Jayson

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Tuesday, June 30, 2009 2:05 PM
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] monitoring external internet connectivity


On Jun 30, 2009, at 2:43 PM, 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.

It is never a good idea to steal the resources of some third party for  
your own purposes, no matter how infinite you think those resources to  
be. If you and hundreds, thousands or millions of other people all  
think it's just fine to ping Google all the time, Google takes the  
brunt of that resource hit.

I would recommend that you poll your router's snmp tables to get  
interface status (ifStatus, ifOperStatus). Alternately, place a test  
device or purchase a small colo server somewhere outside your network  
that you can use as the target for your tests; or work with someone  
with similar needs to arrange permission to ping devices on each  
other's network.

--
Marc



--
___
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
The information in this electronic mail message and any attached files is 
confidential and may be legally privileged.  If you are not the intended 
recipient, delete this message and contact the sender immediately.  Access to 
this message by anyone other than its intended recipient is unauthorized.  You 
must not use or disseminate this information as it is proprietary property of 
the True companies.  Communications on or through the True companies' computer 
systems may be monitored or recorded to secure effective system operation and 
for other lawful purposes.  Thank you.


--
___
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


Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Mathew Walker

do you host your website internally?  if not, ping that host and or do an HTTP 
check of it.

 

one thing i highly recommend is using a small little VPS ($10/mo even) to do 
some basic monitoring.  I use one personally for testing and to monitor my 
websites, friends websites, our email and dns services, etc.  Also I use it to 
monitor our corporate Nagios servers as a sanity check.  :-)

-- 
Mat W. - http://www.techadre.com


 


Date: Tue, 30 Jun 2009 15:43:57 -0400
From: shadhi...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] monitoring external internet connectivity

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
-- 
Cordially,
Shadhin Rahman

_
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290--
___
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

Re: [Nagios-users] monitoring external internet connectivity

2009-06-30 Thread Johannes Dagemark
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
 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


-- 
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: j...@op5.com
http://www.op5.com/


--
___
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