Ad Widget

Collapse

zabbix_agentd -p throws mysql errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhowerter
    Junior Member
    • Sep 2013
    • 22

    #1

    zabbix_agentd -p throws mysql errors

    I'm just getting started with Zabbix; it looks like a great monitoring system. I installed an agent on a host, and tried out the zabbix_agentd -p command, to list all the items being monitored, and to my surprise, there are a lot! How did those get there? The host group for this host has 0 templates, so I expected to have to add templates or individually configured items to this group before it would start tracking any items. It also has some mysql checks that cause zabbix_agentd -p to throw errors about mysql not existing.
  • bhowerter
    Junior Member
    • Sep 2013
    • 22

    #2
    The -p option doesn't show just items being monitored, it shows all the items. The mysql items are actually configured as user parameters in userparameter_mysql.conf.

    Comment

    • Pada
      Senior Member
      • Apr 2012
      • 236

      #3
      The "-p" option will print all the values that the agent supports, even if there is no template(s) assigned to that particular host.

      If you've set a password for your root mysql user, then the Zabbix MySQL monitoring will fail, unless you change the configuration file on the host.

      If you want to test a single item, then use the "-t" option

      Comment

      Working...