We are making our free monitoring plan even more powerful - now with 50 free checks! Sign up now for free!
In new version of AppBeat (1.3.8) we added new option under "Reports / SQL Archive Analyzer". You can now create your own SQL filters to get archived log data that you need (basic SQL knowledge required). Data can also be exported to CSV files.
If you want to have highly available Azure SQL Database it is highly recommended that you configure Active Geo-Replication (this feature is available for all databases in all service tiers).
Active Geo-Replication consists of two (or more) databases in different regions, where one database is primary (read + write operations) and all other databases are secondaries (allowed only read operations). Secondary databases are automatically synced with changes in your primary database.
Failover event can be triggered manually or if disastrous event happens in one of Azure datacenters. In this case your primary database goes into secondary mode and one of your secondaries becomes new primary database. If you are accessing your databases directly by using connection string, you will have to update it to reflect primary / secondary database switch.
Of course, we want to update our connection string automatically and we will show you two C# code snippets how to detect which database is currently primary (in our examples we operate with one primary and one secondary database).
Run special query on each database to determine if it is in primary or secondary role:
public static async Task<string> GetPrimaryConnectionString()
bool? isPrimary = await IsPrimaryAsync(YOUR_CONNECTION_STRING_DB1);
if (isPrimary == true)
isPrimary = await IsPrimaryAsync(YOUR_CONNECTION_STRING_DB2);
if (isPrimary == true)
//could not determine which database is primary
private static async Task<bool?> IsPrimaryAsync(string connectionString)
using (var conn = new SqlConnection(connectionString))
if (conn.State != System.Data.ConnectionState.Open)
using (var cmd = conn.CreateCommand())
cmd.CommandText = "SELECT role FROM sys.dm_geo_replication_link_status";
var res = await cmd.ExecuteScalarAsync();
return Convert.ToInt32(res) == 0;
catch (Exception ex)
If you try to update database which is currently in secondary role you will get following SqlException: Failed to update database "YOUR_DB_NAME" because the database is read-only.
You can use this information to update your connection string:
catch (SqlException sqlException)
if (IsReadOnlyDatabase(sqlException) == true)
//current connection string probably points to secondary database (sqlException.Server)
//update your connection string to your other database
private static bool? IsReadOnlyDatabase(SqlException se)
if (se?.Errors == null) return null;
foreach (SqlError error in se.Errors)
if (error.Number == 3906)
We expanded our global network of monitoring probes with new locations in United States (West US), Europe, Asia and Australia.
We have published first version of our website speed test API, and to make it easier to use we also published simple command line interface tool which uses it.
Source code for AppBeat CLI tool is written in C# on top of cross-platform .NET Core platform and is available on GitHub. Installation instructions are available on our Website Speed Test page.
For example, if you would like to test page speed from Asia you would simply run following AppBeat CLI command:
dotnet AppBeat.CLI.dll page-speed Asia http://www.your-webpage.com
If you are adventurous enough to use our API directly, here is how to do this :)
First, you have to obtain AppBeat API Access Key which you can get for free, but you have to have AppBeat account (Sign Up here).
Then you would have to POST json message (content type should be set to application/json) to https://web1.appbeat.io/API/v1/page-speed or https://web2.appbeat.io/API/v1/page-speed
Posted json message should have following fields:
Where TEST_LOCATION should be Europe or NorthAmerica or Asia.
In return you should get json response with unique test id. Then periodically call AppBeat API server (with few seconds in-between) and ask it if results are available. You do this by sending HTTP GET request to https://web1.appbeat.io/API/v1/page-speed?secret=YOUR_APPBEAT_SECRET_KEY&id=SUBMITTED_TEST_ID or https://web2.appbeat.io/API/v1/page-speed?secret=YOUR_APPBEAT_SECRET_KEY&id=SUBMITTED_TEST_ID
Test is completed when Status property in json response is not Submitted or Pending anymore (it can take up to minute or two to start your test from our submitted test que).
You can also check our C# source code of our AppBeat CLI tool which implements this logic. Relevant code is located at:
As always, your feedback, questions and feature requests are welcome! You can contact us here.
Do you want reliable website monitoring but don't want to spend hundreds or even thousands of dollars per year? You have come to right place!
We have carefully analysed existing monitoring solutions and built AppBeat from scratch with three main goals in mind: reliability, efficiency and ease of use.
We offer you multi-location monitoring, plenty of built-in check types, third party integrations with Slack and PagerDuty (available also in Free plan), industry-standard encryption of your check settings and other sensitive data, powerful rule customization, noise reduction to prevent false alarms, free public status page and much more!
Our core monitoring service was designed with high-availability and robustness in mind: we have multiple identical servers in failover cluster configuration on different continents, one of them is always active and others are in passive mode. On top of that we have global network of AppBeat Agents distributed all around the world as microservices which are orchestrated by our monitoring failover cluster. With this architecture we can offer you very robust and reliable monitoring of your websites and online services.
Our free plan offers you five minute monitors with random monitoring location and most of other goodies that we offer in our paid plans. It is free forever and you don't need credit card to sign up. Our paid plans are very affordable, especially compared to competitive solutions. For only 1.99 EUR per month (around 2.20 USD in July 2016) you get ten one-minute monitors! Please check our pricing page for list of all plans.
Do you have too many monitors in competitive solution and you don't want to manually enter them in AppBeat? No problem, we can arrange migration of your existing monitors to AppBeat, just contact us first!
Have questions? We are always available to you - contact us now.
Today we published new version of AppBeat with following changes:
- you can now disable outage notifications for built-in Admin contact by double-clicking it (Contacts / Users)
- paid users can now select continents for preferred test location: Asia, North America, Europe (Account / Check settings)
- browser tries to remember collapse state of "Individual check statuses" in "Live status" view
- added "Public status / Status Updates" - you can now add manual status updates for your visitors
- "Delay alerts" is temporary disabled and removed from user interface. It will be again available in future versions.
- update other minor improvements
If you experience issues with your online application, you can now publish manual status updates for your users. To publish new status update select "Public status / Status Updates" from AppBeat menu and then click "Add new entry" button. Following dialog will open:
If your public status page is publicly enabled you can preview your newest status by selecting "Public status / Dashboard" and then clicking "Show public preview" link in top right corner. You will see something like this:
This feature is also available in our Free plan. If you are not yet AppBeat member you can sign up now. Registration is very quick and it is free (no credit card required).
In future versions we have plans to enable custom domains for AppBeat public status pages. Stay tuned...
Today we published AppBeat 1.3.6 with following features:
- "Account / API Access" - possible to call first AppBeat REST method which returns status overview of your system. This allows you to create your own simple client. We will add more useful methods in future.
- security improvement: same application session can not be used from multiple IP addresses
- we are now displaying question dialog when new web client is available (you can also postpone version upgrade) --> this will be visible first time when next version arrives
- back-end upgraded to .NET Core 1.0 RTM
- other minor improvements
API access is currently simple (just one method), but now we have solid infrastructure on which we can build. Next we will try to add REST method for measuring page speed from different locations. Website speed will be measured on remote browser and will also download all page resources (CSS, scripts, images, ...).
.NET Core 1.0 was officially released yesterday at Red Hat DevNation. Few hours later we already had our entire web backend migrated to RTM version. Because all internal tests were positive, we decided to push it to our production environment - less than 24 hours since official announcement :) This is what we call agile development :)
If your current version does not update to 1.3.6, simply press CTRL+F5 in your web browser. This should reload your page and replace cached version with new one.
Want to integrate your website monitoring notifications with Slack? Please follow these instructions.
From AppBeat dashboard, click on Account in the left navigation and then choose Integrations from tab menu.
Press the Slack button which opens Add notification channel dialog. Enter arbitrary name for this channel and your Slack webhook URL.
To make sure that everything works please click Test button which should send test notification to your Slack channel. If you don't receive any message we suggest that you double check your webhook URL. When everything looks OK you can click Add button.
Click on Services & Checks in the left navigation and double click on service for which you want to enable Slack notifications. In Edit service dialog, please click on Notification types tab. Enable your slack channel and click Save. You can repeat this step for your other services.
Today we published AppBeat 1.3.5 with following features:
- added context menus for services, checks and contacts for more clean user interface
- when you right click on check in "Service & Checks / Checks", there is new "Failure/success notes..." option. This allows you to include additional instructions for your support staff for each check and is included in sent notifications.
- "Account / Personalization" - possible to customize notification subject and short message (SMS) template
- "Account / Integrations" - added dynamic webhook provider which supports request customization - can be used with any notification provider that supports JSON payload
- check name is now included by default in notification subject and short message
- "Account / Security" - current password must be entered before changing to new password
- other minor improvements
Context menu support:
Failure/success check notes:
Dynamic JSON webhooks: