Ad Widget

Collapse

suggestion: include() facility for conf file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sgbeal
    Junior Member
    • Oct 2009
    • 6

    #1

    suggestion: include() facility for conf file

    Hi, Zabbixers (Zabbixites? Zabbixians?)

    i have just been tasked with rolling out zabbix on about 50 Solaris machines (a mix of Sparc and x86), on which we will use a handful of custom UserParameter entries. It would be really helpful here if the agent config file had an include-like facility, such that we could do:

    include /etc/zabbix/my.conf

    (the exact syntax is not important, just the end effect.)

    Alternately, have the zabbix agent automatically include all config files from a certain directory (e.g. INSTALL_PREFIX/etc/zabbix/conf.d/.), in the same manner that the Debian "apt" tools automatically import all config files from /etc/apt/sources.list.d/.

    :-?
    Last edited by sgbeal; 07-10-2009, 17:35. Reason: minor typo correction
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    that is actually already supported - both individual files and directories.

    Include=/etc/zabbix/zabbix_agent.userparams.conf
    Include=/etc/zabbix/zabbix_agentd/

    same for server and proxy.
    Zabbix 3.0 Network Monitoring book

    Comment

    • sgbeal
      Junior Member
      • Oct 2009
      • 6

      #3
      doh, great . That makes my roll-out easier .

      Comment

      Working...