Ad Widget

Collapse

Retrieve CPU load, CPU utilization, Memory utilization, Disk space usage frm Mysql DB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vamshi_pulluri
    Junior Member
    • Mar 2019
    • 7

    #1

    Retrieve CPU load, CPU utilization, Memory utilization, Disk space usage frm Mysql DB

    I am using Zabbix 4.0 with Mysql database. After reading many posts and literature, I realized that Zabbix monitors data related to different metrics. I am doing a project in which I have to create a Machine Learning model from the monitored data. To create the Machine Learning model I need data related to CPU load, CPU utilization, Memory utilization, and Disk space. Mysql database has different Tables and each table has different columns. However, there was no column that is related to the above-said metrics. So, I assume these metrics are stored in an indirect way in the Mysql database. I want to know how to retrieve these metrics from the Mysql database for Machine Learning model. If possible, I also want to know how to understand the storing mechanism of Zabbix. Any help is appreciated.
    Last edited by vamshi_pulluri; 20-03-2019, 10:17. Reason: Zabbix, Mysql DB, Data retrieval, CPU utilization
  • Andrzej PAwlik
    Junior Member
    • Feb 2019
    • 27

    #2
    Try use Zabbix API to get data from database.

    Comment

    • vamshi_pulluri
      Junior Member
      • Mar 2019
      • 7

      #3
      Hi @Andrzej PAwlik Yes, I realized that I should use Zabbix API. However, I could not understand how the above-said metrics could be retrieved from the database schema. Any documentation or forum post on decoding this would be helpful.

      Comment

      • Andrzej PAwlik
        Junior Member
        • Feb 2019
        • 27

        #4
        API history.get -> raw data on Item if you know itemids.



        API trend get



        and this have you database schema

        Join the friendly and open Zabbix community on our forums and social media platforms.

        Comment

        Working...