Database monitoring in Geocortex Analytics [Geocortex Tech Tip]

Database monitoring in Geocortex Analytics [Geocortex Tech Tip]

Aaron Oxley
Aaron Oxley
Technical Sales
September 25, 2020

Database monitoring in Geocortex Analytics [Geocortex Tech Tip]

Database Monitoring in Geocortex Analytics [Geocortex Tech Tip]

With the recent release of Geocortex Analytics 1.7, we’ve introduced some exciting new features, including support for database monitoring as well as Scenes and Notebooks for ArcGIS Online and Portal for ArcGIS. Version 1.7 also brings various performance improvements, including faster load times when monitoring trends for your Geocortex apps.

With that in mind, we are going to show you how Geocortex Analytics can monitor your databases in today’s tech tip. Specifically, we’ll demonstrate how to configure a database, a query, and an alarm that’s based on that query.

Watch on YouTube.

Video Transcript

“Hello everybody. What’s up? I’m Aaron Oxley. I’m a Technical Sales Specialist at Geocortex, and in today’s Tech Tip, I want to show you how Geocortex Analytics can monitor your databases.

It’s a new feature, released in 1.7 and basically, Analytics will probe your database to make sure it’s up and running, alive and well, but beyond that, we can also configure custom queries and Geocortex Analytics can trigger alarms if that response to that query is an unexpected value.

So, today, I’m going to show you how to configure the database, how to configure the query, and how to configure an alarm based on that query. Let’s dig in!

I’ll sign into Geocortex Analytics and we want to jump into configuration in the top right corner, and then in the bottom left corner, we can select ‘Add Resource’ and add a ‘Database’.

So, first up, ‘Display Name’ and this is arbitrary, it’s just the name that we’re going to see in this left menu. My database is hosted on a server named ‘PROD-DMSQL’, so I’ll go with that. The next field, ‘Server Installed On’ – this allows Analytics to make a connection between the CPU and ram usage for this particular database and the performance of the entire server.

I know this database is installed on my PROD-DMSQL server. So, I’ll pick that one.

Now, ‘Connection Type’, this is how Geocortex Analytics knows how to connect to the database if it’s an SQL server. We just need to get the right connection string, if it’s OLEDB or an ODBC connection then a driver would need to be present. In this case, though, I am going to use an SQL server.

By default, we have a couple of fields here. ‘Server / Data Source’, which is pretty self-explanatory – it’s just the server where the database is hosted and ‘Authentication Type’. If we select Authentication Type, we get a couple of extra fields to add credentials, but for my database, I actually need to use a more complex connection string. So, I’ll switch this toggle, so I can use a custom connection string and I can enter whatever I want in this box. If you need to add parameters other than the authentication type and credentials, then this is the way to do it.

So, I’ll just paste in my connection string value and then test it, and we’ve successfully connected to the database. Let’s say ‘ok’ and save that, and the database now shows up in the resource list and Geocortex Analytics will attempt to connect every 15 minutes by default or whatever interval you have configured.

Now, if Geocortex Analytics can’t connect to the database, we do have a default alarm configured. Let’s go take a look at that.

So here it is. What this alarm means is that if the database were to become unavailable for any reason, an alarm will be triggered. We can come over and open up this More button and click ‘Check Now’ to test the connection and Analytics lets us know that this database is responsive. If it wasn’t, this alarm would be triggered and we’d see a red triangle over here with an exclamation mark and – depending on what we have configured – this could fire a batch script send an email, or an SMS message or any combination of those.

Let’s go take a look where that happens. I’ll select configuration again and then I’m going to jump over to the alarms tab on this database and I can see the alarm here. I’ll click the pencil to edit and now I’ll switch this toggle off, so we can configure this alarm independently and now I can set this alarm to run a batch script or send notification by email or by text message.

Where this gets really powerful though, is issuing a query and having alarms based on that query. It could be how long it takes for a response to come back, or you can configure an alarm to trigger based on the value that gets returned. So, I have a table that stores active work orders – it’s essentially a queue and if it ever gets over 150, I want to know right away that’s a problem and it needs attention.

I should highlight that Analytics can only work with queries where the response will be a single value, so keep that in mind when configuring.

