You are on page 1of 99

Monitoring with eMagic

Monitoring Parameters

Document
“eMagic monitoring tool is
comprehensive database
performance monitoring and
analysis solution for DBA”

- Mukesh Jain , Group CTO


Reliance Capital group

eMagic Application & Database monitoring tool delivers powerful application and
database monitoring capabilities for IT pros, DBA, enabling them to diagnose and
troubleshoot performance issues faster, ensuring and maintaining the proper health of
any application. Do not let slow applications and downtime impact your end-users and
business services. Pinpoint the root cause of application, database issues across various
layers of the IT stack.

eMagic is affordable and easy to deploy, use, and customize. You can automatically
discover your system’s environment and start monitoring in about an hour. No
professional services or consultation needed
Contents
Introduction to Application Monitoring ...........................................................................................1
Why Application Monitoring? ...................................................................................................... 4
Databases ............................................................................................................................... 5
MySQL ......................................................................................................................................... 5
Overview ........................................................................................................................ 6
MySQL Optimizer ............................................................................................................11
MySQL Report .................................................................................................................13
Server Variables .............................................................................................................15
User and Privileges ..........................................................................................................17
Monitor Settings..............................................................................................................22
Events ...........................................................................................................................24
MSSQL .............................................................................................................................................. 25
Overview .......................................................................................................................26
Memory .........................................................................................................................30
Sessions ............................................................................................................................. 37
Jobs & Backups ...............................................................................................................42
Performance ...................................................................................................................47
Configuration .................................................................................................................56
Monitor Settings..............................................................................................................59
Events ...........................................................................................................................62
Oracle ............................................................................................................................. 63
Overview .......................................................................................................................64
Tablespace .....................................................................................................................67
Sessions ............................................................................................................................. 71
Jobs and backups ............................................................................................................73
SGA ..............................................................................................................................76
PGA...............................................................................................................................79
Process ..........................................................................................................................80
Monitor Setting ...............................................................................................................82
Events/ logs ...................................................................................................................85
Run Query ......................................................................................................................87
Web Server ..............................................................................................................................0
IIS .................................................................................................................................................................... 0
IIS Sever Details ..................................................................................................................... 0
Sites .................................................................................................................................... 1
Application ...................................................................................................................... 2
Application Pools .............................................................................................................. 2
Update Host .................................................................................................................... 5
TomCat :
Introduction to Monitoring

eMagic Monitoring Parameters

Applications Monitoring Attribute Name


CPU Utilization
EventLog Rule :Any Application error
EventLog Rule:Any Security Failure
Physical Memory Utilization
Response Time
Windows Server
Run Queue
Total Disk Utilization(MB)
Health
Availability
Process / Services Monitoring

CPU Utilization
Physical Memory Utilization
Response Time
Run Queue
Linux Server
Total Disk Utilization(MB)
Health
Availability
Process / Services Monitoring

Process / Services Availability - Service monitoring (Port)


Monitoring Health

HTTP Response Code


Page content Change
Page Size Change
URL Monitor Keyword monitoring
Response Time
Health
Availability

Introduction to Application Monitoring 1|P ag e


Packets Sent
Packet Loss (%)
Packets Received
Ping Monitor Response Time
Round Trip Time (ms)
Health
Availability

Response Time
SNMP Monitor Health
Availability

Response Time
Port Test Monitor Health
Availability

Network Monitoring:

Network
Attribute Name Monitoring
Devices
Application IN / OUT Traffic
Source IN Traffic
Netflow
Destination OUT Traffic
monitoring of
Network Interface Conversation IN / OUT Traffic
Volume / Speed /
Traffic
Utilization

Network Devices Monitoring Attribute Name

Availability
Response Time
Today's Packet Loss
CPU Utilization
Network devices (Firewall, L3 Memory Utilization
& L2 Switch, Routers,
Analyzer) Temperature
Buffer Hits
Buffer Misses
Buffer Failures
Interfaces UP/Down

Introduction to Application Monitoring 2|P ag e


Traffic Details
Interface Details
Interfaces Availability
Packets Per Second
Utilization

Reports
(daily/weekly/monthly/quarterly/yearly/custom period)

Host Availability
Database Availability
Network device Availability
JBoss Availability
Availablity
Tomcat Availability
Apache Availability
URL Availability
Internet & Intranet Link Availability

CPU utilization
Memory utilization
Disk space utilization
Utilization
database tablespace utilization
Internet & Intranet Link utilization
Java Heap size utilization

BU wise monthly availability/utilization reports on group


of monitors

Introduction to Application Monitoring 3|P ag e


eMagic Application Monitoring :

eMagic Application monitoring in eMagic enables user to monitor different type of


database and webserver as explained in the guide.

Database Application Monitoring consist of

 MYSQL
 MSSQL
 ORACLE
Webserver Application Monitoring consist of

 IIS
 APACHE

Why Application Monitoring?

Application Monitoring in one place allows you to see your application performance
trends at a glance – from page load times, to error rates, slow transactions, and a list of
servers running the app.

Monitoring plays an important role in maintaining the proper health of any application.

Introduction to Application Monitoring 4|P ag e


Databases

MySQL

Application monitoring of eMagic helps database administrator to monitor the performance and
availability of an MYSQL database.

Some of the parameters that are monitored in MYSQL database in eMagic are:

Overview

MySQL Optimizer

MySQL Report

Server Variables

User and Privileges

Monitor Settings

Events

MySQL 5|Page
Overview

Overview tab under MySQL application monitoring, helps the user to directly have an
overview of the performance status, network statistics, MySQL statistics, InnoDB Statistics,
today’s availability, database details along with the database ENGINE Data.

Application Information:

MySQL 6|Page
Fields Description

Name Application Name

Type Database Type

IP Database IP

Hostname Domain name

Location Location where database is installed.

Business Unit Display the business unit.

Business Vertical Display the business vertical.

Innodb version Version of Innodb

Protocol version Version of protocol

