Monitor sites behind CDN

Hello Team,

We have recently moved our corporate websites behind CDN (Content Delivery Network). There are around 30 website i.e. per country. What is the best way to monitor them?

I can create the monitors with static IPs i.e. a dummy host with check_http command but there are multiple IPs to the site and I could not find a way to issue check-command without ‘-I’ parameter.

Could someone pls advise.

Regards,
Sudhir

Hello,

are all websites on the same webserver or different. Or does the CDN uses different webserver/sites per country?

Regards,
Carsten

Hello Carsten,

All websites are on the same webserver. As of now I have created dummy hosts for all websites and added individual service using check_http to all of them.

The executed command looks like this - ‘/usr/lib64/nagios/plugins/check_http’ ‘–sni’ ‘-H’ ‘www.website.in’ ‘-I’ ‘www.website.in’ ‘-S’ ‘-e’ ‘HTTP/1.1 200 OK’ ‘-s’ ‘India’

Regards,

Sudhir

1 Like