Ad Widget

Collapse

Zbx_notsupported

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • uknet80
    Member
    • Apr 2010
    • 55

    #1

    Zbx_notsupported

    Hi all,

    I have added a command to zabbix_agentd, for testing, i even added it out parameters which is:

    UserParameter=mysql.version,mysql -V --user=root --password=password

    I issued:
    zabbix_agentd -t mysql.version

    got this:
    mysql.version [m|ZBX_NOTSUPPORTED]

    any idea why is that, it looks like i am not connecting to zabbix_agentd?
  • untergeek
    Senior Member
    Zabbix Certified Specialist
    • Jun 2009
    • 512

    #2
    Typically, UserParameter based things are not locally testable with the -t flag.

    Try using zabbix_get from a remote machine, the Zabbix Server in particular.

    zabbix_get -s (host with UserParm) -k mysql.version

    That will connect to the server defined by -s and try to get the value associated with the key defined by -k.

    Comment

    • uknet80
      Member
      • Apr 2010
      • 55

      #3
      Originally posted by untergeek
      Typically, UserParameter based things are not locally testable with the -t flag.

      Try using zabbix_get from a remote machine, the Zabbix Server in particular.

      zabbix_get -s (host with UserParm) -k mysql.version

      That will connect to the server defined by -s and try to get the value associated with the key defined by -k.

      thank you your suggestion solved the problem.

      Comment

      • untergeek
        Senior Member
        Zabbix Certified Specialist
        • Jun 2009
        • 512

        #4
        You're welcome!

        I can't tell you how long it took me to figure that out. I just knew that I was getting results and that -t just didn't seem to work. Discovering zabbix_get was a beautiful thing.

        Comment

        Working...