Slave type conversions Slave type conversion if any.

Version Display the version of the database.

Version comment Name of the server.

Version compile machine Display the version of the compile


machine.

Version compile os Server OS

Version malloc library Display the version of the malloc library.

Version SSL library Display the version of the SSL library

Wsrep patch version Version of Wsrep patch

MySQL 7|Page
Network Statistics

Network Statistics show the two graph


where the first graph shows the number
of threads (user) connected and
running threads of last 1 Hrs. The second
graph shows the incoming and
outgoing bandwidth data per second
in the form of Bytes sent and received
per second.

MySQL Statistics

MySQL Statistics shows the


databases

 Query Selected per second


 Query Inserted per second
 Query Update per second
 Query Delete per second

Refer screenshot:

InnoDB Statistics

InnoDB Statistics enables user to view read / write request per


second on database.

MySQL 8|Page
Today’s Availability

The availability of the database is shown in a pie


chart format, where it indicate the availability of
databases in percentage. Green color shows the
uptime of the database while the red color
indicates the downtime for the same.

The current status of the database is shown at the


bottom left corner of the pie chart.

Shows the uptime current status.


Shows the downtime current status.

24 hours = 100 %

E.g.: Suppose the database was down for 1 hour of the day (24 Hours), then the pie
chart will reflect in the following manner.

01 Hour = 4.17% downtime

23 Hours = 95.83% uptime

Database Details

The list of MySQL database are shown along with their complete details as shown below
in the screenshot.

Columns Description

Database Name Displays the name of the database created on server.

Number of Tables Display the number of tables in the database.

Rows Size (MB) Displays the size of the row in MB.

MySQL 9|Page
Data Size (MB) Displays the size of the data in MB.

Index Size (MB) Displays the size of the index in MB.

Total Size (MB) Displays the total size in MB.

Index Fraction Display the index fraction.

Database ENGINE Data

A MySQL database engine is the MySQL components that handle the SQL operations for
different table types. The most popular and general purpose storage engine are

 InnoDB: InnoDB is a transaction–safe storage engine for MySQL that has commit,
rollback, and crash-recovery capabilities to protect user data.

MyISAM: MyISAM limits the performance of read/write workloads, so it is often used


in read/write workloads only.

MySQL 10 | P a g e
MySQL Optimizer

MySQL Optimizer tells user the currently running statistics and other recommendations as
mentioned below:

: Two exclamation mark enclosed in a square bracket in red color indicates the major
issue.

: OK enclosed in a square bracket in green color indicates the normal status of the
alert generated.

: Two dashes enclosed in a square bracket in blue color notify the user regarding the
alert generated.

Storage Engine Statistics: Shows the tables data in MB and GB along with the total
fragmented tables.

Security Recommendations: Shows the user which holds an anonymous account


(i.e. user with do not hold proper credentials) and where the password is not set are
shown under security recommendations.

Performance Metrics: It determines a database behavior and performance. All the


activities of the database are monitored and listed under performance metrics.

MyISAM Metrics: Shows the details of the following key buffer used, hit rate of read key
buffer and write key buffer.

Key Buffer Size (Total): The size of the buffer used for MyISAM index blocks.
InnoDB Metrics: Shows the enabled/disabled status of InnoDB, InnoDB buffer pool
instance, InnoDB read buffer efficiency, InnoDB write buffer efficiency and so on.

Replication Metrics: Shows the status of the replication slave activity metrics.

Recommendations: Recommendation for database administrator to follow the


recommendation listed, for the betterment of database health.

MySQL 11 | P a g e
MySQL 12 | P a g e
MySQL Report

The user can view the two sub-parameters under MYSQL.

MySQL Statistics: Shows the log statistics of all monitoring parameters. Its shows the logs
related to following:

Key
Questions
SELECT and Sort
Query Cache
Table Locks
Tables
Connections
Created Temp
Threads
Aborted
Bytes
InnoDB Buffer Pool
InnoDB Lock
InnoDB Data, Pages, Rows

MySQL 13 | P a g e
Current Queries:

To view the currently executing queries of MySQL database, Click Monitor ->
Application -> MySQL Report -> Current queries.

The following are the currently execute queries on the database.

Columns Description

ID Shows the query ID.

User Show the name of the user that execute the query.

Host Show the IP of the host from where the query is executing.

Database Show the name of the database where the query gets execute.

Command Display the command for the current queries.

Time Shows the execution time for the query to execute.

State Showing the current state of the query.

Info Show the detail information of the query.

MySQL 14 | P a g e
Server Variables

The user can view the two sub-parameters under server variables.

Status Variables
System Variables

Status Variables: Server Status Variables provides information about its operation.

The categories of the status variables are list down at the left side corner of the screen.

Columns Description

Name Shows the name of the variables under selected categories.

Value Shows the current value of the variable.

Description Shows the Description against the variable.

MySQL 15 | P a g e
System Variables:

Server System Variables indicates how it is configured. Each System variable has a
default value.

The categories of the system variables are list down at the left side corner of the screen.

Columns Description

Name Shows the name of the variables under selected categories.

Value Shows the current value of the variable.

Description Shows the Description against the variable.

MySQL 16 | P a g e
User and Privileges

Under User and Privileges tab, the user can able to manage host and can assign
privileges as per requirement. To manage user and its privileges, click User and Privileges
under MySQL parameters.

The DB Admin can perform the following task against user listed at the left side of the
screen.

Adding Account

The DB Admin can add account / user to access the database. Click

Enter Login name, Host name and Password.

Click to finish adding account.

MySQL 17 | P a g e
Deleting Account

The already added account / user can be delete.

Click and click “OK” to finish deleting account.

Login Detail: DB Admin can able to change user login name, Host name, and
password.

Accounts Limits:

MySQL 18 | P a g e
Fields Description

Max. Queries A number of queries the account can execute within one
hour.

Max. updates Number of updates the account can execute within one
hour

Max Connections The number of times the account can connect to the
server per hour

