SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
Monitoring MySQL database
with Verax NMS
Table of contents
Abstract ............................................................................................................................................. 3 
1.  Adding MySQL database to device inventory ........................................................................ 4 
2.  Adding sensors for MySQL database ...................................................................................... 7 
3.  Adding performance counters for MySQL database ............................................................. 9 
4.  Creating custom event processing rules for MySQL database ........................................... 11 
5.  MySQL NMS plugin overview ................................................................................................ 12 
Summary ......................................................................................................................................... 13 
Monitoring MySQL database with Verax NMS

Abstract
This publication provides an overview on how to monitor and manage MySQL database using Verax NMS
(including the free Express edition available at http://www.veraxsystems.com/en/downloads - please read
terms & conditions for limitations of the Express version).


Tools used:
     MySQL Database: http://www.mysql.com 
     Monitoring tool: www.veraxsystems.com/en/products/nms 
 

Agenda:
    1. Adding MySQL database to the list of monitored applications within Verax NMS.
    2. Configuring availability sensors and performance counters for the database.
    3. MySQL database plugin features overview.
    4. Setting up alarms and notification policies.




                                          Copyright © Verax Systems. All rights reserved.
                                All trademarks in this document are legal property of their owners.   Page 3 of 13
                                                      www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS

1. Adding MySQL database to device inventory
In order to include MySQL database instance to be monitored by Verax NMS, add an application instance to
the device actually running this instance.

Note: Verax NMS allows for creating multiple instances for applications of the same type on a single device.

In order to add MySQL database server to the device running its instance, perform the following steps:
   1. Log in into the Verax NMS and select Home from the main menu.
   2. Select a device running MySQL database instance from the left-side aspects view.




                                           Figure 1: Aspect hierarchy tree

   3. In Summary tab select Manage applications from the actions section.




                                  Figure 2: Adding a new managed application

   4. A pop-up dialog is displayed.




                                          Figure 3: Applications list dialog


                                          Copyright © Verax Systems. All rights reserved.
                                All trademarks in this document are legal property of their owners.   Page 4 of 13
                                                      www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS

   5. Select Add application option from the context menu and click Go. A dialog window is displayed.




                             Figure 4: Adding MySQL database – parameters dialog

Verax NMS will ask to enter the following application-specific parameters:
      Instance name - Name of the application instance. You can enter any name describing the
       monitored application instance.
      Host - Address of the host running the application instance. In most cases, the host address is an IP
       address of the device the application instance is assigned to.
      Port - Port of application server (3306 by default).
      User - Username used to connect to the database (with administrative privileges).
      Password - Password used to connect to the database.

Note: application-specific parameters depend on the selected application type.

   6. Provide the necessary information and click Save changes.

   7. The system will ask if you want to add a default set of sensors and counters for MySQL database.
      Since, in this example sensors and performance will be added manually – click No.
        




                                Figure 5: Default monitors - confirmation dialog




                                          Copyright © Verax Systems. All rights reserved.
                                All trademarks in this document are legal property of their owners.   Page 5 of 13
                                                      www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS
The initial set of MySQL database monitors includes:
      Configuration: software version, host platform, status and system variables
      Database instance inventory
      Predefined sensor and counter templates to monitor most important SQL performance
       characteristics.

   8. The newly added database is now visible in the aspect tree within the host’s node in Managed
      Applications category.




                                 Figure 6: MySQL database properties window




                                         Copyright © Verax Systems. All rights reserved.
                               All trademarks in this document are legal property of their owners.   Page 6 of 13
                                                     www.veraxsystems.com
                                                                                                                DL724
Monitoring MySQL database with Verax NMS

2. Adding sensors for MySQL database
MySQL database instance can be monitored by:
      Obtaining database information and statistics on demand using the Show advanced view action
       available on Summary tab, which shows several views with major information about the database
       server as well as performance characteristics.
      Checking application or service availability by configuring SQL-based JDBC sensor.
      User-defined SQL-based JDBC counter.
Sensors are active monitors periodically querying the device services for which they are configured and
waiting for their responses. If a query is returned with an expected response, the queried service is
considered "available." If a response is not received (timed out), or if the response is not as expected, the
queried service is considered "unavailable".

The system includes one pre-configured sensor for MySQL database available by default:
    JDBC - checks if a given SQL query run on a specified database returns the expected result.

