Frank_J_104756
Nov 08, 2007Historic F5 Account
eav with curl doing posts
I'm trying to copy the EAV example shown in the monitoring examples. The EAV keeps failing and I'm trying to troubleshoot. When I run curl from cli to test using the syntax below I think I get the correct redirect
curl -fNs http://:8882/jde/E1Menu.maf -d 'jdeowpBackButtonProtect=PROTECTED&User=testuser&Password=testpassword&Environment=testenv&Role=*All' ...
the EAV I created I copied exactly from the HTTPbasic postexample on the monitoring/management section
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/HTTPMonitor_cURL_BasicPOST.html
when I created the external monitor I discovered that I can't put the eav in /config/eav even though the instructions say to do so. The file has to go into /usr/bin/monitors. I set the perms to 700 . I then created an external monitor with a DATA variable containing the exact string listed above, a URI variable for /jde/E1Menu.maf , and a Data variable with the exact 302 content pulled from HTTPwatch.
I apply this monitor to the nodes and it fails instantly. I'm concerened about the special char. I'm also wondering if using the whole HTTP redirect
Redirect to http://testserver:8882/jde/E1Menu.maf?RENDER_MAFLET=E1Menu&jdeowpBackButtonProtect=PROTECTED
was the right thing to do. This is my 1st attempt at EAV's using curl and I'm wondering how to proceed to troubleshoot.
Thanks!! Oh and I'm running 9.3 HF3.