We are trying to do a web check that requires a parameter to be sniffed off the page... So, it looks something like this...
1) http//gotomyloginpage --> Redirects you to http//real_login_page
If you did a "view source" on http://real_login_page, you will see that while redirecting, it embedded a hidden field called "request_id" with some randomly generated value like "234982338774"...
2) In order to complete the login process it then submits something like this:
http//authenticate_url?req_id=234982338774&username=user &password=myPassword
So, I need to do something like this:
1) Hit landing page and wait for re-direct to happen
2) Parse out request_id from the login page
3) Pass request_id as part of the POST data.
Can Zabbix do this? Can it let me parse out something on the page in step 1 to send along with the POST operation in step 2?
1) http//gotomyloginpage --> Redirects you to http//real_login_page
If you did a "view source" on http://real_login_page, you will see that while redirecting, it embedded a hidden field called "request_id" with some randomly generated value like "234982338774"...
2) In order to complete the login process it then submits something like this:
http//authenticate_url?req_id=234982338774&username=user &password=myPassword
So, I need to do something like this:
1) Hit landing page and wait for re-direct to happen
2) Parse out request_id from the login page
3) Pass request_id as part of the POST data.
Can Zabbix do this? Can it let me parse out something on the page in step 1 to send along with the POST operation in step 2?