Ad Widget

Collapse

System variables in zabbix_agentd.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vrtareg
    Senior Member
    • May 2006
    • 293

    #1

    System variables in zabbix_agentd.conf

    Hi

    I am wondering if I can i use ${HOME} or any other custom defined variable in zabbix_agentd.conf for LoadModulePath and Include directives

    Regards,
    Areg
    Last edited by vrtareg; 24-06-2017, 11:50.
  • tutunak
    Member
    • Mar 2016
    • 32

    #2
    Originally posted by vrtareg
    Hi

    I am wondering if I can i use ${HOME} or any other custom defined variable in zabbix_agentd.conf for LoadModulePath and Include directives

    Regards,
    Areg

    Why you need this? I just interested in this practice purpose.

    Comment

    • vrtareg
      Senior Member
      • May 2006
      • 293

      #3
      Originally posted by tutunak
      Why you need this? I just interested in this practice purpose.
      Hu

      On servers we have home area minted from shared server.
      I have all binaries compiled and stored under the zabbix user home.

      Then I have a bunch of scripts which are copying that binaries and configuration files under the
      Code:
      /usr/local/zabbix
      one.

      Then in startup scripts defining new
      Code:
      ZABBIX_HOME
      variable for local home.

      This is allowing me to control configuration from shared home which is kept in source control too.

      Anything changes in shared home will be picked up by cron job some time of the day.

      Now I can control User Parameters scripts but not loaded libraries.

      Regards,
      Areg

      Comment

      Working...