Concurrent Connections The number of simultaneous connections to the server the


account can have.

Administrative Privileges: DB Admin can checkbox and assign the administrative roles
as mentioned in the screenshot along with its description.

Global privileges are can be assign which is located at the right side of the screen.

MySQL 19 | P a g e
Schema Privileges: Under Schema Privileges the user can assign Object rights, DDL
rights and Other Rights as shown below in the screenshot.

The following are the rights,

Object Rights

SELECT
INSERT
UPDATE
DELETE
EXECUTE
SHOW TEXT

DDL Rights

CREATE
ALTER
REFERENCE
INDEX
CREATE VIEW
CREATE ROUTINE
EVENT
DROP
TRIGGER

Other Rights:
GRANT OPTION
CREATE TEMPORARY TABLES
LOCK TABLES

MySQL 20 | P a g e
Adding Schema

Schema is a group of rights that can be directly assigned to a user without selecting the
rights individually.

Go to: User and Privileges -> Schema Privileges -> Add Schema

Select the database from the drop down.

Click to add schema.

MySQL 21 | P a g e
Monitor Settings

Monitoring Settings

To edit the setting of the monitor, click Monitor Settings -> Monitoring Settings.

Columns Description

Monitor Name Shows the name of the Monitor.

Description Shows the description of the monitor name.

Polling interval
(Min)

First Alert (Min) Display the time of the first alert in Minutes.

Repeat Alert (Min) If alert not resolved, display the time of the same alert is
repeated in minutes.

Buttons Description

Click to remove connection timeout.

Click to edit remove connection timeout

MySQL 22 | P a g e
All Graphs

The Graphs for different monitor parameters that are listed under Monitoring Settings are shown under
“All Graphs”.

MySQL 23 | P a g e
Events

All the monitoring logs of MySQL host are shown under the Events tab.

Refer below screenshot.

The DB Admin can change the number of logs page, by selecting the number from the
drop down. See above screenshot.

MySQL 24 | P a g e
MSSQL

Application monitoring of eMagic helps database administrator to monitor the


performance and availability of an MYSQL database.

Some of the parameters that are monitored in MYSQL database in eMagic are:

Overview

Memory

Sessions

Jobs and Backup

Jobs Details

Backup Details

Performance

Configuration

Monitor Setting

Events

MSSQL 25 | P a g e
Overview

Overview tab under MSSQL application monitoring, helps user to directly have an
overview of the performance status, Buffer Cache Hit Ratio, Plain Cache Hit Ratio,
today’s availability, User Connections along with the database detail

Application Information

MSSQL 26 | P a g e
Fields Description

Name Shows the Application Name

Type Shows the Database Type

IP Shows the Database IP

Version Shows the version of the database.

CPU Count Shows the CPU count of the database.

Memory (MB) Shows the Memory of the database in MB.

Startup Time Shows the starting date and time of database


monitoring started.

Location Location where the database is installed.

Business Unit Shows the business unit.

Business Vertical Shows the business vertical.

Buffer Cache Hit Ratio

The buffer cache hit ratio counter


represents how often SQL Server is able to
find data pages in its buffer cache when a
query needs a data page. The higher this
number the better, because it means SQL
Server was able to get data for queries out
of memory instead of reading from disk. You
want this number to be as close to 100 as
possible. Having this counter at 100 means
that 100% of the time SQL Server has found
the needed data pages in memory. A low
buffer cache hit ratio could indicate a
memory problem.

Plain Cache Hit Ratio

The ratio between cache hits and lookups.

MSSQL 27 | P a g e
Today’s Availability

The availability of the database is shown in


a pie chart format, where it indicate the
availability of databases in percentage.
Green color shows the uptime of the
database while the red color indicates the
downtime for the same.

The current status of the database is shown


at the bottom left corner of the pie chart.

Shows the uptime current status.


Shows the downtime current status.

24 hours = 100 %

E.g.: If the database was down for 1 hour of the day (24 Hours), then the pie chart will
reflect in the following manner.

01 Hour = 4.17% downtime

23 Hours = 95.83% uptime

User Connections

The user connection graph shows the


connections per 20 minutes hitting MSSQL
server.

MSSQL 28 | P a g e
Database Details

Columns Descriptions

Name Display the name of the database.

Size in MB Display the size of the database.

Log Size (MB) Display the size of Log in MB.

% Log Used Display the bar showing Log used in percentage.

Status Display the status of the database as

 Online
 Offline
 Restoring
Created On Display the date and time of the database created

MSSQL 29 | P a g e
Memory

Under memory tabs, the user can view the different types of graphs as described each
below in detail.

Memory Usage

The memory usage shows the following details in a graphical format.

Attributes Description

Total Server Memory Shows the amount of memory the server has
committed using the memory manager.

SQL Cache Memory Shows the total amount of dynamic memory the
server is using for the dynamic SQL cache.

Optimizer Memory Shows the total amount of dynamic memory the


server is using for query optimization.

Lock Memory Shows the total amount of dynamic memory the


server is using for locks.

MSSQL 30 | P a g e
Connection Memory Shows the total amount of dynamic memory the
server is using for maintaining connections.

Target Server Memory Indicates the ideal amount of memory the server can
consume.

Granted Workspace Shows the total amount of memory currently granted


Memory to executing processes, such as hash, sort, bulk copy,
and index creation operations.

Buffer Manager Statistics

Attribute Description

Buffer Cache Hit Ratio The buffer cache hit ratio counter
represents how often SQL Server is able to
find data pages in its buffer cache when a
query needs a data page. The higher this
number the better, because it means SQL
Server was able to get data for queries out

MSSQL 31 | P a g e
of memory instead of reading from disk.
You want this number to be as close to 100
as possible. Having this counter at 100
means that 100% of the time SQL Server
has found the needed data pages in
memory. A low buffer cache hit ratio could
indicate a memory problem.

Page Lookups/Sec Indicates the number of requests per


