# Base profile that should only contain any items we want to provide for all profiles.

metric_tags:
  - OID: 1.3.6.1.2.1.1.5.0
    symbol: sysName
    tag: snmp_host
  - OID: 1.3.6.1.2.1.1.5.0
    symbol: sysName
    tag: device_hostname

metrics:
  # Prefer SNMP-FRAMEWORK-MIB (snmpEngineTime) as the primary uptime source.
  # It is reported in seconds and does not suffer from the ~497-day wrap
  # limitation of TimeTicks (uint32) used by hrSystemUptime/sysUpTime.
  # This makes it more reliable for long-running devices.
  # Note: this reflects SNMP engine uptime, which in practice usually
  # aligns with system uptime.
  # We keep the same metric name (systemUptime) so the fallback logic works.
  - MIB: SNMP-FRAMEWORK-MIB
    symbol:
      OID: 1.3.6.1.6.3.10.2.1.3.0
      name: systemUptime
      chart_meta:
        description: Time since the system was last rebooted or powered on.
        family: 'System/Uptime'
        unit: "s"
  - MIB: HOST-RESOURCES-MIB
    symbol:
      OID: 1.3.6.1.2.1.25.1.1.0
      name: systemUptime
      scale_factor: 0.01
      chart_meta:
        description: Time since the system was last rebooted or powered on.
        family: 'System/Uptime'
        unit: "s"
  - MIB: HOST-RESOURCES-MIB
    symbol:
      OID: 1.3.6.1.2.1.1.3.0
      name: systemUptime
      scale_factor: 0.01
      chart_meta:
        description: Time since the system was last rebooted or powered on.
        family: 'System/Uptime'
        unit: "s"

metadata:
  device:
    fields:
      name:
        symbol:
          OID: 1.3.6.1.2.1.1.5.0
          name: sysName
      description:
        symbol:
          OID: 1.3.6.1.2.1.1.1.0
          name: sysDescr
      sys_object_id:
        symbol:
          OID: 1.3.6.1.2.1.1.2.0
          name: sysObjectID
      location:
        symbol:
          OID: 1.3.6.1.2.1.1.6.0
          name: sysLocation
