Ad Widget

Collapse

Can't get user parameter to work in zabbix 3.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abdul
    Junior Member
    • May 2020
    • 4

    #1

    Can't get user parameter to work in zabbix 3.4

    0

    I just set up zabbix today on my local machine. I might be missing something trivial but I can't get my user parameter to work in zabbix 3.4

    There already seemed to be mysql user parameters in
    HTML Code:
     [CODE]/etc/zabbix/zabbix_agentd.d/userparameter_mysql.conf[/CODE]
    . I just changed that file to add a custom parameter at the end of the file like so

    Code:
    UserParameter=mysql.abc,mysql -V
    Restarted the zabbix agent but don't see the parameter making it to zabbix. See the rest of the user parameters defined in that file in zabbix though.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    You've defined a new (custom) item named mysql.abc, but have you actually added that item to your local machine's list of items that Zabbix will collect? Zabbix collects data on a set of items that are associated with the host. If you haven't added 'mysql.abc' as an item for that host, then the zabbix-agent knows about the item, but it's not been told to collect data for the item.

    Also, if you're just starting with Zabbix, 3.4 is quite old. You would probably be better off starting with a long-term support (LTS) release, like 4.0 or the very recent 5.0.

    Comment

    Working...