second to find a page in the buffer pool.

Pages Read/Sec Indicates the number of physical database


page reads that are issued per second.
This statistic displays the total number of
physical page reads across all databases.
Because physical I/O is expensive, you
may be able to minimize the cost, either by
using a larger data cache, intelligent
indexes, and more efficient queries or by
changing the database design.

Pages Write Indicates the number of physical database


page writes that are issued per second.

Database Pages Database Pages indicates the number of


pages in the buffer pool with database
content.

Page Life Expectancy (ms) The page life expectancy counter


measures how long pages stay in the
buffer cache in seconds. The longer a
page stays in memory, the more likely SQL
Server will not need to read from disk to
resolve a query. You should watch this
counter over time to determine a baseline
for what is normal in your database
environment. Some say anything below
300 (or 5 minutes) means you might need
additional memory.

MSSQL 32 | P a g e
Cache Details

Attribute Description

Cache Hit Ratio The ratio between cache hits and lookups.

Cache Count A number of cache objects in the cache.

Cache Pages Number of 8-kilobyte (KB) pages used by cache


objects

MSSQL 33 | P a g e
Access Details

Attribute Description
Full Scan/Sec A value greater than 1 or 2 indicates that we are
having table / Index page scans. We need to
analyze how this can be avoided.

Range Scans/Sec A number of qualified range scans through


indexes per second.

Probe Scans/Sec A number of probe scans per second that are


used to find at most one single qualified row in
an index or base table directly.

Work Files Created /Sec A number of work files created per second. For
example, work files could be used to store
temporary results for hash joins and hash
aggregates.

Work Tables Created/Sec A number of work tables created per second. For
example, work tables could be used to store

MSSQL 34 | P a g e
temporary results for query spool, lob variables,
XML variables, and cursors.

Index Searches/Sec A number of index searches per second. These


are used to start a range scan, reposition a range
scan, revalidate a scan point, fetch a single index
record, and search the index to locate where to
insert a new row.

Lock Details

Attribute Description
Lock Requests/Sec Number of new locks and lock conversions per
second requested from the lock manager

Lock Wait/Sec A number of lock requests per second that are


waiting.

Lock Timeout/Sec A number of lock requests per second that timed


out, including requests for NOWAIT locks.

Latch Details

MSSQL 35 | P a g e
Attribute Description

Latch Waits/Sec A number of latch requests that could not be granted


immediately.

Average Latch Wait Time Average latch waits time (in milliseconds) for latch requests
that had to wait.

MSSQL 36 | P a g e
Sessions

Under sessions tab, the user can view the Connection Statistics, SQL Statistics, Host Details and Session
Details.

Connection Statistics

Attribute Description

User Connection The user connections counter identifies the number of different
users that are connected to SQL Server at the time the sample was
taken.

Logins/Sec A total number of logins started per second. This does not include
pooled connections.
Logouts/Sec A total number of logout operations started per second.

MSSQL 37 | P a g e
SQL Statistics

Attribute Description
Batch Requests/Sec Batch Requests/Sec measures the number of batches SQL
Server is receiving per second. This counter is a good
indicator of how much activity is being processed by your SQL
Server box. The higher the number, the more queries are
being executed on your box. Like many counters, there is no
single number that can be used universally to indicate your
machine is too busy. Today’s machines are getting more and
more powerful all the time and therefore can process more
batch requests per second. You should review this counter
over time to determine a baseline number for your
environment.
SQL Compilations/Sec The SQL Compilations/Sec measure the number of times SQL
Server compiles an execution plan per second. Compiling an
execution plan is a resource-intensive operation.
Compilations/Sec should be compared with the number of

MSSQL 38 | P a g e
Batch Requests/Sec to get an indication of whether or not
complications might be hurting your performance. To do that,
divide the number of batch requests by the number of
compiles per second to give you a ratio of the number of
batches executed per compile. Ideally, you want to have one
compile per every 10 batch requests.
SQL Recompilations/Sec When the execution plan is invalidated due to some
significant event, SQL Server will re-compile it. The Re-
compilations/Sec counter measures the number of time a re-
compile event was triggered per second. Re-compiles, like
compiles, are expensive operations so you want to minimize
the number of re-compiles. Ideally, you want to keep this
counter less than 10% of the number of Compilations/Sec.

Auto-PARAM Attempts/Sec A number of auto-parameterization attempts per second.


Total should be the sum of the failed, safe, and unsafe auto-
parameterizations. Auto-parameterization occurs when an
instance of SQL Server tries to parameterize a Transact-SQL
request by replacing some literals with parameters so that
reuse of the resulting cached execution plan across multiple
similar-looking requests is possible. Note that auto-
parameterizations are also known as simple
parameterizations in newer versions of SQL Server. This
counter does not include forced parameterizations.
Failed Auto-PARAM’s/Sec A number of failed auto-parameterization attempts per
second. This should be small. Note that auto-
parameterizations are also known as simple
parameterizations in later versions of SQL Server.

Safe Auto-PARAM’s/Sec A number of safe auto-parameterization attempts per


second. Safe refers to a determination that a cached
execution plan can be shared between different similar-
looking Transact-SQL statements. SQL Server makes many
auto-parameterization attempts some of which turn out to
be safe and others fail. Note that auto-parameterizations are
also known as simple parameterizations in later versions of
SQL Server. This does not include forced parameterizations.

Unsafe Auto-PARAM’s/Sec A number of unsafe auto-parameterization attempts per


second. For example, the query has some characteristics that
prevent the cached plan from being shared. These are
designated as unsafe. This does not count the number of
forced parameterizations.

MSSQL 39 | P a g e
Host Details

Under host details, the user can view the list of the host (Machine) accessing the MSSQL database along
with the other details mentioned below.

Attribute Description
Host Name Displays the list of Host name

Login Name Shows the login name of the user who accessing the DB.

DB Name Shows the database name.

User Name Shows the Username of the user.

Domain Show the domain of the host.