Let’s go set this one up. If I come over to the ‘Queries’ tab and click ‘New Query’, we need to give it a name, I will say ‘Work Orders’ and now the query itself; this one’s pretty basic. I will use a ‘SELECT COUNT’ and I need to specify a field in the brackets here, ‘(WorkOrderID)’ is my unique field, that’s what I want and we’re selecting this count from my work orders table, and I’ve got the name of that here. I’m just going to paste it in.

If I wanted to, I could continue refining this query with a where clause, but I’m interested in the total count of all work orders. So, let’s test it!

Ok the value returned was 155. So, let’s say okay and save that one. Now, if I expand this row, we can see that there are three new alarms associated with this query. The ‘Query Failure Alarm’, it’s pretty self-explanatory, if the server was down or the table was removed or if a field name was changed work order ID, if something caused this query to actually fail. The ‘Query Result Alarm’, this allows us to trigger an alarm based on the value that gets returned, and this is where we can check if it’s over 150.

I’ll click the pencil to edit. I’m going to toggle off the default settings and set the maximum to 150 and I’ll set up an email alert for myself and save. That’s it.

Now, this last alarm, ‘Query Response Time Alarm’. This lets us monitor the performance of this Database. it’s a really simple query that we’re running so it should only take a few milliseconds. I’m going to say it’s an issue if it takes over 10 milliseconds to complete and again email myself. I’ll save that one and now we can close out a configuration, and let’s expand this query and we can see the three alarms here.

On the right side, if we click one of these More buttons, we can do a check now again and we can see the orange exclamation mark here indicating that this alarm is in a triggered state.

Now, if I go and check my Outlook, I can see that I have a new email from Geocortex Analytics letting me know about the alarm. There it is an alarm for PROD-DMLSQL, the database query result exceeded the maximum value of 150.

So that’s it. Analytics database monitoring!

If you want to know more just let us know email info@geocortex.com. If this video was helpful for you please like, share, subscribe, and check out our other videos. There are tech tips and webinars all sorts of great stuff on our channel.

Thanks for watching!”

Want to get a first-hand look at how Geocortex Analytics can help optimize performance for your GIS? Click the button below to get more product information, or to schedule a personal demonstration!

Discover Geocortex Analytics


Categories:
Archive
Open: 2020
2020
October 16, 2020

Considerations when migrating from Geocortex Viewer for HTML5 to Geocortex Web [Geocortex Tech Tip]

October 9, 2020

Launching a report from Geocortex Inline [Geocortex Tech Tip]

October 2, 2020

How to include the current map image in a report [Geocortex Tech Tip]

September 25, 2020

Database monitoring in Geocortex Analytics [Geocortex Tech Tip]

September 18, 2020

Efficiently setting field permissions using advanced JavaScript permissions [Geocortex Tech Tip]

September 11, 2020

How to set different user and group permissions on fields and attributes in Geocortex Access Control [Geocortex Tech Tip]

September 4, 2020

Filter expression syntax and operators with Geocortex Access Control [Geocortex Tech Tip]

August 28, 2020

Leveraging attribute filters in Geocortex Access Control [Geocortex Tech Tip]

August 21, 2020

Using layer filter effects in Geocortex Web [Geocortex Tech Tip]

August 14, 2020

Conditional Tips in Geocortex Inline [Geocortex Tech Tip]

August 7, 2020

Configuring KPI cards in Geocortex Web [Geocortex Tech Tip]

July 31, 2020

Find your way around a workflow using the new Navigator component [Geocortex Tech Tip]

July 24, 2020

Working with symbols in Geocortex Workflow (Accessing JavaScript 3.x & 4.x playground etc) [Geocortex Tech Tip]

July 22, 2020

Simplify Pipeline Integrity Management with Geocortex Inline [Webinar]

July 17, 2020

Configuring Geocortex Web Events in Geocortex Web [Geocortex Tech Tip]

July 10, 2020

Creating and configuring launch links in Geocortex Mobile [Geocortex Tech Tip]

July 3, 2020

Using environment variables for application management in Geocortex Web and Geocortex Mobile Designer [Geocortex Tech Tip]

June 26, 2020

Understanding feature actions in the Geocortex Web and Geocortex Mobile Designers [Geocortex Tech Tip]

June 19, 2020

Geocortex Essentials import/export support enhancements in 4.13 [Geocortex Tech Tip]

June 12, 2020

