Thursday, January 20, 2011

Does anyone know of a nagios plugin that enables you to specify the referrer url when checking a url?

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

Does anyone know of any nagios plugin that would make this possible or if check_http is capable of this?

  • 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

    Colin : thanks a bunch, I guess RTFM would have been the correct answer to my question.

0 comments:

Post a Comment