Number Of Connections Show the number of real time connections.

Memory Display the memory consumption by the host in MB.

CPU(ms) Display the CPU count per mili second.


I/O Display the input/ output counts.

MSSQL 40 | P a g e
Sessions Details

Attribute Description

SPID Displays the name of the unique session ID.

Status Display the current session status.

Username Display the session’s user name.

Host Display the host name.

Program Display the name of the program for which session is established.

CPU(ms) Display the CPU utilization by that session ID

I/O Display the I/O operations.

DB Name Display the name of the database.

Command Display the session command.


Query Display the current query executing.

MSSQL 41 | P a g e
Jobs & Backups

Under jobs and Backups, the user can view Job Execution, Job Steps Execution Info and Job Schedule
Info under job section.

While under backups the user can view Recent Database Backup and Back-up Within Past 24 Hours.

Job Details

Job Execution

To view the job execution under Job details, click .

Columns Descriptions

Job Name Display the job name.

Last Run Time Display the last run date and time of the job.

Last Run Status Display the last run status of the job.

Last Run Duration Shows the last run duration in HH:MM:SS format.
(HH:MM:SS)

Last Run Status Message Display the message for last run status.
Next Run Time Display the date and time for next run job.

MSSQL 42 | P a g e
Job Steps Execution Info

To view the job execution under Job details, click and select the radio button
.

Columns Descriptions
Job Name Display the job name.

Step No Display the step number.

Step Name Display the step name.

Last Run Status Display the last run status of the job.

Last Run Duration Shows the last run duration in HH:MM:SS format.
(HH:MM:SS)

Last RunRetry Attempts Display the number of retry attempts for the last run.
Next Run Time Display the date and time for next run job.

MSSQL 43 | P a g e
Job Schedule Info

To view the job execution under Job details, click and select the radio button
.

Columns Descriptions

Schedule Name Display the name of the job schedule.

Is Enabled Display the enabled status in Yes/No

Schedule Type Display the type of schedule.

Occurrence Display the schedule occurrence.

Recurrence Display the schedule recurrence

Frequency Display the frequency occurs between.

Schedule Usage Start Date Display the date of the scheduled start.

Schedule Usage End Date Display the date of the end schedule.

Schedule Created On Display the date on which schedule created.


Schedule Last Modified On Display the date when last scheduled modified.

MSSQL 44 | P a g e
Backups Details

Scroll down the page to view the Recent Database Backup and Back-up Within Past 24 Hours.

Recent Database Backup

Columns Description

Server Display the name of the server.

Last Backup Date Display the date and time of the last backup.

Backup Start Date Display the date and time of the start backup

Expiration Date Display the expiration date.

Size Display the size of the backup database.012

Logical Device Name Display the name of the logical device name.

Physical Device Name Display the name of the physical device.

Backup set Name Display the name of the backup set name.
Description Display the content for description.

MSSQL 45 | P a g e
Back-up Within Past 24 Hours.

Columns Description

Server Shows the name of the server.

Database Name Shows the name of the database.

Last DB Backup Date Shows the date and time of the last Database.
Backup Age (Hours) Shows the backup age in hours.

MSSQL 46 | P a g e
Performance

The user can view

 Top Queries by CPU


 Top Slow Running Queries
 Top Queries by Lowest Plan Reuse
 Top Queries by I/O
 Most Frequently Executed Queries
 Cost of Missing Indexes
 Top Waits by Waiting Tasks
 Most Blocked Queries
Top Queries by CPU

To view the top queries by CPU, click and click .

MSSQL 47 | P a g e
Columns Description
Query Shows the query.

Execution Display the execution count.

Total CPU Time Display the total CPU time in mili second.

Average CPU Time Display the average CPU time in mili second.

Disk Wait and CPU Time -

Memory Writes Display the count of memory write.

Data Cached Display the date and time when data cached.

Database Name Display the name of the database.


Last Execution Time Display the date and time of last executed query.

The graphical representation of above table is shown below.

MSSQL 48 | P a g e
Top Slow Running Queries

To view the top slow running queries, click and click


.

Columns Description

Avg Execution Time (ms) Display the average time execution of the query in millisecond.

Total execution Time (ms) Display the total execution time of the query in millisecond.

Execution Count Display the execution count of the query.

Query Display the executed query.


Last execution Time Display the date and time of query when last executed.

MSSQL 49 | P a g e
Top Queries by Lowest Plan Reuse

To view the top queries by lowest plan reuse, click and clic
.

Columns Description

Use Counts Display the number of Use Count.

Cache Object Type Display the query cache object type

Object Type Display the query Object type


Query Display the query.

MSSQL 50 | P a g e
Top Queries by I/O

To view the top queries by I/O, click and click .

Column Description
Agg IO Aggregate IO.

Avg IO Average IO.

Text Display the query.

Database Name Display the name of the database.


Last_execution_time Display the date and time of query when last executed.

MSSQL 51 | P a g e
Most Frequently Executed Queries

To view the most frequently executed queries, click and click


. .

Columns Description

Execution Count Display the execution count of the query.

Query Display the query executed.

DB Name Display the name of the database.


Last Execution Time Display the date and time of query when last executed.

MSSQL 52 | P a g e
Cost of Missing Indexes

To view the cost of missing indexes, click and click .

Columns Description
Total Cost Display the total cost of missing indexes.

Avg User Impact Average impact on the user in %.

Table Name Display the name of the table where index is set.

Equality Columns -

Inequality Columns -
Included Columns -

MSSQL 53 | P a g e
Top Waits by Waiting Tasks

To view the top waits by waiting task, click and click .

Columns Description

Wait Type Display the type of wait.

Waiting tasks Display the count of waiting for a task.

Wait Time (ms) Display the waiting time in millisecond.

Max Wait Time (ms) Display the maximum waiting time.


Signal Time (ms) Signal time in milli second.

MSSQL 54 | P a g e
Most Blocked Queries

To view the most block queries, click and click .

