Forum Discussion
jjairos
Mar 18, 2012Nimbostratus
Active-Sync protocol does not support the "GET" method. Supported methods are "POST" and "OPTIONS". With the monitor as stated in the deployment guide if your credentials are correct then you should be getting error code 501 "Not Implemented" because the "GET" method is not supported. See Active Sync spec documentation link below.
http://msdn.microsoft.com/en-us/library/dd299446(v=exchg.80).aspx
Here is a monitor that should at least get you status that Active-Sync is up and running. You should get "HTTP/1.1 200 OK" as well as a list of available commands.
monitor MS-Active-Sync_mon {
defaults from http
interval 5
timeout 16
password "testing"
recv "MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync"
send "OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1\r\nHost: mail.example.com\r\nContent-Length: 0\r\nCache-Control: no-cache\r\nConnection: Close\r\n"
username "test"
}
To check test user mailbox, a more complex EAV will be required because the request will have to be accompanied by some request data in this case XML formatted.
Watch this space, will post EAV later once finalized.