In order to add a sensor, perform the following steps:
    1. Select device from the aspect tree in Home view (MySQL database in this case).
    2. Select Monitors tab and switch to sensor list by clicking Sensor list link in the upper-right corner of
       the tab field. The sensor list is displayed.



    3. Select Add from the global action menu and click Go. The wizard dialog is displayed.




                                               Figure 7: Adding a sensor


                                          Copyright © Verax Systems. All rights reserved.
                                All trademarks in this document are legal property of their owners.   Page 7 of 13
                                                      www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS

   4. Select the sensor you want to add and click Next.




                                       Figure 8: Specify sensor parameters

   5. A dialog shows up with all sensor parameters to be provided. Specify the sensor parameters and
      click Finish.
   6. Once the sensors have been added, they are visible on the sensor list (Monitors tab).




                                         Copyright © Verax Systems. All rights reserved.
                               All trademarks in this document are legal property of their owners.   Page 8 of 13
                                                     www.veraxsystems.com
                                                                                                                DL724
Monitoring MySQL database with Verax NMS

3. Adding performance counters for MySQL database
Performance counters measure system activity and performance (metrics). The application retrieves their
current values in predefined intervals. The aim of probing and collecting data is to analyze and convert the
data into a performance graph/chart. The user can define a counter manually or load it from a template.
Performance counter templates are templates with defined probing parameters for specified devices in
order to improve and speed up counter creation.
Each Verax NMS counter template is characterized by the following information:
       Name and description - unique identifier and optional description,
       Device type - type of a device,
       Protocol type - protocol used,
       Probing interval - pauses between probing.
Counter templates are needed when the counter creation method is set to "from template". Counter
templates provide defined probing parameters for specified devices in order to improve and quicken
counter creation.
In order to add user-defined SQL-based JDBC counter, perform the following steps:
   1. Select device from aspect tree in Home view.
   2.   Select Monitors tab and switch to the counter list by clicking Counter list link in the upper-right
        corner of the tab field. A counter list is displayed.



   3. Select Add from the global action menu and click Go. Select the counter you want to create and click
      Next.




                                  Figure 9: Adding counter for MySQL database


                                          Copyright © Verax Systems. All rights reserved.
                                All trademarks in this document are legal property of their owners.   Page 9 of 13
                                                      www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS

   4. Once the data has been loaded, the edit window shows up with all counter attributes to be
      provided.




                                      Figure 10: Selecting measure metrics

   5. Specify the rest of the counter parameters (alarms, thresholds etc.) and click Finish.
   6. The new counter has been created and is now visible on the counter list.




                                         Copyright © Verax Systems. All rights reserved.
                               All trademarks in this document are legal property of their owners.   Page 10 of 13
                                                     www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS

4. Creating custom event processing rules for MySQL database
Events are processed by Event Processing Rules running under control of the Event Processing Engine. The
Event Processing Engine within the system is able to process events fast without materializing them in
database. Verax NMS comes with a set of embedded, flexibly customized processing rules such as: De-
duplication, Pairwise matching, Event forwarding, Intermittent failure, Scheduled Maintenance, etc. It also
provides users with the ability to implement their own processing rules using JRuby scripting language.

Verax NMS provides complex fault management, such as alarm collection, filtering, blocking, thresholds and
correlation (scripted, user-defined rules defining business logic for alarm correlation, cleaning, root-cause,
etc.) as well as alarm management actions, e.g. assignment, change of status, clearing, annotation and
others. It also enables users to create alarms based on network data etc.

In this example it is shown how to assign basic event processing rules such as:
       Alarm generating
       Event dropping
       Event forwarding
       Severity assigning

To assign an event processing rule, perform the following steps:
    1. After selecting the desired host go to Events tab.
    2. Select events, choose Assign processing rules and click Go.
    3. A dialog window is displayed (see figure below).
    4. Select rule category and click Add new rule. A dialog window is displayed (see figure below).




                                    Figure 11: Creating custom processing rule
    The newly created event processing rule is now visible and active (there’s no need to logout).


                                          Copyright © Verax Systems. All rights reserved.
                                All trademarks in this document are legal property of their owners.   Page 11 of 13
                                                      www.veraxsystems.com
                                                                                                                  DL724
Monitoring MySQL database with Verax NMS