Columns Description
Block Time Display the amount of time for which query is blocked.

Query Display the query executed.

DB Name Display the name of the database.

Last Execution Time Display the date and time of the last executed query.

MSSQL 55 | P a g e
Configuration

All configuration

To view the configuration details, click .

Columns Description

Name Display all variable names which are configured.

Minimum Display the minimum value of the variable.

Maximum Display the maximum value for the variable.

Configured Value Display the actually configured value for the variable.

Value In Use Display the value in use for the variable.


Description Display the description for every variable configured.

MSSQL 56 | P a g e
Advanced Configuration

Columns Description

Name Display advanced variable names which are configured.

Minimum Display the minimum value of the variable.

Maximum Display the maximum value for the variable.

Configured Value Display the actually configured value for the variable.

Value In Use Display the value in use for the variable.


Description Display the description for every advanced variable configured.

MSSQL 57 | P a g e
RECONFIGURE Configuration

Columns Description
Name Display reconfigured variable names which are configured.

Minimum Display the minimum value of the variable.

Maximum Display the maximum value for the variable.

Configured Value Display the actually configured value for the variable.

Value In Use Display the value in use for the variable.


Description Display the description for every reconfigured variable configured.

Memory Configuration

Columns Description
Name Display memory variable names which are configured.

Minimum Display the minimum value for the variable.

MSSQL 58 | P a g e
Maximum Display the maximum value for the variable.
Configured Value Display the actual configured value for the variable.

Value In Use Display the value in use for the variable.


Description Display the description for every memory variable configured.

Monitor Settings

Monitoring Settings

To edit the setting of the monitor, click Monitor Settings -> Monitoring Settings.

Columns Description

Monitor Name Shows the name of the Monitor.

Description Shows the description of the monitor name.

Polling interval (Min) Polling interval in minutes fetches the live data of the database. In above
figure it checks the database live data every 1 minute.

First Alert (Min) Display the first alert time in minutes.

Repeat Alert (Min) The same alert if not resolved is alerted again as per settings.

Buttons Description

Click to remove connection timeout.

Click to edit remove connection timeout

MSSQL 59 | P a g e
All Graphs

The Graphs for different monitor parameters that are listed under Monitoring Settings are shown under
“All Graphs”.

MSSQL 60 | P a g e
Update Host

Fields Description

Application Display Name Display the MSSQL Database name.

IP/Hostname Display the IP of the database.

Datacenter Display the name of the datacenter.

Business Unit Display the business unit under selected datacenter.

Business Vertical Display the business vertical under selected business unit.

Port Display the Port number where a port number is a way to identify a
specific process to which the Internet or another network message
is to be forwarded when it arrives at a server

Current Credential Title Display the current credential title of the MSSQL database.
Change Credential Display the change credential of the same database if any.

MSSQL 61 | P a g e
Events

All the monitoring logs of MySQL host are shown under the Events tab.

Refer below screenshot.

The DB Admin can change the number of logs page, by selecting the number from the drop down. See
above screenshot

MSSQL 62 | P a g e
Oracle

Application monitoring of eMagic helps database administrator to monitor the performance and
availability of Oracle database.

Some of the parameters that are monitored in Oracle database in eMagic are:

Overview

Tablespace

Configuring Alarms

Sessions

Jobs and Backups

SGA (System Global Area)

PGA (Program or Process Global Area)

Process

Monitor Setting

Events/ Logs

Run Query

Oracle 63 | P a g e
Overview

Overview tab under Oracle application monitoring, helps the user to directly have an overview to the
database details, Connection Statistics, and User Activity. The overview window also represents the
database health, availability, today’s availability, Uptime and last start.

Oracle 64 | P a g e
Database Details

Columns Description

Names Shows the name of the database.

Created Shows the date and time of database created.

Platform Name Display the platform on which database running.

Open Mode Shows the open mode of the database.

Log Mode Shows the log mode of the database.

Database Role Display the role assign to the database.

Switchover Status Display the switchover status of the database.

Controlfile Type Display the control file type of the database. A control file is a small binary file
that records the physical structure of the database.

Open Resetlogs The OPEN RESETLOGS operation creates a new incarnation of the database,
resets the log sequence to 1 and online redo logs are given a new time stamp
and SCN.

Protection Mode The protection mode provides the highest level of data protection that is
possible without affecting the performance of a primary database.

Oracle 65 | P a g e
Remote Archive Display the ENABLED/ DISABLED status of the remote archive.
Guard Status Display the status of the guard.

Force Logging Display the YES/NO status for force logging.


Fs Failover Status Display the ENABLED/ DISABLED status of the fast-start failover.

Connection Statistics

The connection Statistics graphs show the number of connection as per given interval of time as shown
below in the screenshot.

Oracle 66 | P a g e
User Activity

The user activity graph shows the number of users connected as per given interval of time as shown
below in the screenshot.

Tablespace

Tablespaces in oracle database are comprised of one or more logical storage unit. This tablespace
collectively stores all the database data. The tablespace in Oracle database consists of one or more
datafiles.

Oracle 67 | P a g e
To view the tablespace details, click Tablespace tab.

Tablespace Details

Columns Description

Tablespace Name Display the name of the tablespace

Total Size MB Display the total size of the tablespace in MB.

Total Used MB Display the total used the size of the tablespace in MB.

Total Free MB Display the total free size of the tablespace in MB.

Used % Display the green bar which represents the used space in MB

Allocated Blocks Displays the allocated blocks to the tablespace.

Free Blocks Display the free blocks in the tablespace.

Health Display the tablespace health in terms of ONLINE, OFFLINE, AVAILABLE.

Configure Alarms Click to configure tablespace.

Configuring Alarms

To configure alarm, Click located at the right side of the screen.

Oracle 68 | P a g e
The following screen is displayed showing the tablespace name along with the parameters to edit.

Select the threshold (Alarm Condition) for HEALTH, Used Percentage, Total Used MB and Total Size MB
from the drop down as:

