a-schild/zabbix-ssl

scripts not working in Alpine Linux

magiruuvelvet opened this issue · 4 comments

All results are empty, only the "simple" check works. Which renders this plugin useless in the official Alpine Linux based docker container.

I will try to fix this myself and maybe make a pull request if it doesn't break on other distros.

I found the issue. It's the timeout command from the busybox binary. It requires the -t switch before the seconds. This breaks on literally every other distro.

I will just leave this issue open in case other people suffer from the same problem.

Where do you have seen a reference to busybox?

on Alpine Linux the timeout command resolves to busybox

bash-4.4# which timeout
/usr/bin/timeout
bash-4.4# readlink /usr/bin/timeout
/bin/busybox
bash-4.4# 

I added a note about this in the readme file.
Thanks for reporting