5. MySQL NMS plugin overview
Features
Verax NMS provides MySQL application pluggable module to extend core built-in functionalities and allows
MySQL database monitoring in various aspects like:
     Advanced views: General information, Status variables, System variables, Databases list.
     Availability monitoring
     Predefined performance counters templates
     User-defined counters and sensor based on SQL query

General information view
In the General tab, one may find the overall information about the version of the database, storage engine,
version compile and uptime.

Server status view
Server status view provides information concerning server status – variable names and their values.

System status view
System status view provides information concerning system status – variable names and their values.

Databases view
The databases tab, presents detailed information regarding particular databases. After choosing the scheme
name, one may see specific information about the database (table name, engine, rows, data length, index
length, time of creation, update time) gathered in a form of a table.




                                         Copyright © Verax Systems. All rights reserved.
                               All trademarks in this document are legal property of their owners.   Page 12 of 13
                                                     www.veraxsystems.com
                                                                                                                 DL724
Monitoring MySQL database with Verax NMS

Summary
If you performed all actions described in chapters 1-5 you are now able to monitor MySQL database.




                                  Figure 12: Showing MySQL system variables




                                         Copyright © Verax Systems. All rights reserved.
                               All trademarks in this document are legal property of their owners.   Page 13 of 13
                                                     www.veraxsystems.com
                                                                                                                 DL724

Mais conteúdo relacionado

Mais procurados (10)

21 Pdfsam
21 Pdfsam21 Pdfsam
21 Pdfsam
 
161 Pdfsam
161 Pdfsam161 Pdfsam
161 Pdfsam
 
Esm rel notes_6.0c
Esm rel notes_6.0cEsm rel notes_6.0c
Esm rel notes_6.0c
 
Esm scg configuration_6.0c
Esm scg configuration_6.0cEsm scg configuration_6.0c
Esm scg configuration_6.0c
 
SQL Server and System Center Advisor
SQL Server and System Center AdvisorSQL Server and System Center Advisor
SQL Server and System Center Advisor
 
SQL server part 1
SQL server  part 1SQL server  part 1
SQL server part 1
 
cynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guidecynapspro endpoint data protection - installation guide
cynapspro endpoint data protection - installation guide
 
W3 analyzer.ppt
W3 analyzer.pptW3 analyzer.ppt
W3 analyzer.ppt
 
sql server 2008
sql server 2008sql server 2008
sql server 2008
 
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
 

Destaque

MySQL Monitoring with Zabbix
MySQL Monitoring with ZabbixMySQL Monitoring with Zabbix
MySQL Monitoring with Zabbix
FromDual GmbH
 

Destaque (6)

MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL Monitoring with Zabbix
MySQL Monitoring with ZabbixMySQL Monitoring with Zabbix
MySQL Monitoring with Zabbix
 
Galera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction SlidesGalera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction Slides
 
How to Monitor MySQL
How to Monitor MySQLHow to Monitor MySQL
How to Monitor MySQL
 
Zabbix Performance Tuning
Zabbix Performance TuningZabbix Performance Tuning
Zabbix Performance Tuning
 
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
 

Semelhante a How to monitor MySQL database

Mafiree Services 2016 (1)
Mafiree Services 2016 (1)Mafiree Services 2016 (1)
Mafiree Services 2016 (1)
linyashaalu
 
Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2
Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2
Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2
Fortes Sapiens
 
Cloud Computing MechanismsChapter 7 – InfrastructureChapter .docx
Cloud Computing MechanismsChapter 7 – InfrastructureChapter .docxCloud Computing MechanismsChapter 7 – InfrastructureChapter .docx
Cloud Computing MechanismsChapter 7 – InfrastructureChapter .docx
mary772
 
802.1x Implementation Plan for Seacoast
802.1x Implementation Plan for Seacoast802.1x Implementation Plan for Seacoast
802.1x Implementation Plan for Seacoast
Sithideth Banavong
 

Semelhante a How to monitor MySQL database (20)

How to monitor and manage Apache Tomcat
How to monitor and manage Apache TomcatHow to monitor and manage Apache Tomcat
How to monitor and manage Apache Tomcat
 
How to monitor ESX/ESXi servers
How to monitor ESX/ESXi serversHow to monitor ESX/ESXi servers
How to monitor ESX/ESXi servers
 
