zabbix-smartmontools icon indicating copy to clipboard operation
zabbix-smartmontools copied to clipboard

scripts work within seconds but zabbix agent reports timeout

Open bschwand opened this issue 8 months ago • 8 comments

Describe the problem I am setting up zabbix-smartmontools on FreeBSD14 with zabbix7 and the agent always reports a timeout on executing the script, although timeout is already set to 30 and the script runs fast in testing.

To Reproduce install as explained in README.md change paths to python and config files in all scripts and configure files. (/usr/local/etc/zabbix7 ...) run on client and server the test commands as detailed in README.me (this succeeds and returns in 8 seconds) agent and server configuration Timeout are set to 30 in their respective conf files

Expected behavior The disks smart info is discovered. Instead, this appears on the agent log file

15372:20240620:212435.750 Failed to execute command " PATH=/usr/local/sbin:/usr/local/bin "/usr/local/etc/zabbix7/scripts/smartctl-lld.py" "get" "Zabbix server"": Timeout while executing a shell script.

Provide all outputs described in Testing step client.log get.log getverb.log

Please complete the following information:

  • OS: FreeBSD 14.0
  • Zabbix server version: 7.0
  • Active or passive check: [Passive]
  • Using zabbix proxy: [No proxy]

bschwand avatar Jun 20 '24 19:06 bschwand