Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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

share|improve this answer
    
thanks a bunch, I guess RTFM would have been the correct answer to my question. – Kibet Mar 4 '10 at 7:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.