v-zhuravlev / zbx-smartctl

Templates and scripts for monitoring disks health with Zabbix and smartmontools
https://share.zabbix.com/storage-devices/smartmontools/smart-monitoring-with-smartmontools-lld
GNU General Public License v3.0
245 stars 127 forks source link

Discovery script does not have "execute" permissions in Debian package #27

Closed kyllingstad closed 7 years ago

kyllingstad commented 7 years ago

When I build and install the Debian package, /etc/zabbix/scripts/smartctl-disks-discovery.pl gets permissions 0644, and is therefore not runnable by zabbix-agent.

kosfango commented 7 years ago

Seem, you need to do: chown -R zabbix:zabbix /etc/zabbix/scripts and chmod 750 (or 700) -R /etc/zabbix/scripts

In any case, git support "mark file as executable" feature