Ad Widget

Collapse

ZabbixW32 Update by vbs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RohrbaGe
    Senior Member
    • Aug 2005
    • 167

    #1

    ZabbixW32 Update by vbs

    Hi,

    I have written a small script to make the installation and update for the Windows client easier.
    Based is it on the idea to have a ftp server in the network, that has the actual ZabbixW32.exe.
    If the agent is already installed, it checks if a update is neccessary and does it.
    If the zabbix_agentd.conf file does not exists, it will create it and fill the actual hostname.

    In the InstallZabbixW32.ini file are the generel settings stored.
    So where the ini is and where the zabbixW32.exe is stored.

    Because of the limitation here for the file upload I added .txt.
    You have to remove it.


    Gerald
    Attached Files
  • edeus
    Senior Member
    • Aug 2005
    • 120

    #2
    Thanks Gerald,

    This script is perfect and works really well.

    I did however have problems using FTP as the transfer mechanism and the files kept coming out corrupted (even locally). So I thought about ssh/scp/rsync etc but ended up using HTTP to transfer the file.

    It is all inbuilt and doesn't require any 3rd party applications to transfer this way (following suit with your original script).

    In case anyone is interested here is my edited HTTP copy. The some of the FTP bits were removed but you may notice a bit of redundant variables in there still...

    Only config difference is that it uses UPDATEURL in the INI file. (which is a direct URL path)
    Attached Files

    Comment

    Working...