Using Union Geometries in Geocortex Workflow [Geocortex Tech Tip]

June 5, 2020

Removing unneeded applications in Geocortex Web and Geocortex Mobile Designer [Geocortex Tech Tip]

May 29, 2020

A deeper dive on advanced View Designer configuration [Geocortex Tech Tip]

May 22, 2020

Launching a workflow in Geocortex Inline [Geocortex Tech Tip]

May 20, 2020

Geocortex Essentials 4.13: Additional development tools and external widget support let you customize your apps even further

May 15, 2020

Understanding points of interest and station locator [Geocortex Tech Tip]

May 8, 2020

Using the Inline Designer to build linear referencing views [Geocortex Tech Tip]

May 1, 2020

Understanding performance differences between Geocortex Workflow and the workflow capability in Geocortex Essentials [Geocortex Tech Tip]

April 24, 2020

Printing a vector tile layer in Geocortex Printing vs the Printing widget in Geocortex Essentials [Geocortex Tech Tip]

April 17, 2020

Producing layer reports in Geocortex Reporting vs the Reporting widget in Geocortex Essentials [Geocortex Tech Tip]

April 10, 2020

Comparing dynamic forms in Geocortex Workflow vs Geocortex Essentials [Geocortex Tech Tip]

April 7, 2020

Take control of your GIS with Geocortex Access Control [Webinar]

April 3, 2020

Performing field inspections with Geocortex Mobile (OOB Editing) [Geocortex Tech Tip]

March 27, 2020

Working with Conditional Expressions in Geocortex Reporting [Geocortex Tech Tip]

March 20, 2020

Export support and new third party map integration widgets [Geocortex Tech Tip]

March 13, 2020

Configure and Monitor a Web AppBuilder Web Application from Geocortex Analytics [Geocortex Tech Tip]

March 11, 2020

Geocortex Events and COVID-19/Coronavirus

March 6, 2020

Running a batch script from an alarm with Geocortex Analytics [Geocortex Tech Tip]

February 28, 2020

Understand how your users are engaging with the tools in your applications [Geocortex Tech Tip]

February 21, 2020

How to manage alarms in Geocortex Analytics [Geocortex Tech Tip]

Open: 2019
2019
December 18, 2019

Geocortex in 2019, and a glimpse of what's to come

December 5, 2019

Four key benefits to adopting a mobile GIS solution

November 29, 2019

Using Geocortex Mobile to collect survey data [Geocortex Tech Tip]

November 27, 2019

Dive into Geocortex Analytics [Webinar]

November 22, 2019

How to input parameters on prints [Geocortex Tech Tip]

November 15, 2019

How to include feature attachments in reports [Geocortex Tech Tip]

November 14, 2019

Understanding application management in the Designer [Geocortex Tech Tip]

November 14, 2019

How to reference symbology from web maps [Geocortex Tech Tip]

November 14, 2019

How Geocortex Mobile can integrate with other apps [Geocortex Tech Tip]

November 14, 2019

Implementing Arcade Expressions in Geocortex Essentials [Geocortex Tech Tip]

November 14, 2019

Customer Spotlight: Geocortex Mobile

November 14, 2019

How to Format Your Reports [Geocortex Tech Tip]

November 14, 2019

Showing an image in a form after a file picker [Geocortex Tech Tip]

November 14, 2019

Richard Wiegmann Joins VertiGIS as President and CEO

September 27, 2019

Understanding the toolbar in Geocortex Web [Geocortex Tech Tip]

September 20, 2019

Refining Results in Geocortex Web [Geocortex Tech Tip]

September 19, 2019

Charting data using Geocortex Reporting: Honing your charting skills

September 13, 2019

Utilizing the flexibility of layout in Geocortex Web [Geocortex Tech Tip]

September 6, 2019

Creating Geocortex Web applications that move seamlessly between 2D and 3D [Geocortex Tech Tip]

August 28, 2019

Geocortex adds support for Arcade scripting and ArcGIS Online smart mapping

August 23, 2019

How to create sections and groups for your reports [Geocortex Tech Tip]

August 16, 2019

Displaying SQL Server Data in Geocortex Workflow [Geocortex Tech Tip]

August 14, 2019

Customer Spotlight: Geocortex Essentials

August 8, 2019

City of Austin: Spreading floodplain awareness with Geocortex