Tablespace Fragmentation

Oracle 69 | P a g e
Oracle 70 | P a g e
Sessions

To view the sessions of an Oracle database, click session tab.

Sessions Details

Columns Description

SID Display the Session ID.

Status Display the ACTIVE / INACTIVE status of the session.

Machine Display the machine name from which session established.

Username Display the username creating sessions.

Elapsed Time Display the time elapsed when the session is occurring.

CPU Used (Sec) Display the CPU used per sec.

Physical Reads Display the physical read operation per second.

Logical Reads Display the logical read operation per second.

Lock wait Display the session locked duration in second.

Module Display the session module.

Program Session Program.

Oracle 71 | P a g e
Session Waits

Columns Description

SID The Oracle System ID (SID) is used to uniquely identify a particular database
on a system. For this reason, one cannot have more than one database with
the same SID on a computer system. When using RAC, all instances
belonging to the same database must have unique SIDs.

Event Display the event for which session belong.

Wait Class Display the wait class for a particular session.

Wait Time Session waits time in milliseconds.

Seconds inWait Display the current session wait in seconds.


State Display the current session event.

Oracle 72 | P a g e
Jobs and backups

Under jobs and Backups tab, the user can view Schedule Job Details, Schedule Jobs Stats, and Backup
Job Details.

Schedule Job Details

Columns Description

Job Name Display the job name.

Current State Display the state of job as DISABLED and SCHEDULED

Last Run Status Display the last run status of the job.

Last Start Date Shows the last start date.

Last Run Duration Display the last run duration in HH:MM:SS format.

Next Run Date Display the next job run date.


Comment Shows the comment for the job.

Oracle 73 | P a g e
Schedule Jobs Stats

Columns Description
Job Name Display the name of the job.

Run Count Display the number of job run count.

Failure Count Displays the number of job failure count.

Retry Count Displays the number of job retry count.

Elapsed Time(ms) Displays the elapsed time of job in millisecond.

Is Enabled Displays the enabled status of the job.


Is Restartable Displays the restart able status of the job.

Oracle 74 | P a g e
Backup Jobs Details

Columns Description

Session Key A session key is an encryption and decryption key that is randomly
generated to ensure the security of a communications session between a
user and another computer or between two computers.

Type

Start Time Display the date and time of session start.

Autobackup Count Display the number of auto backup count.

Autobackup Done Display the YES or NO status of the auto backup done.

Status Display the status

Time Taken Display the time taken for the backup.


Backup Size (MB) Display the size of the backup in MB.

Oracle 75 | P a g e
SGA

The SGA (System Global Area) is an area of memory (RAM) allocated when an Oracle Instance starts up.
The SGA's size and function are controlled by initialization (INIT.ORA or SPFILE) parameters.

SGA Details

Attributes Description

Oracle 76 | P a g e
Buffer Cache Size Holds copies of data blocks read from data files.
Shared Pool Size Holds the dictionary or row cache, the library cache, cursor definitions
and shared SQL.

Redolog Buffer Size Contains information about database transactions, both committed and
uncommitted, in preparation for writing to online redo log files.

Fixed Area Size Display the fixed area size.

Java Pool Size Holds information for parsing Java statements.

Large Pool Size Including the User Global Area (UGA))

Free Memory Display the free memory available.

SGA Latches Hit Ratio The Latch Hit Ratio Oracle metric is the ratio of the total number of
latch misses to the number of latches gets for all latches. A low value
for this ratio indicates a latching problem, whereas a high value is
generally good.

SGA Shared Pool Reload This is similar to a Library Cache Miss Ratio but is specific to SQL and
Ratio PL/SQL blocks. Shared pool reloads occur when Oracle has to implicitly
reparse SQL or PL/SQL at the point when it attempts to execute it. A
larger shared pool will reduce the number of times that code needs to
be reloaded. Also, ensuring that similar pieces of SQL are written
identically will increase sharing of code.

SGA Shared Pool Free The percentage of the shared pool not currently in use. If a large
Percentage proportion of the shared pool is always free, it is likely that the size of
the shared pool can be reduced. Low free values are not a cause for
concern unless other factors also indicate problems, e.g. a poor
dictionary cache hit ratio or a large proportion of reloads occurring.

Oracle 77 | P a g e
SGA Performance

The user can view the SGA performance where the graph and pie chart related to Buffer Hit Ratio, Data
Dictionary Hit Ratio, and Library Hit Ratio are shown.

Buffer Hit Ratio:

Data Dictionary Hit Ratio: The Data Dictionary Hit Ratio Oracle metric is the ratio of logical reads to
physical disk reads. As the hit ratio approaches 100 percent, more data blocks are found in memory,
resulting in fewer disk I/Os and faster overall database performance.

Library Hit Ratio: The Library Cache Hit Ratio Oracle metric monitors the percentage of entries in the
library cache that were parsed more than once (reloads) over the lifetime of the instance.

Oracle 78 | P a g e
PGA

The PGA (Program or Process Global Area) is a memory area (RAM) that stores data and control
information for a single process. For example, it typically contains a sort area, hash area, session cursor
cache, etc.

PGA Details

Attribute Description
PGA freed back to OS Display the free PGA memory assigned to OS.

Total freeable PGA Display the free space available in PGA.

Maximum PFA allocated Display the maximum space allocated to PGA.

Total PGA allocated Display the total space in MB allocated to PGA.

Total PGA used Display the total PGA space used in MB.

Cache Hit Percentage Display the Cache hit in percentage.

Resource used by processes Display the PGA resources used by the process in %.

Note: A cache hit is a state in which data requested for processing by a component or application is
found in the cache memory. It is a faster means of delivering data to the processor, as the cache
already contains the requested data.

Oracle 79 | P a g e
Process

The process running on the Oracle database can be monitor under “Process” tab.

Oracle Process

The above graph shows the number of PGA used in MB against the number of processes.