Database Engineering and Operations at Yahoo
Database Engineering and Operations at YahooDatabase Engineering and Operations at Yahoo
Database Engineering and Operations at Yahoo
 
How to monitor MODBUS devices
How to monitor MODBUS devicesHow to monitor MODBUS devices
How to monitor MODBUS devices
 
Unit iv
Unit ivUnit iv
Unit iv
 
Efficient Performance Analysis and Tuning with MySQL Enterprise Monitor
Efficient Performance Analysis and Tuning with MySQL Enterprise MonitorEfficient Performance Analysis and Tuning with MySQL Enterprise Monitor
Efficient Performance Analysis and Tuning with MySQL Enterprise Monitor
 
Mafiree Services 2016 (1)
Mafiree Services 2016 (1)Mafiree Services 2016 (1)
Mafiree Services 2016 (1)
 
Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2
Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2
Tn068 f -_freeradius_and_mysql_linux_configuration_v1.6.2
 
58750024 datastage-student-guide
58750024 datastage-student-guide58750024 datastage-student-guide
58750024 datastage-student-guide
 
FabricServer Technology Overview
FabricServer Technology OverviewFabricServer Technology Overview
FabricServer Technology Overview
 
Sunserver Open Solaris
Sunserver Open SolarisSunserver Open Solaris
Sunserver Open Solaris
 
Xenapp deployment-blueprint
Xenapp deployment-blueprintXenapp deployment-blueprint
Xenapp deployment-blueprint
 
My sql basic
My sql basicMy sql basic
My sql basic
 
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
Part 1: DRS and DPM Implementation in Virtualized Environment, Part 2: Large ...
 
Automatic upgrade and new error logging in my sql 8.0 oct
Automatic upgrade and new error logging in my sql 8.0 octAutomatic upgrade and new error logging in my sql 8.0 oct
Automatic upgrade and new error logging in my sql 8.0 oct
 
Implementing Active Directory and Information Security Audit also VAPT in Fin...
Implementing Active Directory and Information Security Audit also VAPT in Fin...Implementing Active Directory and Information Security Audit also VAPT in Fin...
Implementing Active Directory and Information Security Audit also VAPT in Fin...
 
Cloud Computing MechanismsChapter 7 – InfrastructureChapter .docx
Cloud Computing MechanismsChapter 7 – InfrastructureChapter .docxCloud Computing MechanismsChapter 7 – InfrastructureChapter .docx
Cloud Computing MechanismsChapter 7 – InfrastructureChapter .docx
 
A plenarily integrated SIEM solution and it’s Deployment
A plenarily integrated SIEM solution and it’s DeploymentA plenarily integrated SIEM solution and it’s Deployment
A plenarily integrated SIEM solution and it’s Deployment
 
802.1x Implementation Plan for Seacoast
802.1x Implementation Plan for Seacoast802.1x Implementation Plan for Seacoast
802.1x Implementation Plan for Seacoast
 
DEE 431 Introduction to DBMS Slide 1
DEE 431 Introduction to DBMS Slide 1DEE 431 Introduction to DBMS Slide 1
DEE 431 Introduction to DBMS Slide 1
 

Último

CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
anilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female service
anilsa9823
 
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
anilsa9823
 
Lilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxLilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptx
ABMWeaklings
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Morcall Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
vikas rana
 
CALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual service
anilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
anilsa9823
 

Último (20)

2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
 
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
 
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Rajajipuram Lucknow best sexual service
 
LC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdfLC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdf
 
CALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Adil Nagar Lucknow best Female service
 
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
Lucknow 💋 High Class Call Girls Lucknow 10k @ I'm VIP Independent Escorts Gir...
 
Lilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptxLilac Illustrated Social Psychology Presentation.pptx
Lilac Illustrated Social Psychology Presentation.pptx
 
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Introducing to billionaire brain wave.pdf
Introducing to billionaire brain wave.pdfIntroducing to billionaire brain wave.pdf
Introducing to billionaire brain wave.pdf
 
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
 
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Morcall Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
 
The Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by MindbrushThe Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by Mindbrush
 
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
 
CALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Jankipuram Lucknow best sexual service
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
 
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
 
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Aliganj Lucknow best sexual service
 
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
 