August 1, 2019

Geocortex Essentials 4.12: Improved integration with ArcGIS® Online

July 25, 2019

Introduction to Geocortex Printing: Learn to build stunning print templates

July 17, 2019

Updates to the Geocortex Product Life Cycle

July 8, 2019

Extending Web AppBuilder for ArcGIS® with Geocortex Essentials [Webinar]

July 4, 2019

City of Bellingham: Using Geocortex to take the stress out of water shut-off

June 27, 2019

Geocortex at the 2019 Esri User Conference

June 14, 2019

Customer Spotlight: Geocortex Workflow

May 17, 2019

Important Notice - Outage Issues & New Support Cases

May 17, 2019

How to build a summary report with aggregations of feature data [Geocortex Tech Tip]

May 16, 2019

Technology Q&A: Geocortex Mobile

May 10, 2019

How to create print templates for Web AppBuilder for ArcGIS®[Geocortex Tech Tip]

May 8, 2019

Dive into Geocortex Printing [Webinar]

May 3, 2019

Using Geocortex Workflow and Geocortex Reporting to produce a multi-layer report [Geocortex Tech Tip]

May 1, 2019

Market-Leading GIS Software and Services Companies Join to Form VertiGIS

May 1, 2019

Introducing VertiGIS

April 18, 2019

Integrating Workflows into Geocortex Mobile [Geocortex Tech Tip]

April 17, 2019

Customer Spotlight: Geocortex Reporting

April 12, 2019

Using Geocortex Go to preview app configurations [Geocortex Tech Tip]

April 10, 2019

How to Address Complex Form Navigation Using Geocortex Workflow

April 5, 2019

Building native, offline IOS, Android and Windows apps with Geocortex Mobile Viewer [Geocortex Tech Tip]

April 3, 2019

Streamlining mobile operations with Geocortex Mobile Viewer [Webinar]

March 29, 2019

A better way to run geoprocessing tasks in Web AppBuilder for ArcGIS [Geocortex Tech Tip]

March 28, 2019

Extend the reach and capabilities of your applications with integrations [eBook]

March 22, 2019

Displaying data from SQL Database when you select features [Geocortex Tech Tip]

March 20, 2019

How Geocortex users are enriching the communities they serve

March 15, 2019

How to Configure a Geocortex Essentials layer report with Geocortex Reporting 5 [Geocortex Tech Tip]

March 14, 2019

Region of Waterloo: How GIS & Geocortex technology helped meet local Source Protection Plan requirements

March 6, 2019

Integrating Business Intelligence and Data Sources with Geocortex Essentials [Webinar]

March 1, 2019

How to quickly add attachments to new features when editing [Geocortex Tech Tip]

February 22, 2019

Generating a report with sub reports from external data sources [Geocortex Tech Tip]

February 20, 2019

Geocortex Essentials 4.11: Saving Time & Increasing Efficiency

February 15, 2019

Accessing Samples and Building your First Workflow [Geocortex Tech Tip]

February 12, 2019

Open Beta of Geocortex Printing 5 Has Begun

February 8, 2019

Different Ways of Creating Selections of Features in Geocortex Viewer for HTML 5 [Geocortex Tech Tip]

February 6, 2019

4 Best Practices to Follow When Using Geocortex Workflow 5

February 1, 2019

Creating a Report that Displays a Screenshot of the Map [Geocortex Tech Tip]

January 28, 2019

Diving Into Geocortex Reporting 5 [Geocortex Tech Tip]

January 24, 2019

How Geocortex is Advancing Water Management Solutions

January 16, 2019

Creating Custom User Experiences with Geocortex Workflow 5 [Webinar]

January 11, 2019

Showing the search results using the item picker in Geocortex Workflow 5 [Geocortex Tech Tip]

January 9, 2019

City of Troy: Using GIS and asset management technologies to manage legislative requirements

January 4, 2019

Using scripting to put attachments in reports in Geocortex Reporting 5 [Geocortex Tech Tip]

Open: 2018
2018
December 21, 2018

Integrating Pictometry, Bing and other 3rd party maps within your Geocortex applications

December 19, 2018

Recapping the Texas Geocortex Regional User Group

December 14, 2018

How to use Geocortex Workflow 5 to populate the Attribute Table in Web AppBuilder for ArcGIS [Geocortex Tech Tip]

