Ad Widget

Collapse

An error in thw web UI that does not exist in a zabbix_get command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bcnx
    Junior Member
    • Jan 2011
    • 19

    #1

    An error in thw web UI that does not exist in a zabbix_get command

    Hi,

    this concerns the Adaptec RAID controller in https://github.com/nikimaxim/zbx-raid-controller.

    An item in this template works on a Windows host, this is the used command and output:

    C:\Program Files\Zabbix Agent 2>zabbix_agent2.exe -c zabbix_agent2.conf -t adaptec.raid[health,pd,1,0]
    adaptec.raid[health,pd,1,0] [s|Online]

    A test with zabbix_get is also working:

    root@MON01:/install/zabbix# zabbix_get -s 10.152.104.10 -k adaptec.raid[health,pd,1,0] --tls-connect=psk --tls-psk-identity=ULBPSKBLANPAINSERVER --tls-psk-file=/install/zabbix/BLANPAINSERVER.psk
    Online

    However, the data in the web UI remain empty. When I "Execute now" the item in the web UI, I get:

    Details Cannot send request
    Cannot send request: wrong item type.

    How can this difference be there?

    Let me know if you need more data. Zabbix version is 5.4.10,

    Cheers,

    BC
    Last edited by bcnx; 29-07-2022, 14:02.
  • bcnx
    Junior Member
    • Jan 2011
    • 19

    #2
    I found the problem, seems that the template uses active checks in stead of normal one. The error message in the web UI is not really intuitive, resulting into me not getting the real problem immediately.

    Comment

    Working...