Closed tifredfr closed 6 years ago
Confirmed.
Btw, how your disks are called?
ls -lah /dev/disk*
@v-zhuravlev The fix works for me :)
` { "data":[
{
"{#DISKNAME}":"disk0 ",
"{#SMART_ENABLED}":"0"
},
{
"{#DISKNAME}":"disk1 ",
"{#SMART_ENABLED}":"0"
}
]
}`
Hi,
I get the following error when I test the command under macOS 10.12.6 :
sudo -u zabbix ./smartctl-disks-discovery.pl
Can't use string ("disk0") as a HASH ref while "strict refs" in use at ./smartctl-disks-discovery.pl line 61.
Thx ;)