Hi Paul,
unfortunately check_http does not support cookie/session handling.
But if you use the webinject mkp by Robert Sander (https://mathias-kettner.de/check_mk_exchange_file.php?HTML=&file=webinject-1.0.mkp) you should be able to do what you want.
I don鈥檛 use this myself but webinject (http://webinject.org/manual.html) has cookie/session support and I found Robert鈥檚 MKP at exchange. I鈥檇 give it a try, although creating the needed xml means some work first
HTH,
Marcel
路路路
Paul Bongers Paul.Bongers@osudio.com schrieb am Fr., 13. Mai 2016 um 07:18 Uhr:
Hi list,
Does anyone know if the check_http plugin has cookie support?
I found an old patch on sourceforge[1], but this one wasn鈥檛 implemented.
Unfortunately, I can鈥檛 find any more recent information on cookie support.
My problem is that I need to monitor an URL that will create a session
and stores the session id in a cookie.
If I don鈥檛 return this cookie with the redirection, I receive a 403
error instead of 200.
Regards,
Paul
[1] https://sourceforge.net/p/nagiosplug/patches/79/
checkmk-en mailing list