Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

12.3 Enable Monitoring

VERSION 1 
Created on: Mar 1, 2010 8:23 AM by Zenoss API - Last Modified:  Mar 1, 2010 8:23 AM by Zenoss API

 3. Enable Monitoring

 3.1. Authorize MySQL Performance Data Access

Follow these steps to set up your MySQL server to allow Zenoss to read performance data from the system tables.

  1. Connect to the MySQL database by using the MySQL client:

    mysql -u root

    Alternatively, if there is a MySQL root password:

    mysql -u root -p
  2. Create a user for Zenoss to use. The username "zenoss" is recommended.

    mysql> CREATE USER zenoss IDENTIFIED BY 'zenossPassword';
    
    Query OK, 0 rows affected (0.00 sec)

 3.2. Zenoss

  1. Navigate to the device in the Zenoss interface.

  2. From the page menu, select MorezProperties.

  3. Edit the zMySqlRootPassword zProperty for the device or devices in Zenoss on which you want to monitor MySQL.

  4. Click Save to save your changes.

  5. From the page menu, select MoreTemplates.

  6. From the table menu, select Bind Templates to display the Bind Performance Templates dialog.

  7. To add the MySQL template and retain other performance templates, hold down the control key while clicking on the MySQL entry.

  8. Click OK.

    The MySQL template should now be displayed under the Performance Templates for Device. You will now be able to start collecting the MySQL server metrics from this device.

  9. Navigate to the Perf tab and you should see some placeholders for graphs. After approximately fifteen minutes you should see the graphs start to become populated with information.

Note

Pay particular attention to the MySQL Version 5+ setting in the data source. If you are monitoring pre-v5 installations of MySQL, then you must set this value to False. If you are monitoring pre-v5 and v5+ installations, then create two templates: one for MySQL installations earlier than v5 and another for those after.

Comments (0)