Now we are using Service group to group live website URL. we will go to monitor all our live websites HTTP 200 status. It will give us a report for the uptime and downtime of live websites.
To check live websites HTTP status, we need below plugin to download on Nagios server.
Check_website plugin :
This plugin is meant to verify that the index page is being served properly. Many plugins may check to see if port 80 is responding for a domain or if the site comes up without realizing if it is erroring out due to a DB tie-in, etc. This creates a file in /tmp that has the actual content output from the index. If it is not responding correctly or with an error, it will provide a critical error.