One of the often requested features of the Lync Validator is some sort of automatic system monitoring. So in this months update we are going to introduce continuous monitoring of your Lync deployment.
How Does It Work?
LyncValidator currently checks external services for Certificate Validation, Edge and Reverse Proxy Ports are available, DNS Records and Office Web App services are available.
All deployments that are configured for automatic checking (this is called Premium Feature throughout the application) are checked on an hourly basis. If there are no errors found during this check, the site is marked as UP and last results are saved. If there are any errors round in the deployment, the site will be marked as in ALERT status.
Any site that is marked in ALERT status (or DOWN status) are checked every five minutes for a change. If a site is found to be up, the site will be marked as UP again and placed back into the hourly check cycle. If a site is found with an error for four consecutive checks, it will be changed from ALERT to DOWN. Once a site is marked as DOWN an e-mail will be generated and sent to your Microsoft Account. E-mails will continue to be sent every five minutes until the deployment becomes available again or the site is marked in suspended mode. When a site goes from DOWN to UP, an e-mail is generated notifying you that the site is in an UP state.
All of the monitoring is being done via Windows Azure. So the current reliability of system alerts and monitoring checks are based on the availability of Windows Azure. I’m basically saying 99.9% as that is what Microsoft offers.
How To Enable This?
Enable Premium Features
Login to the LyncValidator site. On the home page, you should see an option for User Preferences.
On the preference page, you have several options.
E-Mail Address: The E-Mail address currently isn’t used but we will be using it in the future for update e-mails.
Send E-mail Updates: In the future we will send updates for new features, any planned outages, etc.
Premium Account: This feature needs to be enabled to use the continuous monitoring feature. Feel free to check that box now.
Premium Licenses: This is the number of deployments you are allowed to enable for continuous features. Everyone is limited to one deployment.
Make sure to click Save Changes.
Verify Your Site
Before you enable automatic monitoring it would be wise to ensure that your site is going to come back as UP otherwise you are asking to have hundreds of e-mail sent to you. Go to your deployment and choose Validate Deployment. On that page, click Run Validation Process. This will verify all aspects of your deployment. If anything comes back as failed you should resolve those issues before continuing.
Once your deployment comes back clean move to the next step.
Enable Automatic Monitoring
Next, we need to enable monitoring on a particular deployment. Start by editing your deployment. On the left hand menu, you should now see an option for Premium Feature.
When you click on the Premium Features page, you should have a single option today.
All you need to do is enable automatic monitoring. Remember, by default everyone has the ability to monitor a single deployment.
How To Check It?
When you have enabled Automatic Monitoring when you view your list of existing deployments, you will see a two different visual indicators it’s been enabled.
At the top of the screen, you will see a tile for your deployment. It will visually give you the current state of your deployment. In my example, it’s red and DOWN. If you hover over the tile, it will show you the date and time of your last validation check. Additionally, all sites that are enabled for automatic monitoring will be listed in bold.
Clicking on the tile will bring you to the dashboard for the site.
Here, we again have a tile showing the current status. Next to that is the ability to suspend checks for your site for a period of time in the blue tile. You can enter any amount of time in minutes into the provided text box. When a deployment is marked in suspension, it will go from red to yellow.
Is This Free?
As of today, everyone is able to use a single site for free. I reserve the right to change this whenever I want (or turn it off for everyone). Windows Azure isn’t free to use and I’m not looking to get rich off of this either. If you find this useful, on the user preference page is a donation button for a total of $10. Why $10? Because based on what I’ve estimated for the cost to run the automatic checking, it’s going to cost about that much on an annual basis to check a site. This is my best guess estimate. I also reserve the right to change my mind in the future. If you donate $10, I’ll ensure your deployment doesn’t get turned off for the year. If you need to monitor more than one deployment, you should e-mail me at firstname.lastname@example.org and we can chat.
The plan is to add more features. The first thing we are going to add is the ability to choose which checks to alert on. Today’s its an all or nothing situation. We will offer checks based on each category (certs, OWAS, DNS, etc.). If you have other ideas to make the product better please let me know with my e-mail above.