Skip navigation
Currently Being Moderated

59.5 Enable MySQL Server Monitoring

VERSION 3  Click to view document history
Created on: Oct 11, 2011 6:14 PM by Zenoss API - Last Modified:  Oct 11, 2011 6:28 PM by Zenoss API

 5. Enable MySQL Server Monitoring

  1. Click the device in the device list.

  2. Select Device under Monitoring Templates in the left panel.

  3. Select Add Local Template from the Action menu.

    The Add Local Template dialog appears.

  4. Enter a name of the template, and then click Submit.

  5. Click the newly created template in the left panel.

  6. In the Data Sources area, click .

  7. Enter a name for the data source, select SQL as the type, and then click Submit.

  8. Double-click the newly created data source.

    The Edit Data Source dialog appears.

  9. Change options as needed.

     

    Table 59.4. MySQL Server Transactions Data Source Options

    OptionDescription

    Database Type

    Enter MySQL

    Host Name

    Set the host name on which the database is located. This field accepts a TALES expression, such as ${here/id} or ${here/getManageIp}

    Port

    Set the port on which the database server is listening. If you do not specify a port number, then the default port for the database is used.

    Database Name

    Specify the name of the database (required).

    User

    Specify a user name with permission to connect to the database and run queries.

    Password

    Specify the user password.

    SQL Queries

    Specify the SQL queries that this data source should execute. A summary of MySQL syntax is available at:

    http://dev.mysql.com/doc/refman/5.0/en/sql-syntax.html


  10. Click on the Save button to save your changes.

    Zenoss creates a data point that corresponds to the total query time in milliseconds.

  11. Click Test to verify that the database connection can be completed, and that the data returned from the queries are correct.

See Zenoss Administration for more information about setting up thresholds and graphs. To create data points that store the results of queries, see the section titled "Data Points."

Comments (0)