SQL Monitor
Latest version: 3.2
Knowledge base
Example configuration of SQL Monitor using virtualization software
Date: 11/04/2011
Product: SQL Monitor
The network configuration described below is a working example of how SQL Monitor has been deployed by John Henderson, DBA/Senior Programmer at Smith Travel Research (STR).

Base Monitor and Web Server configuration
The Base Monitor runs the service that monitors your machines and instances, and the Web Server delivers the pages for the SQL Monitor web interface. In this configuration, the Web Server and Base Monitor are on the same VMware Virtual IDE hard drive of a machine running Windows XP Pro SP3 VM with .NET 3.5 SP1 installed.
- Physical memory: There is 2 GB of physical memory on the machine. The RAM utilization is:
Base Monitor - RedGate.Response.Engine.Alerting.Base.Service.exe = ~320 MB
Web Server - RedGate.Response.UI.Server.Service.exe = ~16 MB
- Processor: There are 2 cores allocated to the VM, with the operating system handling processor distribution.
The Base Monitor service uses default TCP port 7399 to communicate with the Web Server.
The Web Server is SQL Monitor's own standalone XSP Web Server that uses .NET 3.5 runtime and default TCP port number 8080 for incoming connections. The client machines accessing the Web Server are using mostly Firefox 4.0 but occasionally Internet Explorer 8 and Chrome 12 Development Channel. Firefox is preferred because earlier version of SQL Monitor rendered much more consistently in this browser, although more recent versions render just as well on Chrome.
Data Repository configuration
The Data Repository is an MS SQL Server database that stores the data collected by the Base Monitor service. In this configuration, the Data Repository database runs as the default instance on a MS SQL Server 2005 64-bit (x64) Enterprise database. The machine is running Windows Server 2008 R2 Standard with .NET version 2.0 to 4.0 installed. There are other development databases hosted on this machine, but there is sufficient memory and processor capacity to accommodate this:
- Physical memory: The total available RAM is 8 GB
- Processor: There are 4 x 3 GHz dual cores available
Monitored servers
This configuration contains five machines each hosting a SQL Server instance with a total of 131 databases across all instances. A breakdown of machines, instances and databases being monitored is as follows:
- Machine A hosting 1 SQL Server instance and 14 databases
- Machine B hosting 1 SQL Server instance and 28 databases
- Machine C hosting 1 SQL Server instance and 37 databases
- Machine D hosting 1 SQL Server instance and 16 databases
- Machine E hosting 1 SQL Server instance and 36 databases
One of the machine is in a DMZ, so there is a firewall between it and the Base Monitor. TCP ports 135, 445 and 1433 have been opened to allow remote file access, remote registry and WMI access.
Performance, trace and purge settings
The following metrics obtained from SQL Monitor’s Analysis page give an idea of how busy the SQL Server instances are on average in this network for the last 30 days. The equivalent PerfMon counter values are displayed in brackets (for more information, see Using Performance Monitor):
SQL Server: processor time |
(Process (sqlservr): % Processor Time) |
11.22% |
SQL Server: user connections |
(SQLServer: General Statistics: User Connections) |
52.56 |
Transactions/sec |
(SQLServer: General Statistics: User Connections) |
8.26 |
The average metrics for each instance are as follows:
|
SQL Server: processor time |
SQL Server: user connections |
Transactions/sec |
Machine A |
11.8% |
23.5 |
11.5 |
Machine B |
10.0% |
87.4 |
02.3 |
Machine C |
10.8% |
52.7 |
09.7 |
Machine D |
12.3% |
77.5 |
05.1 |
Machine E |
11.5% |
21.6 |
12.7 |
Trace data collection is enabled and used to track down potential causes of blocks and long running queries, and for general troubleshooting.
Finally, the DBA wants to do 90 days’ worth of trending, but they need to make sure that the Data Repository growth rate does not impact performance. The purge settings have been customized as follows:
- Machine Data: 3 months
- Alert Data: 2 weeks
- SQL Server Data: 3 months
Was this article helpful?
SQL Monitor
- Example configuration of SQL Monitor using virtualization software
- Retrieving alert settings using SQL Data Compare
- Licensing issues with SQL Monitor
- Log files in SQL Monitor
- Upgrading to a later version of SQL Monitor
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Monitor
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using SQL Monitor