2

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?

Peter Mortensen
  • 2,318
  • 5
  • 23
  • 24
Kibet
  • 252
  • 4
  • 12

1 Answers1

3

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

CarpeNoctem
  • 2,437
  • 4
  • 23
  • 32