Oracle 80 | P a g e
Columns Description
Process ID A process running on Oracle database are assigned a unique
process ID.

Program Name Display the process name.

PGA Used (MB) Display the PGA used in MB

PGA Allocated (MB) Display the allocated PGA in MB.

Freeable PGA (MB) Display the available PGA space in MB.

Max PGA Used (MB) Display the maximum PGA space used in MB.

Oracle 81 | P a g e
Monitor Setting

Monitoring Settings

To edit the setting of the monitor, click Monitor Settings -> Monitoring Settings.

Columns Description

Monitor Name Shows the name of the Monitor.

Description Shows the description of the monitor name.

Polling interval (Min) Polling interval in minutes fetches the live data of the database. In above
figure it checks the database live data every 1 minute.

First Alert (Min) Display the first alert time in minutes.

Repeat Alert (Min) The same alert if not resolved is alerted again as per settings.

Buttons Description

Click to remove connection timeout.

Click to edit remove connection timeout

Oracle 82 | P a g e
All Graphs

The Graphs for different monitor parameters that are listed under Monitoring Settings are shown under
“All Graphs”.

Oracle 83 | P a g e
Update Host

Fields Description

Application Display Name Display the MSSQL Database name.

IP/Hostname Display the IP of the database.

Datacenter Display the name of the datacenter.

Business Unit Display the business unit under selected datacenter.

Business Vertical Display the business vertical under selected business unit.

Port Display the Port number where a port number is a way to identify a
specific process to which the Internet or another network message
is to be forwarded when it arrives at a server

Current Credential Title Display the current credential title of the MSSQL database.
Change Credential Display the change credential of the same database if any.

Oracle 84 | P a g e
Events/ logs

Monitoring logs

All the monitoring logs of MySQL host are shown under the Events tab.

Refer below screenshot.

The DB Admin can change the number of logs page, by selecting the number from the drop down. See
above screenshot.

Oracle 85 | P a g e
Alert Logs

The alert log file (also referred to as the ALERT.LOG) is a chronological log of messages and errors
written out by an Oracle Database. Typical messages found in this file is database startup, shutdown, log
switches, space errors, etc. This file should constantly be monitored to detect unexpected messages and
corruptions.

Oracle will automatically create a new alert log file whenever the old one is deleted. The user can search
the logs as per pattern, limit, start, and end.

Listner Logs

Log files automatically record connection errors for clients, servers, listeners, and Names Servers.
Logging cannot be turned off for most components. In addition, the listener log file contains Audit Trail
information about all connection requests and the results of Listener Control Utility commands.

Oracle 86 | P a g e
Run Query

The “Run Query” tab enable the user to run a query on the oracle database as shown below in the
screenshot.

Enter the query and click .

Oracle 87 | P a g e
Web Server

IIS

IIS is an abbreviation for Internet Information Server. It is a group of internet servers including HTTP
Server and FTP Server with an MS Windows NT and 2000 operating systems.

IIS Sever Details

Under IIS Server Details, the user can view the Server details in a tabular format as shown below in the
screenshot.

Below the Server detail table, the server uptime is shown.


Server Information Description
Name Shows the name of the server.

Type Shows the type of server.

IP Shows the IP of the server.

Host Name Shows the host name of the server.

Location Display the location of the server hosted.

Business Unit Display the business unit.

Business Vertical Display the business vertical.

Version Display the server version of the IIS server.

OS Name Display the type of OS install on the server.


OS Architecture Display the OS architecture of the server.

Sites

Columns Description
Site Name Display the name of the website.

Binding Websites have something called Server Bindings which represent


the underlying address, port, and potentially a host header that
your Website is accessed using.

Web Path Display the path of website stored on the server.

Status Shows the uptime and downtime status as:

Action NA

Oracle 1|P ag e
Application

Columns Description
App Name Display the name of the application.

Pool Name Display the name of the pool.

Site Name Display the website name.

Protocol Display the type of protocol used.

Path Display the path of website stored on the server.


Action NA

Application Pools

Application pools are used to separate sets of IIS worker processes that share the same configuration
and application boundaries. Application pools used to isolate our web application for better security,
reliability, and availability and performance and keep running without impacting each other.

Columns Description
Application Pool Name Application pool name is the identity for the application pool.

Version Display the version of the Application pool

Status Shows the uptime and downtime status a:

Action NA

Oracle 2|P ag e
Monitor Setting

Monitoring Settings

To edit the setting of the monitor, click Monitor Settings -> Monitoring Settings.

Columns Description

Monitor Name Shows the name of the Monitor.

Description Shows the description of the monitor name.

Polling interval Polling interval in minutes fetch the live data of the database. In
(Min) above figure it checks the database live data every 1 minute.

First Alert (Min) Display the first alert time in minutes.

Repeat Alert (Min) The same alert if not resolved is alerted again as per settings.

Buttons Description

Click to remove connection timeout.

Click to edit remove connection timeout

Oracle 3|P ag e
All Graphs

The Graphs for different monitor parameters that are listed under Monitoring Settings
are shown under “All Graphs”.

Oracle 4|P ag e
Update Host

Fields Description

Application Display Name Display the MSSQL Database name.

IP/Hostname Display the IP of the database.

Datacenter Display the name of the datacenter.

Business Unit Display the business unit under selected datacenter.

Business Vertical Display the business vertical under selected business unit.

Port Display the Port number where a port number is a way to


identify a specific process to which the Internet or
another network message is to be forwarded when it
arrives at a server

Current Credential Title Display the current credential title of the MSSQL
database.

Change Credential Display the change credential of the same database if


any.

Oracle 5|P ag e
Tomcat :

Parameters covered in TomCat are as above :

 Running Status
 Daemon Threads
 Live Threads
 Total Threads Started
 Class Loaded
 Class Unloaded
 Total Class Loaded
 Memory Pool 1
 Garbage Collector
 Thread Pool
 WebApplication

Oracle 6|P ag e
Oracle 7|P ag e

You might also like