I need to control hdd, ssd status by smart on hosts running Win7 (Win2008R2) OS. The solution offered by zabbix is based on agent2.
Starting from version 6.4.13, agent2 (msi, zip distributions, with or without encryption) does not support Win 7 OS (Win10 only). As I understand it, this is due to the Go compiler (from version 1.21 only supports Windows 10)
Well, OK, I installed 6.4.12, another problem appeared - when agent2 tries to parse a string like “/dev/csmi0,2” (received from smartctl), it crashes! I found this problem in issues (there is a bug in the regular expression template - a comma was not added), it has already been fixed, but apparently in versions newer than 6.4.12.
Such a problem - I can’t use the old version of the agent because of a problem in the code, and the new version too, because the win7 OS is not supported...
I tried to compile zabbix from sources (branch 6.4) according to the manual: when compiling zabbix sources, an error occurred - the header file pcre.h was not found (I did not find it in the pcre and pcre2 archives).
Is it worth trying to build zabbix from current sources with an old version of the Go compiler or not?
Or forget about agent2 and use the first (non-Go) version, write shell scripts to obtain data (configs with UserParameters, templates, etc.)?
The option using the first agent + smartctl (smartmontools) and obtaining data using shell (powershell) scripts is possible, but I wanted to get it out of the box)), and agent2 has a some of important features for me...
Starting from version 6.4.13, agent2 (msi, zip distributions, with or without encryption) does not support Win 7 OS (Win10 only). As I understand it, this is due to the Go compiler (from version 1.21 only supports Windows 10)
Well, OK, I installed 6.4.12, another problem appeared - when agent2 tries to parse a string like “/dev/csmi0,2” (received from smartctl), it crashes! I found this problem in issues (there is a bug in the regular expression template - a comma was not added), it has already been fixed, but apparently in versions newer than 6.4.12.
Such a problem - I can’t use the old version of the agent because of a problem in the code, and the new version too, because the win7 OS is not supported...
I tried to compile zabbix from sources (branch 6.4) according to the manual: when compiling zabbix sources, an error occurred - the header file pcre.h was not found (I did not find it in the pcre and pcre2 archives).
Is it worth trying to build zabbix from current sources with an old version of the Go compiler or not?
Or forget about agent2 and use the first (non-Go) version, write shell scripts to obtain data (configs with UserParameters, templates, etc.)?
The option using the first agent + smartctl (smartmontools) and obtaining data using shell (powershell) scripts is possible, but I wanted to get it out of the box)), and agent2 has a some of important features for me...
Comment