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:[email protected]]
Sent: Tuesday, June 30, 2009 1:44 PM
To: [email protected]
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
[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