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: //proc/self/root/usr/lib/netdata/conf.d/go.d/snmp.profiles/default/dlink-dgs-switch.yaml
extends:
  - dlink.yaml

sysobjectid:
  - 1.3.6.1.4.1.171.10.137.*
  - 1.3.6.1.4.1.171.10.137.1.1

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

#  - DLINKSW-ENTITY-EXT-MIB
#   https://mibbrowser.online/mibdb_search.php?mib=DLINKSW-ENTITY-EXT-MIB
#   https://github.com/librenms/librenms/blob/master/mibs/dlink/DLINKSW-ENTITY-EXT-MIB

metrics:
  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtCpuUtilTable
      OID: 1.3.6.1.4.1.171.14.5.1.7
    symbols:
      - name: cpu.usage
        OID: 1.3.6.1.4.1.171.14.5.1.7.1.3 # dEntityExtCpuUtilFiveSeconds
        chart_meta:
          description: The current CPU utilization
          family: 'System/CPU/Usage'
          unit: "%"
    metric_tags:
      - tag: dlink_entity_ext_cpu_util_unit_id
        symbol:
          OID: 1.3.6.1.4.1.171.14.5.1.7.1.1
          name: dEntityExtCpuUtilUnitId
      - tag: dlink_entity_ext_cpu_util_cpu_id
        symbol:
          OID: 1.3.6.1.4.1.171.14.5.1.7.1.2
          name: dEntityExtCpuUtilCpuID

  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtMemoryUtilTable
      OID: 1.3.6.1.4.1.171.14.5.1.4
    symbols:
      - name: memory.total
        OID: 1.3.6.1.4.1.171.14.5.1.4.1.3
        chart_meta:
          description: Total memory size of the entry
          family: 'System/Memory/Total'
          unit: "By"
      - name: memory.used
        OID: 1.3.6.1.4.1.171.14.5.1.4.1.4
        chart_meta:
          description: Used memory size of the entry
          family: 'System/Memory/Used'
          unit: "By"
    metric_tags:
      - tag: mem
        symbol:
          name: dEntityExtMemUtilUnitId
          OID: 1.3.6.1.4.1.171.14.5.1.4.1.1
      - tag: d_entity_ext_mem_util_type
        symbol:
          name: dEntityExtMemUtilType
          OID: 1.3.6.1.4.1.171.14.5.1.4.1.2
        mapping:
          1: dram
          2: flash
          3: nvram

  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtEnvTempTable
      OID: 1.3.6.1.4.1.171.14.5.1.1.1
    symbols:
      - name: dlink.dEntityExtEnvTempCurrent
        OID: 1.3.6.1.4.1.171.14.5.1.1.1.1.4
        chart_meta:
          description: Current measurement of the testpoint
          family: 'Hardware/Sensor/Temperature/Value'
          unit: "Cel"
      - OID: 1.3.6.1.4.1.171.14.5.1.1.1.1.7
        name: dEntityExtEnvTempStatus
        chart_meta:
          description: Current status of the testpoint
          family: 'Hardware/Sensor/Temperature/Status'
          unit: "{status}"
        mapping:
          1: ok
          2: abnormal
    metric_tags:
      - tag: d_entity_ext_env_temp_unit_id
        symbol:
          name: dEntityExtEnvTempUnitId
          OID: 1.3.6.1.4.1.171.14.5.1.1.1.1.1
      - tag: d_entity_ext_env_temp_index
        symbol:
          name: dEntityExtEnvTempIndex
          OID: 1.3.6.1.4.1.171.14.5.1.1.1.1.2
      - tag: d_entity_ext_env_temp_descr
        symbol:
          name: dEntityExtEnvTempDescr
          OID: 1.3.6.1.4.1.171.14.5.1.1.1.1.3

  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtEnvFanTable
      OID: 1.3.6.1.4.1.171.14.5.1.1.2
    symbols:
      - OID: 1.3.6.1.4.1.171.14.5.1.1.2.1.4
        name: dEntityExtEnvFanStatus
        chart_meta:
          description: Current status of the fan
          family: 'Hardware/Fan/Status'
          unit: "{status}"
        mapping:
          1: ok
          2: fault
    metric_tags:
      - tag: d_entity_ext_env_fan_unit_id
        symbol:
          name: dEntityExtEnvFanUnitId
          OID: 1.3.6.1.4.1.171.14.5.1.1.2.1.1
      - tag: d_entity_ext_env_fan_index
        symbol:
          name: dEntityExtEnvFanIndex
          OID: 1.3.6.1.4.1.171.14.5.1.1.2.1.2
      - tag: d_entity_ext_env_fan_descr
        symbol:
          name: dEntityExtEnvFanDescr
          OID: 1.3.6.1.4.1.171.14.5.1.1.2.1.3

  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtEnvPowerTable
      OID: 1.3.6.1.4.1.171.14.5.1.1.3
    symbols:
      - name: dlink.dEntityExtEnvPowerUsedPower
        OID: 1.3.6.1.4.1.171.14.5.1.1.3.1.4
        chart_meta:
          description: Amount of the power that has been allocated
          family: 'Hardware/Power/Usage/Current'
          unit: "W"
      - name: dlink.dEntityExtEnvPowerMaxPower
        OID: 1.3.6.1.4.1.171.14.5.1.1.3.1.5
        chart_meta:
          description: Maximum power which the power module can supply
          family: 'Hardware/Power/Capacity/Maximum'
          unit: "W"
      - OID: 1.3.6.1.4.1.171.14.5.1.1.3.1.6
        name: dEntityExtEnvPowerStatus
        chart_meta:
          description: Current status of the power
          family: 'Hardware/Power/Status'
          unit: "{status}"
        mapping:
          1: in_operation
          2: failed
          3: empty
    metric_tags:
      - tag: d_entity_ext_env_power_unit_id
        symbol:
          name: dEntityExtEnvPowerUnitId
          OID: 1.3.6.1.4.1.171.14.5.1.1.3.1.1
      - tag: d_entity_ext_env_power_index
        symbol:
          name: dEntityExtEnvPowerIndex
          OID: 1.3.6.1.4.1.171.14.5.1.1.3.1.2
      - tag: d_entity_ext_env_power_descr
        symbol:
          name: dEntityExtEnvPowerDescr
          OID: 1.3.6.1.4.1.171.14.5.1.1.3.1.3

  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtEnvAirFlowTable
      OID: 1.3.6.1.4.1.171.14.5.1.1.4
    symbols:
      - OID: 1.3.6.1.4.1.171.14.5.1.1.4.1.2
        name: dEntityExtEnvAirFlowStatus
        chart_meta:
          description: Current status of the air flow
          family: 'Hardware/Sensor/Airflow/Status'
          unit: "{status}"
        mapping:
          1: ok
          2: abnormal
    metric_tags:
      - symbol:
          name: dEntityExtEnvAirFlowUnitId
          OID: 1.3.6.1.4.1.171.14.5.1.1.4.1.1
        tag: d_entity_ext_env_air_flow_unit_id


  - MIB: DLINKSW-ENTITY-EXT-MIB
    table:
      name: dEntityExtUnitTable
      OID: 1.3.6.1.4.1.171.14.5.1.3
    symbols:
      - OID: 1.3.6.1.4.1.171.14.5.1.3.1.2
        name: dEntityExtUnitStatus
        chart_meta:
          description: Current status of the unit
          family: 'Hardware/Unit/Status'
          unit: "{status}"
        mapping:
          1: ok
          2: failed
          3: empty
    metric_tags:
      - tag: d_entity_ext_unit_index
        symbol:
          name: dEntityExtUnitIndex
          OID: 1.3.6.1.4.1.171.14.5.1.3.1.1