December 12, 2018

Finding yourself: Using geolocation in mobile and web applications [Webinar]

December 7, 2018

Enabling real-time user-to-user map collaboration within Geocortex Essentials

December 5, 2018

Reflecting on 2018

November 30, 2018

Creating mailing labels with reports with Geocortex Reporting 5 [Geocortex Tech Tip]

November 29, 2018

Alberta Energy Regulator: Supporting safe and responsible energy resource operations

November 26, 2018

Important update for ArcGIS and Transport Layer Security (TLS) Protocol Support!

November 23, 2018

Using fine-grained security to control access to layers, features, attributes and application functionality [Geocortex Tech Tip]

November 21, 2018

Enhancing Web AppBuilder for ArcGIS® with Geocortex Reporting [Webinar]

November 16, 2018

Using Geocortex Workflow 5 to automatically display a form for editing layer attributes [Geocortex Tech Tip]

November 15, 2018

Geocortex Achieves Esri’s “Release Ready Specialty” Designation

November 14, 2018

Celebrating GIS Day with York Regional Police: How GIS Data Has Mitigated Risk & Increased Efficiency in Crime Prevention

November 9, 2018

How to access a SQL database from a workflow using Geocortex Workflow 5 [Geocortex Tech Tip]

November 2, 2018

How to send an email from a workflow using Geocortex Workflow 5 [Geocortex Tech Tip]

October 26, 2018

How to add and configure charts inside reports with Geocortex Reporting 5 [Geocortex Tech Tip]

October 24, 2018

Geocortex Water Webinar Series

October 19, 2018

Integrating Geocortex Essentials with ArcGIS Online and ArcGIS Enterprise portal [Geocortex Tech Tip]

October 17, 2018

Cross-Platform Development with Xamarin [Webinar]

October 12, 2018

City of Fort Collins: Dynamic flood maps for public awareness, and flood insurance rate saving

October 2, 2018

Technology Q&A: Geocortex Workflow 5 “Behind the Firewall”

June 27, 2018

Geocortex Essentials 4.10 is here!

June 12, 2018

Geocortex and the GDPR

June 6, 2018

Geocortex at the 2018 Esri User Conference

May 15, 2018

Technology Q&A: The evolution of Geocortex and Web AppBuilder for ArcGIS

April 25, 2018

How to manage data collected from Geocortex Workflow 5 forms [Geocortex Tech Tip]

April 18, 2018

Delivering accessible mapping applications for everyone [Geocortex Tech Tip]

April 11, 2018

How to search for data in a non-spatial database [Geocortex Tech Tip]

April 5, 2018

Configuring Geocortex Analytics to monitor a new Portal for ArcGIS instance [Geocortex Tech Tip]

March 27, 2018

Getting started with forms in Geocortex Workflow 5 [Geocortex Tech Tip]

March 21, 2018

Using Geocortex Workflow with Web AppBuilder for ArcGIS [Geocortex Tech Tip]

March 15, 2018

Understanding tool usage in your GIS applications [Geocortex Tech Tip]

March 7, 2018

Running Geocortex Essentials workflows from an identify operation [Geocortex Tech Tip]

March 2, 2018

GIS Health Assessment: A new way to think about your system

February 28, 2018

Using the in-app help system in Geocortex Workflow 5 [Geocortex Tech Tip]

February 21, 2018

How to configure a personalized dashboard in Geocortex Analytics [Geocortex Tech Tip]

January 25, 2018

GIS is shifting to SaaS, and it’s a win for everyone


Categories

Popular Tags
Access Control Accessibility Active Operating Picture ArcGIS customer spotlight Customer Story Designer Energy Esri Geocortex Geocortex 5-Series Geocortex Access Control Geocortex Analytics Geocortex Essentials Geocortex Inline geocortex integrations geocortex mobile Geocortex Mobile Viewer geocortex printing Geocortex Reporting Geocortex Reporting 5 geocortex tech tip Geocortex Tech Tips geocortex training Geocortex Viewer for HTML5 geocortex web Geocortex Web Viewer Geocortex Workflow Geocortex Workflow 5 GIS GIS Day GIS Health Integrations mobile gis Pipelines Tech Tip Tech Tips Tip Tips Transportation vertigis Web AppBuilder Web GIS Workflow Xamarin

Contributors