Ad Widget

Collapse

Transferring an MySQL query into a Zabbix Graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamesh130
    Junior Member
    • Sep 2017
    • 19

    #1

    Transferring an MySQL query into a Zabbix Graph

    Hi all,

    Wondering if someone can help.

    I want to create a graph in Zabbix 3.2 using data collected from an MySQL query.

    I've created a Userparameter in the zabbix_agentd.conf file and if I run a zabbix_get -s IP -k mysql.query I get the correct numerical value returned on my Zabbix server.

    What I can't seem to figure out is how to get the results of that zabbix_get command into Zabbix and then put the results into a Graph.

    I've tried creating an item and running the zabbix_get command but it keeps saying I've using the incorrect syntax.

    The other idea I had was the setup the command in a script, put it in the externalscript folder but I'm not sure that would work.

    What is the best way for me to do this?

    Thanks in advance
  • jamesh130
    Junior Member
    • Sep 2017
    • 19

    #2
    I've manged to work out how to do this now. Please ignore

    Comment

    Working...