Forum Discussion
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
Cirrocumulus
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.
- Kevin_Stewart
Employee
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com