Releasing script that installs zabbix agent without any hassle.
- Checks PowerShell version 3.0 or higher (Windows Only)
- Supports Self-Elevation (Windows Only)
- Detects OS and previous Zabbix agent files
- User-friendly installation process
- Added SSL & TLS support for secure downloads
- Supports x64 and x86 architectures (Windows Only)
- Prompts or accepts "Zabbix Server" IP address as a command line argument
- Automatic or specified hostname via command line (Windows Only)
- Organizes log files (Windows Only)
- Update & upgrade without changing config file (Windows Only)
- Supports both Agent & Agent2
- Remote Script Execution support (Windows Only)
To use command line arguments, simply provide the script name and the IP address.
Please note that Zabbix Agent Script requires a Windows, Ubuntu or CentOS operating system, depending on which platform you're using.
First grant executable permissions using chmod +x zabbix_agent_6.2.sh
To launch the script:
./zabbix_agent_6.0.sh
To set variables without prompting the user:
./zabbix_agent_6.0.sh 192.168.100.100
Guide for Zabbix_Agent_Script.ps1:
./Zabbix_Agent_Script.ps1
./Zabbix_Agent_Script.ps1 -agent <1 or 2 12 or 21> -version <6.0 or 6.2 or 6.4> -ip <IP_Address> -hostname <HostName> -saveConfig <Optional & Requires Only -agent and -version>"
Arguments -agent and -version are mandatory. If -saveConfig is not used, -ip is also mandatory, while -hostname is optional. When -saveConfig is used, only -agent and -version are required, assuming an active configuration file exists.
Note: If you encounter any errors while launching the script, try right-clicking and selecting "Run with Powershell".
This software is licensed under GPL-3.0
Made with ♥ by bygalacos