Ad Widget

Collapse

Managing a Large Number of Remote Scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ngbs
    Junior Member
    • Aug 2013
    • 1

    #1

    Managing a Large Number of Remote Scripts

    I am working on configuring Zabbix to monitor a large, multi-layer application that my company is developing.

    In order to monitor certain aspects of the application, I've had to write a large number of scripts that are executed locally by the agents.

    In some cases, the application will be installed locally at a client's site.

    I'm having a difficult time figuring out how to best manage the scripts.

    If I host the scripts in a single location, installs at a client's site will have a difficult time accessing the scripts.

    If I copy the scripts locally, I will have a hard time maintaining the scripts as they get updated.

    I'm curious, for those of you that may have similar environments, how have you managed scripts?
  • krishopper
    Junior Member
    • Aug 2013
    • 6

    #2
    You may wish to use a process like rsync or some kind of file distribution method to push out/sync scripts.

    We use CFengine on our network to push things out to client machines, but they are our own machines and not customer machines, so not sure if that matters in your implementation.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      There are number of ways.

      First of all group your scripts by files and use 'Include=' directive. Also you may keep the scripts on a common shared storage if it is available, use configuration management system or a simple cron job to rsync/scp/etc the scripts from a central location.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      Working...