Ad Widget

Collapse

Advice on location of zabbix agent configuration files and scripts.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kiwijaffa
    Junior Member
    • Oct 2018
    • 1

    #1

    Advice on location of zabbix agent configuration files and scripts.

    I'm about to embark on setting up Zabbix in production on around 500 Windows hosts and was wondering about whether storing the agent configuration files and scripts for user parameters in a central location (SMB share) is a good idea or not? I want to avoid having to copy custom scripts to some servers and not others, the scripts would only be called if needed and having one place to update them seems like a good idea. The part I'm not sure about is how highly available this smb share has to be? I'm thinking here about our monthly patching.what happens if the share is offline for 10 minutes? Do currently running agents just keep working? What happens to scripts that may be referenced? We have SCCM that i could leverage to manage the configuration and scripts but it seems this solution if viable would be simpler to maintain.

    Thanks in advance,

    Robert
  • LenR
    Senior Member
    • Sep 2009
    • 1005

    #2
    Windows agent's configuration using network resources has been one of our biggest problems. If we have no smb reference, no problems. Our windows admins use a powershell script to resolve hostname and it will cause the agent to fail to start at reboot. They also have "include" pointing to smb, which also causes problems. Once the zabbix agent is running, the smb shares don't seem to cause problems. Our smb server is an enterprise class appliance that is supposed to be highly available.

    We do not have these problems on Linux because the same puppet that configures our systems configures our zabbix config files. If our linux admins want to add a userparameter, they deploy that change to puppet, which deploys the changes and restarts zabbix agents.

    IMHO, use a DSC (Defined State Configuration) tool to maintain and ensure configurations, including zabbix things.

    Comment


    • kiwijaffa
      kiwijaffa commented
      Editing a comment
      Thanks for the insight. I've been running about 20 hosts using a shared config file and scripts located on an smb share so far without incident but I'll take on board what you have said. I was considering setting up samba on the Zabbix host and sharing the files from there as it will in theory always be up.
Working...