Ad Widget

Collapse

The handle could not be opened during redirection of handle 0.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BlouPhil
    Junior Member
    • Nov 2007
    • 12

    #1

    The handle could not be opened during redirection of handle 0.

    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!
  • BlouPhil
    Junior Member
    • Nov 2007
    • 12

    #2
    Full error i'm getting:

    Type of received value [The handle could not be opened
    during redirection of handle 0] is not sutable for [item@SERVER] having type [3]

    I still can't figure out what I'm doing wrong here

    Comment

    Working...