Hello,
I am currently trying to get some custom trigger working on Windows 2003...
I want to check the status of a hard disk using SMART
The tool used is smartmontools, along with some Unixutils
I've wrote a batch file, when executed from cmd works fine; if the result is PASSED, it will echo 1, 0 if failed...
C:\zabbix\smartdrivecheck>smartdrivecheck.bat
1
C:\zabbix>zabbix_agentd.exe --config zabbix_agentd.conf -t disk.smart
disk.smart [t|1]
zabbix_agentd.exe is at version 1.4.4, latest Win32 build available on Zabbix.com
The problem is with the Item. I cannot get the value to display in Latest Data, it always returns something I cannot understand:
Type of received value [The handle could not be opened during redirection of handle 0. ] is not sutable for [disk.smart@MYSERVER] h
Any ideas?
Thanks!
I am currently trying to get some custom trigger working on Windows 2003...
I want to check the status of a hard disk using SMART
The tool used is smartmontools, along with some Unixutils
I've wrote a batch file, when executed from cmd works fine; if the result is PASSED, it will echo 1, 0 if failed...
C:\zabbix\smartdrivecheck>smartdrivecheck.bat
1
C:\zabbix>zabbix_agentd.exe --config zabbix_agentd.conf -t disk.smart
disk.smart [t|1]
zabbix_agentd.exe is at version 1.4.4, latest Win32 build available on Zabbix.com
The problem is with the Item. I cannot get the value to display in Latest Data, it always returns something I cannot understand:
Type of received value [The handle could not be opened during redirection of handle 0. ] is not sutable for [disk.smart@MYSERVER] h
Any ideas?
Thanks!
Comment