SCRIPT: Upgrade Zabbix_Agent 2.x to 3.x

Monday, July 18, 2016

Upgrading Zabbix_Agent 2.x to 3.x via batch script This topic will show one method to upgrade Zabbix agent version 2.x to 3.x #1 Check if last version installed. Zabbix agent version 3.0.0.58455, file size is 433,644 bytes. So in this case, we check if current file size  Equal to 433,644 bytes,  If do - nothing to do. c: cd\ cd "Program Files\Zabbix Agent" dir | find "433,664 zabbix_agentd.exe" IF %errorlevel% ==0 GOTO END #2 Remove old ZabbixAgent version 2.x Remove old version in three stages: stop Zabbix agent service delete relevant files delete old files zabbix_agentd.exe -x zabbix_agentd.exe -d del *.* /Q #3 Copy ZabbixAgent version 3.x Copy relevant files: zabbix_agentd.exe zabbix_agentd.win.conf   A predefined file that include:   Server=My.Zabbix.Server ServerActive=My.Active.Zabbix.Server LogFile=c:\Program Files\Zabbix Agent\zabbix_agentd.log LogFileSize=10 DebugLevel=3 HostMetadata=Windows #4 Append Computer...
tags:
no comments

Zabbix Event: Free disk space is less than XX% on volume /boot

Wednesday, June 29, 2016

  Zabbix           Zabbix Event: Free disk space is less than XX% on volume /boot   My Zabbix system warns me with the following message: "Free disk space is less than XX% on volume /boot"   Background: Zabbix is enterprise open source monitoring software for networks and applications, . It is designed to monitor and track the status of various network services, servers, and other network hardware. My Zabbix 3.0 system running on Ubuntu Linux. to free up space  : sudo apt-get autoremove autoremove autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed. The auto-remove statement tells APT to remove...
no comments