Giter VIP home page Giter VIP logo

Comments (4)

darkdrgn2k avatar darkdrgn2k commented on June 3, 2024
cat <<"EOF"> /etc/systemd/system/snmp-exporter.service
[Unit]
Description=SNMP Exporter Server daemon
Wants=network.target
After=network.target

[Service]
WorkingDirectory=/opt/prometheus
Type=simple
ExecStart=/opt/prometheus/snmp_exporter
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=on-failure
RestartSec=10s

[Install]
WantedBy=multi-user.target
EOF

systemctl enable snmp-exporter
systemctl start snmp-exporter
cat <<"EOF">/opt/prometheus/snmp.yml
ubiquiti_airmax:
  walk:
  - 1.3.6.1.2.1.2
#  - 1.3.6.1.2.1.31.1.1
  - 1.3.6.1.4.1.41112.1.4
  get:
  - 1.3.6.1.2.1.1.3.0
  metrics:
  - name: sysUpTime
    oid: 1.3.6.1.2.1.1.3
    type: gauge
    help: The time (in hundredths of a second) since the network management portion
      of the system was last re-initialized. - 1.3.6.1.2.1.1.3
  - name: ifSpeed
    oid: 1.3.6.1.2.1.2.2.1.5
    type: gauge
    help: An estimate of the interface's current bandwidth in bits per second - 1.3.6.1.2.1.2.2.1.5
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInOctets
    oid: 1.3.6.1.2.1.2.2.1.10
    type: counter
    help: The total number of octets received on the interface, including framing
      characters - 1.3.6.1.2.1.2.2.1.10
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.11
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were not addressed to a multicast or broadcast address at this sub-layer
      - 1.3.6.1.2.1.2.2.1.11
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInNUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.12
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were addressed to a multicast or broadcast address at this sub-layer -
      1.3.6.1.2.1.2.2.1.12
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInDiscards
    oid: 1.3.6.1.2.1.2.2.1.13
    type: counter
    help: The number of inbound packets which were chosen to be discarded even though
      no errors had been detected to prevent their being deliverable to a higher-layer
      protocol - 1.3.6.1.2.1.2.2.1.13
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInErrors
    oid: 1.3.6.1.2.1.2.2.1.14
    type: counter
    help: For packet-oriented interfaces, the number of inbound packets that contained
      errors preventing them from being deliverable to a higher-layer protocol - 1.3.6.1.2.1.2.2.1.14
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInUnknownProtos
    oid: 1.3.6.1.2.1.2.2.1.15
    type: counter
    help: For packet-oriented interfaces, the number of packets received via the interface
      which were discarded because of an unknown or unsupported protocol - 1.3.6.1.2.1.2.2.1.15
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutOctets
    oid: 1.3.6.1.2.1.2.2.1.16
    type: counter
    help: The total number of octets transmitted out of the interface, including framing
      characters - 1.3.6.1.2.1.2.2.1.16
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.17
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were not addressed to a multicast or broadcast address at this sub-layer,
      including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.17
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutNUcastPkts
    oid: 1.3.6.1.2.1.2.2.1.18
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were addressed to a multicast or broadcast address at this sub-layer,
      including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.18
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutDiscards
    oid: 1.3.6.1.2.1.2.2.1.19
    type: counter
    help: The number of outbound packets which were chosen to be discarded even though
      no errors had been detected to prevent their being transmitted - 1.3.6.1.2.1.2.2.1.19
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutErrors
    oid: 1.3.6.1.2.1.2.2.1.20
    type: counter
    help: For packet-oriented interfaces, the number of outbound packets that could
      not be transmitted because of errors - 1.3.6.1.2.1.2.2.1.20
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutQLen
    oid: 1.3.6.1.2.1.2.2.1.21
    type: gauge
    help: The length of the output packet queue (in packets). - 1.3.6.1.2.1.2.2.1.21
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifSpecific
    oid: 1.3.6.1.2.1.2.2.1.22
    type: OctetString
    help: A reference to MIB definitions specific to the particular media being used
      to realize the interface - 1.3.6.1.2.1.2.2.1.22
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifName
    oid: 1.3.6.1.2.1.31.1.1.1.1
    type: DisplayString
    help: The textual name of the interface - 1.3.6.1.2.1.31.1.1.1.1
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.2
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.2
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifInBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.3
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.3
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.4
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were addressed to a multicast address at this sub-layer, including
      those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.4
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifOutBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.5
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were addressed to a broadcast address at this sub-layer, including
      those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.5
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCInOctets
    oid: 1.3.6.1.2.1.31.1.1.1.6
    type: counter
    help: The total number of octets received on the interface, including framing
      characters - 1.3.6.1.2.1.31.1.1.1.6
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCInUcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.7
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were not addressed to a multicast or broadcast address at this sub-layer
      - 1.3.6.1.2.1.31.1.1.1.7
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCInMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.8
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.8
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCInBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.9
    type: counter
    help: The number of packets, delivered by this sub-layer to a higher (sub-)layer,
      which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.9
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCOutOctets
    oid: 1.3.6.1.2.1.31.1.1.1.10
    type: counter
    help: The total number of octets transmitted out of the interface, including framing
      characters - 1.3.6.1.2.1.31.1.1.1.10
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCOutUcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.11
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were not addressed to a multicast or broadcast address at this sub-layer,
      including those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.11
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCOutMulticastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.12
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were addressed to a multicast address at this sub-layer, including
      those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.12
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifHCOutBroadcastPkts
    oid: 1.3.6.1.2.1.31.1.1.1.13
    type: counter
    help: The total number of packets that higher-level protocols requested be transmitted,
      and which were addressed to a broadcast address at this sub-layer, including
      those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.13
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ifLinkUpDownTrapEnable
    oid: 1.3.6.1.2.1.31.1.1.1.14
    type: gauge
    help: Indicates whether linkUp/linkDown traps should be generated for this interface
      - 1.3.6.1.2.1.31.1.1.1.14
    indexes:
    - labelname: ifIndex
      type: gauge
    enum_values:
      1: enabled
      2: disabled
  - name: ifHighSpeed
    oid: 1.3.6.1.2.1.31.1.1.1.15
    type: gauge
    help: An estimate of the interface's current bandwidth in units of 1,000,000 bits
      per second - 1.3.6.1.2.1.31.1.1.1.15
    indexes:
    - labelname: ifIndex
      type: gauge
  - name: ubntGpsStatus
    oid: 1.3.6.1.4.1.41112.1.4.9.1
    type: gauge
    help: GPS status - 1.3.6.1.4.1.41112.1.4.9.1
    enum_values:
      0: absent
      1: "off"
      2: "on"
  - name: ubntGpsFix
    oid: 1.3.6.1.4.1.41112.1.4.9.2
    type: gauge
    help: GPS Fix Obtained - 1.3.6.1.4.1.41112.1.4.9.2
    enum_values:
      0: unknown
      1: nofix
      2: fix2d
      3: fix3d
  - name: ubntGpsLat
    oid: 1.3.6.1.4.1.41112.1.4.9.3
    type: DisplayString
    help: GPS Latitude - 1.3.6.1.4.1.41112.1.4.9.3
  - name: ubntGpsLon
    oid: 1.3.6.1.4.1.41112.1.4.9.4
    type: DisplayString
    help: GPS Longitude - 1.3.6.1.4.1.41112.1.4.9.4
  - name: ubntGpsAltMeters
    oid: 1.3.6.1.4.1.41112.1.4.9.5
    type: DisplayString
    help: GPS Altitude (m) - 1.3.6.1.4.1.41112.1.4.9.5
  - name: ubntGpsAltFeet
    oid: 1.3.6.1.4.1.41112.1.4.9.6
    type: DisplayString
    help: GPS Altitude (ft) - 1.3.6.1.4.1.41112.1.4.9.6
  - name: ubntGpsSatsVisible
    oid: 1.3.6.1.4.1.41112.1.4.9.7
    type: gauge
    help: GPS Satellites Visible - 1.3.6.1.4.1.41112.1.4.9.7
  - name: ubntGpsSatsTracked
    oid: 1.3.6.1.4.1.41112.1.4.9.8
    type: gauge
    help: GPS Satellites Tracked - 1.3.6.1.4.1.41112.1.4.9.8
  - name: ubntGpsHDOP
    oid: 1.3.6.1.4.1.41112.1.4.9.9
    type: DisplayString
    help: GPS Horizontal Dilution of Precision - 1.3.6.1.4.1.41112.1.4.9.9
  - name: ubntRadioIndex
    oid: 1.3.6.1.4.1.41112.1.4.1.1.1
    type: gauge
    help: Index for the ubntRadioTable - 1.3.6.1.4.1.41112.1.4.1.1.1
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioMode
    oid: 1.3.6.1.4.1.41112.1.4.1.1.2
    type: gauge
    help: Radio mode - 1.3.6.1.4.1.41112.1.4.1.1.2
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
    enum_values:
      1: sta
      2: ap
      3: aprepeater
      4: apwds
  - name: ubntRadioCCode
    oid: 1.3.6.1.4.1.41112.1.4.1.1.3
    type: gauge
    help: Country code - 1.3.6.1.4.1.41112.1.4.1.1.3
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioFreq
    oid: 1.3.6.1.4.1.41112.1.4.1.1.4
    type: gauge
    help: Operating frequency - 1.3.6.1.4.1.41112.1.4.1.1.4
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioDfsEnabled
    oid: 1.3.6.1.4.1.41112.1.4.1.1.5
    type: gauge
    help: DFS status - 1.3.6.1.4.1.41112.1.4.1.1.5
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntRadioTxPower
    oid: 1.3.6.1.4.1.41112.1.4.1.1.6
    type: gauge
    help: Transmit power - 1.3.6.1.4.1.41112.1.4.1.1.6
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioDistance
    oid: 1.3.6.1.4.1.41112.1.4.1.1.7
    type: gauge
    help: Distance - 1.3.6.1.4.1.41112.1.4.1.1.7
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioChainmask
    oid: 1.3.6.1.4.1.41112.1.4.1.1.8
    type: gauge
    help: Chainmask - 1.3.6.1.4.1.41112.1.4.1.1.8
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioAntenna
    oid: 1.3.6.1.4.1.41112.1.4.1.1.9
    type: DisplayString
    help: Antenna - 1.3.6.1.4.1.41112.1.4.1.1.9
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
  - name: ubntRadioRssiIndex
    oid: 1.3.6.1.4.1.41112.1.4.2.1.1
    type: gauge
    help: Index for the ubntRadioRssiTable - 1.3.6.1.4.1.41112.1.4.2.1.1
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
    - labelname: ubntRadioRssiIndex
      type: gauge
  - name: ubntRadioRssi
    oid: 1.3.6.1.4.1.41112.1.4.2.1.2
    type: gauge
    help: Data frames rssi per chain - 1.3.6.1.4.1.41112.1.4.2.1.2
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
    - labelname: ubntRadioRssiIndex
      type: gauge
  - name: ubntRadioRssiMgmt
    oid: 1.3.6.1.4.1.41112.1.4.2.1.3
    type: gauge
    help: Management frames rssi per chain - 1.3.6.1.4.1.41112.1.4.2.1.3
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
    - labelname: ubntRadioRssiIndex
      type: gauge
  - name: ubntRadioRssiExt
    oid: 1.3.6.1.4.1.41112.1.4.2.1.4
    type: gauge
    help: Extension channel rssi per chain - 1.3.6.1.4.1.41112.1.4.2.1.4
    indexes:
    - labelname: ubntRadioIndex
      type: gauge
    - labelname: ubntRadioRssiIndex
      type: gauge
  - name: ubntAirMaxAirtime
    oid: 1.3.6.1.4.1.41112.1.4.6.1.7
    type: gauge
    help: airMAX Airtime in % multiplied by 10 - 1.3.6.1.4.1.41112.1.4.6.1.7
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
  - name: ubntAirMaxGpsSync
    oid: 1.3.6.1.4.1.41112.1.4.6.1.8
    type: gauge
    help: airMAX GPS sync - on/off - 1.3.6.1.4.1.41112.1.4.6.1.8
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntAirMaxTdd
    oid: 1.3.6.1.4.1.41112.1.4.6.1.9
    type: gauge
    help: airMAX TDD framing - on/off - 1.3.6.1.4.1.41112.1.4.6.1.9
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntAirMaxIfIndex
    oid: 1.3.6.1.4.1.41112.1.4.6.1.1
    type: gauge
    help: Index for the ubntAirMaxTable - 1.3.6.1.4.1.41112.1.4.6.1.1
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
  - name: ubntAirMaxEnabled
    oid: 1.3.6.1.4.1.41112.1.4.6.1.2
    type: gauge
    help: airMAX status - on/off - 1.3.6.1.4.1.41112.1.4.6.1.2
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntAirMaxQuality
    oid: 1.3.6.1.4.1.41112.1.4.6.1.3
    type: gauge
    help: airMAX quality - percentage - 1.3.6.1.4.1.41112.1.4.6.1.3
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
  - name: ubntAirMaxCapacity
    oid: 1.3.6.1.4.1.41112.1.4.6.1.4
    type: gauge
    help: airMAX capacity - percentage - 1.3.6.1.4.1.41112.1.4.6.1.4
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
  - name: ubntAirMaxPriority
    oid: 1.3.6.1.4.1.41112.1.4.6.1.5
    type: gauge
    help: airMAX priority - none/high/low/medium - 1.3.6.1.4.1.41112.1.4.6.1.5
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
    enum_values:
      0: high
      1: medium
      2: low
      3: none
  - name: ubntAirMaxNoAck
    oid: 1.3.6.1.4.1.41112.1.4.6.1.6
    type: gauge
    help: airMAX NoACK mode - on/off - 1.3.6.1.4.1.41112.1.4.6.1.6
    indexes:
    - labelname: ubntAirMaxIfIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntAirSyncIfIndex
    oid: 1.3.6.1.4.1.41112.1.4.3.1.1
    type: gauge
    help: Index for the ubntAirSyncTable - 1.3.6.1.4.1.41112.1.4.3.1.1
    indexes:
    - labelname: ubntAirSyncIfIndex
      type: gauge
  - name: ubntAirSyncMode
    oid: 1.3.6.1.4.1.41112.1.4.3.1.2
    type: gauge
    help: airSync mode - master/slave - 1.3.6.1.4.1.41112.1.4.3.1.2
    indexes:
    - labelname: ubntAirSyncIfIndex
      type: gauge
    enum_values:
      0: disabled
      1: master
      2: slave
  - name: ubntAirSyncCount
    oid: 1.3.6.1.4.1.41112.1.4.3.1.3
    type: gauge
    help: airSync client count - 1.3.6.1.4.1.41112.1.4.3.1.3
    indexes:
    - labelname: ubntAirSyncIfIndex
      type: gauge
  - name: ubntAirSyncDownUtil
    oid: 1.3.6.1.4.1.41112.1.4.3.1.4
    type: gauge
    help: airSync down utilization - 1.3.6.1.4.1.41112.1.4.3.1.4
    indexes:
    - labelname: ubntAirSyncIfIndex
      type: gauge
  - name: ubntAirSyncUpUtil
    oid: 1.3.6.1.4.1.41112.1.4.3.1.5
    type: gauge
    help: airSync up utilization - 1.3.6.1.4.1.41112.1.4.3.1.5
    indexes:
    - labelname: ubntAirSyncIfIndex
      type: gauge
  - name: ubntAirSelIfIndex
    oid: 1.3.6.1.4.1.41112.1.4.4.1.1
    type: gauge
    help: Index for the ubntAirSelTable - 1.3.6.1.4.1.41112.1.4.4.1.1
    indexes:
    - labelname: ubntAirSelIfIndex
      type: gauge
  - name: ubntAirSelEnabled
    oid: 1.3.6.1.4.1.41112.1.4.4.1.2
    type: gauge
    help: airSelect status - on/off - 1.3.6.1.4.1.41112.1.4.4.1.2
    indexes:
    - labelname: ubntAirSelIfIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntAirSelInterval
    oid: 1.3.6.1.4.1.41112.1.4.4.1.3
    type: gauge
    help: airSelect hop interval (miliseconds) - 1.3.6.1.4.1.41112.1.4.4.1.3
    indexes:
    - labelname: ubntAirSelIfIndex
      type: gauge
  - name: ubntWlStatIndex
    oid: 1.3.6.1.4.1.41112.1.4.5.1.1
    type: gauge
    help: Index for the ubntWlStatTable - 1.3.6.1.4.1.41112.1.4.5.1.1
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatSsid
    oid: 1.3.6.1.4.1.41112.1.4.5.1.2
    type: DisplayString
    help: SSID - 1.3.6.1.4.1.41112.1.4.5.1.2
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatHideSsid
    oid: 1.3.6.1.4.1.41112.1.4.5.1.3
    type: gauge
    help: Hide SSID - on/off - 1.3.6.1.4.1.41112.1.4.5.1.3
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntWlStatApMac
    oid: 1.3.6.1.4.1.41112.1.4.5.1.4
    type: PhysAddress48
    help: AP MAC address - 1.3.6.1.4.1.41112.1.4.5.1.4
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatSignal
    oid: 1.3.6.1.4.1.41112.1.4.5.1.5
    type: gauge
    help: Signal strength, dBm - 1.3.6.1.4.1.41112.1.4.5.1.5
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatRssi
    oid: 1.3.6.1.4.1.41112.1.4.5.1.6
    type: gauge
    help: RSSI, dBm - 1.3.6.1.4.1.41112.1.4.5.1.6
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatCcq
    oid: 1.3.6.1.4.1.41112.1.4.5.1.7
    type: gauge
    help: CCQ in % - 1.3.6.1.4.1.41112.1.4.5.1.7
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatNoiseFloor
    oid: 1.3.6.1.4.1.41112.1.4.5.1.8
    type: gauge
    help: Noise floor - 1.3.6.1.4.1.41112.1.4.5.1.8
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatTxRate
    oid: 1.3.6.1.4.1.41112.1.4.5.1.9
    type: gauge
    help: TX rate - 1.3.6.1.4.1.41112.1.4.5.1.9
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatRxRate
    oid: 1.3.6.1.4.1.41112.1.4.5.1.10
    type: gauge
    help: RX rate - 1.3.6.1.4.1.41112.1.4.5.1.10
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatSecurity
    oid: 1.3.6.1.4.1.41112.1.4.5.1.11
    type: DisplayString
    help: Wireless security mode - 1.3.6.1.4.1.41112.1.4.5.1.11
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatWdsEnabled
    oid: 1.3.6.1.4.1.41112.1.4.5.1.12
    type: gauge
    help: WDS - on/off - 1.3.6.1.4.1.41112.1.4.5.1.12
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntWlStatApRepeater
    oid: 1.3.6.1.4.1.41112.1.4.5.1.13
    type: gauge
    help: AP repeater - on/off - 1.3.6.1.4.1.41112.1.4.5.1.13
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    enum_values:
      1: "true"
      2: "false"
  - name: ubntWlStatChanWidth
    oid: 1.3.6.1.4.1.41112.1.4.5.1.14
    type: gauge
    help: Channel Width - 1.3.6.1.4.1.41112.1.4.5.1.14
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntWlStatStaCount
    oid: 1.3.6.1.4.1.41112.1.4.5.1.15
    type: gauge
    help: Station count - 1.3.6.1.4.1.41112.1.4.5.1.15
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
  - name: ubntStaLocalCINR
    oid: 1.3.6.1.4.1.41112.1.4.7.1.16
    type: gauge
    help: Local CINR - 1.3.6.1.4.1.41112.1.4.7.1.16
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaTxCapacity
    oid: 1.3.6.1.4.1.41112.1.4.7.1.17
    type: gauge
    help: Uplink Capacity in Kbps - 1.3.6.1.4.1.41112.1.4.7.1.17
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaRxCapacity
    oid: 1.3.6.1.4.1.41112.1.4.7.1.18
    type: gauge
    help: Downlink Capacity in Kbps - 1.3.6.1.4.1.41112.1.4.7.1.18
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaTxAirtime
    oid: 1.3.6.1.4.1.41112.1.4.7.1.19
    type: gauge
    help: Uplink Airtime in % multiplied by 10 - 1.3.6.1.4.1.41112.1.4.7.1.19
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaRxAirtime
    oid: 1.3.6.1.4.1.41112.1.4.7.1.20
    type: gauge
    help: Downlink Airtime in % multiplied by 10 - 1.3.6.1.4.1.41112.1.4.7.1.20
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaTxLatency
    oid: 1.3.6.1.4.1.41112.1.4.7.1.21
    type: gauge
    help: Uplink Latency in milliseconds - 1.3.6.1.4.1.41112.1.4.7.1.21
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaMac
    oid: 1.3.6.1.4.1.41112.1.4.7.1.1
    type: PhysAddress48
    help: Station MAC address - 1.3.6.1.4.1.41112.1.4.7.1.1
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaName
    oid: 1.3.6.1.4.1.41112.1.4.7.1.2
    type: DisplayString
    help: Station name - 1.3.6.1.4.1.41112.1.4.7.1.2
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaSignal
    oid: 1.3.6.1.4.1.41112.1.4.7.1.3
    type: gauge
    help: Signal strength, dBm - 1.3.6.1.4.1.41112.1.4.7.1.3
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaNoiseFloor
    oid: 1.3.6.1.4.1.41112.1.4.7.1.4
    type: gauge
    help: Noise floor - 1.3.6.1.4.1.41112.1.4.7.1.4
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaDistance
    oid: 1.3.6.1.4.1.41112.1.4.7.1.5
    type: gauge
    help: Distance - 1.3.6.1.4.1.41112.1.4.7.1.5
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaCcq
    oid: 1.3.6.1.4.1.41112.1.4.7.1.6
    type: gauge
    help: CCQ in % - 1.3.6.1.4.1.41112.1.4.7.1.6
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaAmp
    oid: 1.3.6.1.4.1.41112.1.4.7.1.7
    type: gauge
    help: airMAX priority - 1.3.6.1.4.1.41112.1.4.7.1.7
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaAmq
    oid: 1.3.6.1.4.1.41112.1.4.7.1.8
    type: gauge
    help: airMAX quality - 1.3.6.1.4.1.41112.1.4.7.1.8
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaAmc
    oid: 1.3.6.1.4.1.41112.1.4.7.1.9
    type: gauge
    help: airMAX capacity - 1.3.6.1.4.1.41112.1.4.7.1.9
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaLastIp
    oid: 1.3.6.1.4.1.41112.1.4.7.1.10
    type: InetAddressIPv4
    help: Last known IP address - 1.3.6.1.4.1.41112.1.4.7.1.10
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaTxRate
    oid: 1.3.6.1.4.1.41112.1.4.7.1.11
    type: gauge
    help: TX rate - 1.3.6.1.4.1.41112.1.4.7.1.11
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaRxRate
    oid: 1.3.6.1.4.1.41112.1.4.7.1.12
    type: gauge
    help: RX rate - 1.3.6.1.4.1.41112.1.4.7.1.12
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaTxBytes
    oid: 1.3.6.1.4.1.41112.1.4.7.1.13
    type: counter
    help: TX bytes - 1.3.6.1.4.1.41112.1.4.7.1.13
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaRxBytes
    oid: 1.3.6.1.4.1.41112.1.4.7.1.14
    type: counter
    help: TX rate - 1.3.6.1.4.1.41112.1.4.7.1.14
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  - name: ubntStaConnTime
    oid: 1.3.6.1.4.1.41112.1.4.7.1.15
    type: gauge
    help: Connection Time in seconds - 1.3.6.1.4.1.41112.1.4.7.1.15
    indexes:
    - labelname: ubntWlStatIndex
      type: gauge
    - labelname: ubntStaMac
      type: PhysAddress48
      fixed_size: 6
  version: 1
  timeout: 60s
  auth:
    community: tomeshsnmpcommunitystring
EOF

from toronto-community-network.

darkdrgn2k avatar darkdrgn2k commented on June 3, 2024

Grafana

follow https://github.com/tomeshnet/prototype-cjdns-pi/blob/master/scripts/grafana/install

edit /etc/grafana/grafana.ini to allow non access

[auth.anonymous]
# enable anonymous access
enabled = true

# specify organization name that should be used for unauthenticated users
org_name = Main Org.

# specify role for unauthenticated users
org_role = Viewer

# mask the Grafana version number for unauthenticated users
hide_version = true

from toronto-community-network.

darkdrgn2k avatar darkdrgn2k commented on June 3, 2024

UNMS has much more functionality
maybe write a UNMS-NodeExporter using the API?

from toronto-community-network.

darkdrgn2k avatar darkdrgn2k commented on June 3, 2024

UNMS-Promethus #47

from toronto-community-network.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.