Ad Widget

Collapse

SMART, LLD & Not supported by Zabbix agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maaboo
    Junior Member
    • Sep 2014
    • 17

    #1

    SMART, LLD & Not supported by Zabbix agent

    I want to monitor SMART via LLD (Low Level Discovery). I found this article and did it as they wrote.

    Here is the answer from zaggix_get:

    Code:
    root@zabbix-server:/usr/bin# zabbix_get -s 192.168.99.22 -p 10050 -k "uHDD.discovery"
    {
            "data":[
    
            {
                    "{#DISKNAME}":"dm-0",
                    "{#SMART_ENABLED}":"0"
            }
            ,
            {
                    "{#DISKNAME}":"md0",
                    "{#SMART_ENABLED}":"0"
            }
            ,
            {
                    "{#DISKNAME}":"md1",
                    "{#SMART_ENABLED}":"0"
            }
            ,
            {
                    "{#DISKNAME}":"md2",
                    "{#SMART_ENABLED}":"0"
            }
            ,
            {
                    "{#DISKNAME}":"md3",
                    "{#SMART_ENABLED}":"0"
            }
            ,
            {
                    "{#DISKNAME}":"sda",
                    "{#SMART_ENABLED}":"1"
            }
            ,
            {
                    "{#DISKNAME}":"sdb",
                    "{#SMART_ENABLED}":"1"
            }
    
            ]
    }
    So I see that key is working. Also I see sda, sdb and other disks in the Host Info (see attach). But Zabbix tells me "Not supported by Zabbix agent".

    Agent version is Zabbix agent v2.0.3 @ SUSE Linux Enterprise Server 11 (x86_64)
    Attached Files
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    Haven't taken a look at the article you mentioned.
    But did you have taken a look at the agent log yet?

    Try to investigate why the agent does not support the user parameter. For testing purposes it might be more convenient to issue this command directly on the the host the agent resides on:
    Code:
    # sudo -u zabbix zabbix_agentd -t 'uHDD.health.[sda]'
    Ad-hoc I'd suggest to double check access and execute permission to paths respectively executables.
    E.g when this does the job (executed as root) it's likely to be an permission issue:
    Code:
    # zabbix_agentd -t 'uHDD.health.[sda]'

    Comment

    Working...