Ad Widget

Collapse

Auto Discovery - Only Linux Machines with MySQL installed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vintagegamingsystems
    Member
    • Jun 2013
    • 57

    #1

    Auto Discovery - Only Linux Machines with MySQL installed

    Red Hat Enterprise Linux Server Release 6.4 with Zabbix
    Zabbix Agent (daemon) v2.0.6
    Zabbix Frontend version 2.0.6
    MySQL Ver 14.14 Distrib 5.1.69

    I am attempting to have the Zabbix server only find hosts that have an operating system of Linux and a MySQL. I want to isolate my auto discovery to only those machines. I figured out how to auto discover just the Linux machines, by using the Check type "zabbix agent" like "system.uname". Yet, when I attempt to do the same thing with mysql.status or mysql.version, I do not get any hosts added based on them having MySQL.
    I have UserParameters that send the data to the Zabbix Server and everything is working fine in that respect.

    I don't think they are recognized by the zabbix_agent software on the host.

    When I run the command following command:
    # zabbix_agent -t mysql.status

    I get the the output:
    mysql.status [m|ZBX_NOTSUPPORTED]

    Yet, the values are getting to the zabbix server.

    Is there a way to send the returned value of the mysql.status or mysql.version to the zabbix server and then test it within the auto discovery action condition?

    Is it possible to use zabbix_sender or zabbix_get?
    Would I use the zabbix_sender command to send data to the zabbix server from the host? Or should I use zabbix_get from the zabbix_server?

    Many thanks to those who read this. Thanks.
  • vintagegamingsystems
    Member
    • Jun 2013
    • 57

    #2
    I fixed it.

    I checked the key mysql.ping and it found the host based on that discovery rule.

    Comment

    Working...