How to monitor MySQL database

  • 2. Table of contents Abstract ............................................................................................................................................. 3  1.  Adding MySQL database to device inventory ........................................................................ 4  2.  Adding sensors for MySQL database ...................................................................................... 7  3.  Adding performance counters for MySQL database ............................................................. 9  4.  Creating custom event processing rules for MySQL database ........................................... 11  5.  MySQL NMS plugin overview ................................................................................................ 12  Summary ......................................................................................................................................... 13 
  • 3. Monitoring MySQL database with Verax NMS Abstract This publication provides an overview on how to monitor and manage MySQL database using Verax NMS (including the free Express edition available at http://www.veraxsystems.com/en/downloads - please read terms & conditions for limitations of the Express version). Tools used:  MySQL Database: http://www.mysql.com   Monitoring tool: www.veraxsystems.com/en/products/nms    Agenda: 1. Adding MySQL database to the list of monitored applications within Verax NMS. 2. Configuring availability sensors and performance counters for the database. 3. MySQL database plugin features overview. 4. Setting up alarms and notification policies. Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 3 of 13 www.veraxsystems.com DL724
  • 4. Monitoring MySQL database with Verax NMS 1. Adding MySQL database to device inventory In order to include MySQL database instance to be monitored by Verax NMS, add an application instance to the device actually running this instance. Note: Verax NMS allows for creating multiple instances for applications of the same type on a single device. In order to add MySQL database server to the device running its instance, perform the following steps: 1. Log in into the Verax NMS and select Home from the main menu. 2. Select a device running MySQL database instance from the left-side aspects view. Figure 1: Aspect hierarchy tree 3. In Summary tab select Manage applications from the actions section. Figure 2: Adding a new managed application 4. A pop-up dialog is displayed. Figure 3: Applications list dialog Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 4 of 13 www.veraxsystems.com DL724
  • 5. Monitoring MySQL database with Verax NMS 5. Select Add application option from the context menu and click Go. A dialog window is displayed. Figure 4: Adding MySQL database – parameters dialog Verax NMS will ask to enter the following application-specific parameters:  Instance name - Name of the application instance. You can enter any name describing the monitored application instance.  Host - Address of the host running the application instance. In most cases, the host address is an IP address of the device the application instance is assigned to.  Port - Port of application server (3306 by default).  User - Username used to connect to the database (with administrative privileges).  Password - Password used to connect to the database. Note: application-specific parameters depend on the selected application type. 6. Provide the necessary information and click Save changes. 7. The system will ask if you want to add a default set of sensors and counters for MySQL database. Since, in this example sensors and performance will be added manually – click No.   Figure 5: Default monitors - confirmation dialog Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 5 of 13 www.veraxsystems.com DL724
  • 6. Monitoring MySQL database with Verax NMS The initial set of MySQL database monitors includes:  Configuration: software version, host platform, status and system variables  Database instance inventory  Predefined sensor and counter templates to monitor most important SQL performance characteristics. 8. The newly added database is now visible in the aspect tree within the host’s node in Managed Applications category. Figure 6: MySQL database properties window Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 6 of 13 www.veraxsystems.com DL724
  • 7. Monitoring MySQL database with Verax NMS 2. Adding sensors for MySQL database MySQL database instance can be monitored by:  Obtaining database information and statistics on demand using the Show advanced view action available on Summary tab, which shows several views with major information about the database server as well as performance characteristics.  Checking application or service availability by configuring SQL-based JDBC sensor.  User-defined SQL-based JDBC counter. Sensors are active monitors periodically querying the device services for which they are configured and waiting for their responses. If a query is returned with an expected response, the queried service is considered "available." If a response is not received (timed out), or if the response is not as expected, the queried service is considered "unavailable". The system includes one pre-configured sensor for MySQL database available by default:  JDBC - checks if a given SQL query run on a specified database returns the expected result. In order to add a sensor, perform the following steps: 1. Select device from the aspect tree in Home view (MySQL database in this case). 2. Select Monitors tab and switch to sensor list by clicking Sensor list link in the upper-right corner of the tab field. The sensor list is displayed. 3. Select Add from the global action menu and click Go. The wizard dialog is displayed. Figure 7: Adding a sensor Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 7 of 13 www.veraxsystems.com DL724
  • 8. Monitoring MySQL database with Verax NMS 4. Select the sensor you want to add and click Next. Figure 8: Specify sensor parameters 5. A dialog shows up with all sensor parameters to be provided. Specify the sensor parameters and click Finish. 6. Once the sensors have been added, they are visible on the sensor list (Monitors tab). Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 8 of 13 www.veraxsystems.com DL724
  • 9. Monitoring MySQL database with Verax NMS 3. Adding performance counters for MySQL database Performance counters measure system activity and performance (metrics). The application retrieves their current values in predefined intervals. The aim of probing and collecting data is to analyze and convert the data into a performance graph/chart. The user can define a counter manually or load it from a template. Performance counter templates are templates with defined probing parameters for specified devices in order to improve and speed up counter creation. Each Verax NMS counter template is characterized by the following information:  Name and description - unique identifier and optional description,  Device type - type of a device,  Protocol type - protocol used,  Probing interval - pauses between probing. Counter templates are needed when the counter creation method is set to "from template". Counter templates provide defined probing parameters for specified devices in order to improve and quicken counter creation. In order to add user-defined SQL-based JDBC counter, perform the following steps: 1. Select device from aspect tree in Home view. 2. Select Monitors tab and switch to the counter list by clicking Counter list link in the upper-right corner of the tab field. A counter list is displayed. 3. Select Add from the global action menu and click Go. Select the counter you want to create and click Next. Figure 9: Adding counter for MySQL database Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 9 of 13 www.veraxsystems.com DL724
  • 10. Monitoring MySQL database with Verax NMS 4. Once the data has been loaded, the edit window shows up with all counter attributes to be provided. Figure 10: Selecting measure metrics 5. Specify the rest of the counter parameters (alarms, thresholds etc.) and click Finish. 6. The new counter has been created and is now visible on the counter list. Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 10 of 13 www.veraxsystems.com DL724
  • 11. Monitoring MySQL database with Verax NMS 4. Creating custom event processing rules for MySQL database Events are processed by Event Processing Rules running under control of the Event Processing Engine. The Event Processing Engine within the system is able to process events fast without materializing them in database. Verax NMS comes with a set of embedded, flexibly customized processing rules such as: De- duplication, Pairwise matching, Event forwarding, Intermittent failure, Scheduled Maintenance, etc. It also provides users with the ability to implement their own processing rules using JRuby scripting language. Verax NMS provides complex fault management, such as alarm collection, filtering, blocking, thresholds and correlation (scripted, user-defined rules defining business logic for alarm correlation, cleaning, root-cause, etc.) as well as alarm management actions, e.g. assignment, change of status, clearing, annotation and others. It also enables users to create alarms based on network data etc. In this example it is shown how to assign basic event processing rules such as:  Alarm generating  Event dropping  Event forwarding  Severity assigning To assign an event processing rule, perform the following steps: 1. After selecting the desired host go to Events tab. 2. Select events, choose Assign processing rules and click Go. 3. A dialog window is displayed (see figure below). 4. Select rule category and click Add new rule. A dialog window is displayed (see figure below). Figure 11: Creating custom processing rule The newly created event processing rule is now visible and active (there’s no need to logout). Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 11 of 13 www.veraxsystems.com DL724
  • 12. Monitoring MySQL database with Verax NMS 5. MySQL NMS plugin overview Features Verax NMS provides MySQL application pluggable module to extend core built-in functionalities and allows MySQL database monitoring in various aspects like:  Advanced views: General information, Status variables, System variables, Databases list.  Availability monitoring  Predefined performance counters templates  User-defined counters and sensor based on SQL query General information view In the General tab, one may find the overall information about the version of the database, storage engine, version compile and uptime. Server status view Server status view provides information concerning server status – variable names and their values. System status view System status view provides information concerning system status – variable names and their values. Databases view The databases tab, presents detailed information regarding particular databases. After choosing the scheme name, one may see specific information about the database (table name, engine, rows, data length, index length, time of creation, update time) gathered in a form of a table. Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 12 of 13 www.veraxsystems.com DL724
  • 13. Monitoring MySQL database with Verax NMS Summary If you performed all actions described in chapters 1-5 you are now able to monitor MySQL database. Figure 12: Showing MySQL system variables Copyright © Verax Systems. All rights reserved. All trademarks in this document are legal property of their owners. Page 13 of 13 www.veraxsystems.com DL724