For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

John_Ogle_45372's avatar
John_Ogle_45372
Icon for Nimbostratus rankNimbostratus
Jul 23, 2014

curl example to troubleshoot exchange monitors?

Does anyone have a curl example to replicate the EAV monitors that come with the Exchange 2013 iApp? It ask for user, password, email account and domain. I have an example here that is fine for user/password but what about the other two variables. ??

 

curl --user name:password http://www.test.com

 

I don't know how to pass all four variables at once.

 

2 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    John,

     

    If you create the iapp and then open up the eav file on the bigip you should see the curl command the monitor is sending and recreate it yourself. This is the one I've got:

     

    curl -g -s --ntlm -k -X POST -H 'Content-Type: text/xml; charset=utf-8' -d "${XMLFULL}" -u ${DOMAIN}\${USER}:${PASSWORD} http://${NODE}${ADSURI} | grep -i "${RECV}" 2>&1 > /dev/null

     

    You may want to strip it down for your purposes, however.

     

    Hope this helps.

     

  • The iApp should create at least two EAVs, one of which is the autodiscover_eav monitor that uses the mail account and password. It's more than just a cURL statement, but a whole XML POST request. I would recommend reviewing that script.