Ad Widget

Collapse

Manage custom scripts and userparameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbrackeva
    Junior Member
    • Feb 2016
    • 27

    #1

    Manage custom scripts and userparameters

    I'm currently testing Zabbix (version 3) as an alternative for monitoring a few hundred Linux servers. One concern I have is how to maintain the costum scripts and userparameter files on the servers (agent side). I can't really find a way to deploy changes to the agent's config from a central point. As we have a very flexible environment this is an important requirement.

    Example 1:
    • I have a file userparameter_custom.conf in the agent's folder /etc/zabbix/zabbix_agentd.d.
    • I need a new userparameter and have to add it to this file on every agent system
    • In addition I then have to restart every agent so it picks up the changes in the config file


    Example 2:
    • I have a custom script in the folder /etc/zabbix on every host
    • I need to make a change to this script and distribute it to all Zabbix agent hosts


    Is there a built-in way to do this? Or has anyone done this already?
  • zabbixfk
    Senior Member
    • Jun 2013
    • 256

    #2
    Not sure of any built-in way, but if you are looking at updating client ( your server) config's and restarting particular service ( zabbix_agent in this case), you may need to look at any configuration management tools like puppet/chef/cfengine - which would allow you to push configs for clients.

    Thanks

    Comment

    • mbrackeva
      Junior Member
      • Feb 2016
      • 27

      #3
      Yes, I feared that would be the answer. The monitoring framework we currently use includes remote management of scripts, parameters, ... making life a lot easier. Of course it costs an arm and a leg which is why we are looking at replacing part of it.
      We already have puppet in house, although not on every node. So I'll have a look at that.

      Tx for the reply!

      Comment

      • LenR
        Senior Member
        • Sep 2009
        • 1005

        #4
        Yes, puppet would be excellent. We template the agentd.conf, agentd.d files and scripts. Puppet can even restart the agent when changes need it :-)

        Now for windows.... I would like to use puppet as well, but it's not M$ so management won't go there. SCCM seems lacking, here at least.

        Comment

        Working...