Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7595

zabbix agent 6.0.2 cannot get system.hw.chassis[*] in HP server

    XMLWordPrintable

Details

    • New Feature Request
    • Status: Open
    • High
    • Resolution: Unresolved
    • 6.0.2
    • None
    • Agent2 plugin (N)
    • None
    • I can't get system.hw.chassis[*] using zabbix_get when zabbix_agent2 version is 6.0.2,but i using zabbix_agent version is 3.4.4 is fine。

    Description

      zabbix client:

      [[email protected] ~]# dmidecode -t 1

      1. dmidecode 3.1
        Getting SMBIOS data from sysfs.
        SMBIOS 2.8 present.

      Handle 0x0009, DMI type 1, 27 bytes
      System Information
              Manufacturer: HP
              Product Name: ProLiant DL380 Gen9
              Version: Not Specified
              Serial Number: 6CU630Y2B1
              UUID: 30393137-3136-4336-5536-333059324231
              Wake-up Type: Power Switch
              SKU Number: 719061-B21
              Family: ProLiant

      [[email protected] ~]# hostname -i
      10.174.18.196

      [[email protected] ~]# netstat -antup | grep zabbix
      tcp        0      0 0.0.0.0:20050           0.0.0.0:*               LISTEN      2769/./zabbix_agent 
      tcp6       0      0 :::20051                :::*                    LISTEN      26068/./zabbix_agen 

      [[email protected] ~]# ps -aux | egrep '2769|26068'
      root      2769  0.0  0.0  21020   760 ?        S    Mar23   0:00 ./zabbix_agentd
      root     26068  1.1  0.0 2795016 37300 ?       Sl   Mar28  48:38 ./zabbix_agent2
      root     32493  0.0  0.0 112712   984 pts/0    S+   18:01   0:00 grep -E --color=auto 2769|26068

      [[email protected] ~]# zabbix-3.4.4/sbin/zabbix_agentd -V
      zabbix_agentd (daemon) (Zabbix) 3.4.4
      Revision 74338 7 November 2017, compilation time: Nov  7 2019 14:27:01

      Copyright (C) 2017 Zabbix SIA
      License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
      This is free software: you are free to change and redistribute it according to
      the license. There is NO WARRANTY, to the extent permitted by law.

      [[email protected] ~]# zabbix-6.0.2/sbin/zabbix_agent2 -V
      zabbix_agent2 (Zabbix) 6.0.2
      Revision d726a4d916 14 March 2022, compilation time: Mar 16 2022 13:41:43

      Copyright (C) 2022 Zabbix SIA
      License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
      This is free software: you are free to change and redistribute it according to
      the license. There is NO WARRANTY, to the extent permitted by law.
      We use the library Eclipse Paho (eclipse/paho.mqtt.golang), which is
      distributed under the terms of the Eclipse Distribution License 1.0 (The 3-Clause BSD License)
      available at https://www.eclipse.org/org/documents/edl-v10.php

      We use the library go-modbus (goburrow/modbus), which is
      distributed under the terms of the 3-Clause BSD License
      available at https://github.com/goburrow/modbus/blob/master/LICENSE

       

      zabbix server:

      abnormal

      [[email protected] ~]# zabbix_get -s 10.174.18.196 -p 20051 -k "system.hw.chassis[model]"

      [[email protected] ~]# zabbix_get -s 10.174.18.196 -p 20051 -k "system.hw.chassis[serial]"
      Intel(R) Corporation
      [[email protected] ~]# zabbix_get -s 10.174.18.196 -p 20051 -k "system.hw.chassis[vendor]"
      ZBX_NOTSUPPORTED: Cannot obtain hardware information.

      normal

      [[email protected] ~]# zabbix_get -s 10.174.18.196 -p 20050 -k "system.hw.chassis[vendor]"

      HP
      [[email protected] ~]# zabbix_get -s 10.174.18.196 -p 20050 -k "system.hw.chassis[model]"
      ProLiant DL380 Gen9
      [[email protected] ~]# zabbix_get -s 10.174.18.196 -p 20050 -k "system.hw.chassis[serial]"
      6CU630Y2B1

      [[email protected] ~]# zabbix_get -V
      zabbix_get (Zabbix) 6.0.2
      Revision d726a4d916 14 March 2022, compilation time: Mar 14 2022 12:18:22

      Copyright (C) 2022 Zabbix SIA
      License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
      This is free software: you are free to change and redistribute it according to
      the license. There is NO WARRANTY, to the extent permitted by law.

      This product includes software developed by the OpenSSL Project
      for use in the OpenSSL Toolkit (http://www.openssl.org/).

      Compiled with OpenSSL 1.1.1g FIPS  21 Apr 2020
      Running with OpenSSL 1.1.1g FIPS  21 Apr 2020

      Attachments

        Activity

          People

            vjaceslavs Vjaceslavs Bogdanovs
            bisu1991 gaojian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: