Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.