Ad Widget

Collapse

Userparameter problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kryol
    Member
    • Feb 2011
    • 70

    #1

    Userparameter problem

    Hi,

    I have a problem with userparameters.

    E.g. I use a userparameter_mysql.conf with following parameters:
    Code:
    UserParameter=mysql.ping,mysqladmin ping | grep -c alive
    UserParameter=mysql.version,mysql -V
    I excluded rest of file to simplify question.

    After reboot zabbix can't find mysqladmin, mysql etc.

    But after manual restart of zabbix_agentd all works fine.

    I can specify full path of course but why agentd restart helps without this?

    How to resolve?

    Thanks.
  • mbsit
    Senior Member
    • Sep 2012
    • 130

    #2
    Hi
    Including a full path or export the PATH var is proper way.


    Bests,
    Grzegorz

    --
    Wdrożenia Zabbix - Warszawa
    Pozdrawiam
    Grzegorz Grabowski
    ____
    WdroĊĵenia, szkolenia, umowy serwisowe
    Warszawa - Polska

    Comment

    • Kryol
      Member
      • Feb 2011
      • 70

      #3
      Originally posted by mbsit
      Including a full path or export the PATH var is proper way.
      How to export PATH in conf files?

      My zabbix user is nologin

      Comment

      Working...