Monitor internet connection in a host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
echonoc
Posts: 29
Joined: Wed Dec 02, 2020 5:07 pm

Monitor internet connection in a host

Post by echonoc »

Hi All,

I need your help. We need to be able to detect when certain servers lose connection to the internet but still have internal connection.
Do you know how to do this?

We tried this but we are not sure if this is correct or not. We created a check like this:
check internet.PNG
Supposedly what we are doing is checking from the server XXXXXXX that has an answer from this url (cloud-auth.us.apps.paloaltonetworks.com) and if it fails then it means that the internet connection was lost.

Please let me know if this is the correct way to check if ay host lose internet connection.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Monitor internet connection in a host

Post by gormank »

What you're doing is checking ping from kap01 to the cloud host. If you want to check a URL, you can for example use check_http to the cloud URL.
Locked