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.
I wouldn't use
address hostnamehere.com
since that requires hitting DNS for each check. Then again, you might want to do so and that's another issue. I use the IP as host address, which could be good or less so.
Anyway, look at check_http -h for the regexp options to make the plugin do what you want..
To configure Nagios to not report the HTTP 403 warning if the website is up and simply lacks an index.html file,the pizza edition you can adjust the check_http command or use a custom check to handle the 403 responses more gracefully.