Aug 19, 2011
tom

Is there a Nagios plugin that enables you to specify the referrer URL when checking a URL?

Question

I want to monitor site A that only accepts requests for a certain URL if the requests originate from site B. I know Wget has an option of downloading content protected by referrer like so

wget --referer=http://first_page http://second_page

Is there any Nagios plugin that would make this possible, or is check_http capable of this?

Answer

From the check_http man page:

-k, –header=STRING
Any other tags to be sent in http header. Use multiple times for additional headers

http://nagiosplugins.org/man/check_http

Related posts:

  1. Checking a secure website with Nagios
  2. Which plugin to use for checking Linux Memory?
  3. Is there a possibility to monitor https sites in nagios over a proxy?
  4. Need Help regarding nagios plugin
  5. What Nagios plugin to use for monitoring MySQL?

Leave a comment