Integrating OpManager with Grafana

By integrating the OpManager with Grafana, you can visualize and monitor OpManager data using Grafana's advanced dashboarding capabilities. This integration enables you to create interactive dashboards, track key performance metrics, and analyze trends in real time. The help document provides detailed instructions for setting up the integration and querying data from the OpManager into Grafana.

Table of Contents

Steps to connect OpManager to Grafana

Note: Only the MSSQL database is supported now.

To connect OpManager to grafana, login to grafana and open the dashboard,

  • Click the left-hand menu to open the Connections section.
  • Click on Data Sources.
  • Click the Add new data source button.
  • Grafana-

  • In the list of available data sources, search for Microsoft SQL Server, and select it.
  • Grafana-

  • Provide the following information to connect to your SQL Server database:
  • Name: Enter a name for this data source (e.g., MSSQL_DB).
  • Host: Input the server address and port. By default, SQL Server uses port 1433. For example: mssql-server1.sample.com:1433.
  • Database: Specify the name of the database you want to connect to (e.g., my_database).
  • Grafana-

  • User: Enter your SQL Server username.
  • Password: Provide the password associated with the username.
  • Authentication: Choose the appropriate authentication method:
    • Windows Authentication: If you are using domain-based credentials and your SQL Server is configured for this.
    • SQL Server Authentication: If you are logging in with a SQL Server account.

    Grafana

  • TLS/SSL Settings: Configure these settings if your server requires a secure connection.
  • Example Configuration for SQL Server Authentication

    • Host: mssql-server1.sample.com:1433
    • Database: my_database
    • User: sa
    • Password: your_password
  • After entering the connection details, click the Test & Save button.
  • If the connection is successful, you will see a 'Data Connection OK' message.

Grafana

Click here to learn more about configuring MSSQL database in Grafana.

How to create a Dashboard in Grafana

  1. Click the left-hand menu to open the Dashboards menu
  2. Create a new dashboard by clicking on the + Create Dashboard button.
  3. Grafana-1

  4. Select the added SQL server in the data source.
  5. Grafana

  6. Name the query.
  7. In the query editor, go to the Code section and type your SQL query.
  8. Run the query.
  9. Grafana

  10. In the right-hand side tab, choose the table or visualization type for the query.
  11. Name the dashboard and save it by clicking Save in the top-right corner.
  12. After saving the details, navigate to the dashboard to view the newly created dashboards in Grafana.
  13. Grafana

Thank you for your feedback!

Was this content helpful?

We are sorry. Help us improve this page.

How can we improve this page?
Do you need assistance with this topic?
By clicking "Submit", you agree to processing of personal data according to the Privacy Policy.