Getting started with the SQLUndercover Inspector

Post Updated: 23/07/2021

Here is a quick guide to getting started with the SQLUndercover Inspector.

So you have ran through the installation of the Inspector and now you want to know what to do next, below we will guide you through some of the key steps to get you started and following on from that we will explain how you can configure the Inspector to get things working how you want them.

Once you install the Inspector you will find that you have a new Schema called Inspector in the logging database you chose when you installed, within this schema you will find a bunch of tables, views and stored procedures that have been created upon installation along with 1 new SQL Agent job (Inspector Auto [Inspector DB name]).

First thing to do:

Check the Agent job is running successfully, it runs once a minute checking for Modules/Reports that are scheduled to run from the Modules table and ModuleConfig table.

To see what’s going on you can query the Inspector.ExecutionLog table this will show you history runs for today only:

FROM [Inspector].[ExecutionLog];

Otherwise for collections you can check the LastRunDate column in the Inspector.Modules table, and for Reports check the LastRunDate column in the Inspector.ModuleConfig table.

FROM [Inspector].[Modules];

Check you setup email recipients:

If there was no email address specified in [Inspector].[EmailRecipients] you will not receive and email but you will be able to retrieve the HTML report from the [Inspector].[ReportData] table.

2018-12-18 11_36_37

Check your schedules

Go and query the Inspector.Modules table to see which module collections will run, the frequency they will run on and the collection timeframe that they will run in. Query the Inspector.ModuleConfig table to see the report schedules and other options.

FROM Inspector.ModuleConfig;

FROM Inspector.Modules;

Changing Global settings:

You will find a bunch of global settings in the [Inspector].[Settings] table

 FROM [Inspector].[Settings]

That’s a quick start but for a more detailed guide check our dedicated user guide page.

For more details about scheduling and various features introduced in V2 visit the Inspector V2 page

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

Up ↑

%d bloggers like this: