HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //usr/lib/netdata/conf.d/go.d/snmp.profiles/default/huawei-switches.yaml
extends:
  - huawei.yaml

sysobjectid:
  - 1.3.6.1.4.1.2011.2.23.343
  - 1.3.6.1.4.1.2011.2.23.606

metadata:
  device:
    fields:
      type:
        value: "Switch"

# https://mibbrowser.online/mibdb_search.php?mib=HUAWEI-STACK-MIB
# https://github.com/DanielleHuisman/observium-community-edition/blob/main/mibs/huawei/HUAWEI-STACK-MIB

metrics:
  - MIB: HUAWEI-STACK-MIB
    table:
      name: hwStackMemberInfoTable
      OID: 1.3.6.1.4.1.2011.5.25.183.1.20
    symbols:
      - name: huawei.hwMemberStackPriority
        OID: 1.3.6.1.4.1.2011.5.25.183.1.20.1.2
        chart_meta:
          description: Stack member's priority
          family: 'Hardware/Stack/Member/Priority/Value'
          unit: "{priority}"
      - OID: 1.3.6.1.4.1.2011.5.25.183.1.20.1.3
        name: huawei.hwMemberStackRole
        chart_meta:
          description: Current role of the stack member
          family: 'Hardware/Stack/Member/Role/Status'
          unit: "{status}"
        mapping:
          1: master
          2: standby
          3: slave
    metric_tags:
      - tag: huawei_hw_member_stack_mac_address
        symbol:
          name: huawei.hwMemberStackMacAddress
          OID: 1.3.6.1.4.1.2011.5.25.183.1.20.1.4
          format: mac_address
      - tag: huawei_hw_member_stack_device_type
        symbol:
          name: huawei.hwMemberStackDeviceType
          OID: 1.3.6.1.4.1.2011.5.25.183.1.20.1.5
      - tag: huawei_hw_member_stack_object_id
        symbol:
          name: huawei.hwMemberStackObjectId
          OID: 1.3.6.1.4.1.2011.5.25.183.1.20.1.7

  - MIB: HUAWEI-STACK-MIB
    table:
      name: hwStackPortTable
      OID: 1.3.6.1.4.1.2011.5.25.183.1.21
    symbols:
      - OID: 1.3.6.1.4.1.2011.5.25.183.1.21.1.5
        name: huawei.hwStackPortStatus
        chart_meta:
          description: Operational status of the stack port
          family: 'Hardware/Stack/Port/Status'
          unit: "{status}"
        mapping:
          1: up
          2: down
    metric_tags:
      - tag: huawei_hw_stack_port_name
        symbol:
          name: huawei.hwStackPortName
          OID: 1.3.6.1.4.1.2011.5.25.183.1.21.1.3