Nagios issues - check_http not finding page that exists
I'm having some difficulty getting Nagios to monitor a couple of websites.
The sites are running on IIS7.5, and all the pages load and have correct content when viewed in a browser (including Lynx from the Nagios server itself), but the Nagios checks either come back as 302-moved or 404-not found. The checks are just basic 'there or not' tests.
Example test string:
check_http!-u /path/to/content -v -w7 -c15 -t30
I've tried switching user agents to see if anything funky is going on there, but I have the same issue whether I have Nagios identify itself as check_http or as any number of browsers.
I'm pretty sure this is an IIS specific issue, but I can't work out why why Nagios tests different content it returned compared to when the same URL is viewed in a browser.
Any ideas gratefully received.
Here lies Nekki. He loved massive amounts of storage, K-Pop and calling people cunts.