Monitoring probes
    The following table describes the monitoring probes you can use to view additional information for the health of your 
  
    
BEMS
 server and users. You can use monitoring probes to view information for a BEMS
 instance locally or from a remote computer.
      To use monitoring probes in your environment, you must enable them. If you are using the health service servlet, see Enable the health service servlet.
| Probe name | cURL Command | Output description | 
|---|---|---|
| Push Notification Counter | Type  curl -k -i -X GET \ -H "Content-Type:application/json" \ -H "Authorization:Basic ZG9tYWluXHVzZXI6cGFzc3dvcmQ=" \ 'https://< BEMS instance name> :8443/monitor/push.notifications' | SuccessfulPushes This probe specifies the number of push notifications, per push notification type (for example, APNS, GNP, and GCM) that have the instance sent for users supported by this instance. You want to see the number increase over short intervals of time. If it stops rising then  BEMSis not sending any push notifications. | 
| Total user count | Type  curl -k -i -X GET \ -H "Content-Type:application/json" \ -H "Authorization:Basic ZG9tYWluXHVzZXI6cGFzc3dvcmQ=" \ 'https://< BEMS instance name>:8443/monitor/mail.users/UsersCount' | UsersCount This probe specifies the total number of users across the  BEMScluster which successfully registered a device and are successfully auto discovered by BEMS. The UsersCount does not reflect the number of devices receiving push notifications. | 
| Stale user count | type  curl -k -i -X GET \ -H "Content-Type:application/json" \ -H "Authorization:Basic ZG9tYWluXHVzZXI6cGFzc3dvcmQ=" \ 'https://< BEMS instance name>:8443/monitor/mail.users/StaleUsersCount' | StaleUsersCount This probe specifies the total number of users across the  BEMScluster which successfully registered a device, but for which BEMSis no longer sending push notifications because the device hasn't registered in the past 72 hours. | 
| EWS user count | Type  curl -k -i -X GET \ -H "Content-Type:application/json" \ -H "Authorization:Basic ZG9tYWluXHVzZXI6cGFzc3dvcmQ=" \ 'https://< BEMS instance name>:8443/monitor/mail.ewslistener/EWSUserStats' | EWSConnectedUserCount This probe specifies the number of users on the  Microsoft Exchange Web
  Servicesinstance, for which BEMSconnects to the Microsoft Exchange
  Server, and is attempting to monitor the users' mailboxes. This EWSConnectedUserCount reflects the number of users most likely to be receiving push notifications unless BEMSis experiencing errors with its Microsoft Exchange Web
  Servicesconnections to the Microsoft Exchange
  Server. The EWSConnectedUserCount should be equal across all  Microsoft Exchange Web
  Servicesinstances in a cluster. If this count drops to 0 then the Microsoft Exchange Web
  Servicesinstance is not servicing any user mailboxes. |