├── LICENSE ├── README.md ├── generator.yml └── snmp.yml /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # What 2 | 3 | This repo will be useful to you if you have [Ubiquiti Networks 4 | UniFi](https://unifi-sdn.ubnt.com/) devices and you use 5 | [Prometheus](https://prometheus.io/) for your metrics. 6 | 7 | 8 | # Scraping metrics from UniFi devices 9 | 10 | The included `snmp.yml` is ready to go as is. Simply get the [SNMP 11 | exporter](https://github.com/prometheus/snmp_exporter), start it and you 12 | should be able to get metrics from your UniFi device. 13 | 14 | Test with curl(1): 15 | ``` 16 | curl -s 'localhost:9116/snmp?target=X.X.X.X&module=unifi' 17 | ``` 18 | 19 | Now you can configure Prometheus to scrape this endpoint and you're 20 | done. 21 | 22 | # Customising what metrics are scraped 23 | 24 | The included `generator.yml` can be updated to scrape any additional 25 | metrics you need. 26 | 27 | To use the generator, you'll need to get the Ubiquiti Networks MIBs from here: 28 | https://dl.ubnt-ut.com/snmp/UBNT-MIB and 29 | https://dl.ubnt-ut.com/snmp/UBNT-UniFi-MIB and place them into 30 | `$HOME/.snmp/mibs`. 31 | 32 | The generator 33 | [docs](https://github.com/prometheus/snmp_exporter/tree/master/generator) 34 | should have all you need. 35 | 36 | # External links 37 | 38 | [Prometheus SNMP exporter](https://github.com/prometheus/snmp_exporter) 39 | has a great README. Make sure you read it thoroughly, as SNMP and MIBs can be 40 | confusing. 41 | 42 | The [using and loading 43 | MIBs](https://net-snmp.sourceforge.io/wiki/index.php/TUT:Using_and_loading_MIBS) 44 | section in Net-SNMP documentation is great as well. 45 | -------------------------------------------------------------------------------- /generator.yml: -------------------------------------------------------------------------------- 1 | modules: 2 | if_mib_ifname: 3 | walk: [sysUpTime, interfaces, ifXTable] 4 | lookups: 5 | - old_index: ifIndex 6 | # Use OID to avoid conflict with Netscaler NS-ROOT-MIB. 7 | new_index: 1.3.6.1.2.1.31.1.1.1.1 # ifName 8 | unifi: 9 | walk: 10 | - unifiApSystemIp 11 | - unifiApSystemIsolated 12 | - unifiApSystemModel 13 | - unifiApSystemUplink 14 | - unifiApSystemUptime 15 | - unifiApSystemVersion 16 | - unifiIfFullDuplex 17 | - unifiIfIndex 18 | - unifiIfIp 19 | - unifiIfMac 20 | - unifiIfName 21 | - unifiIfRxBytes 22 | - unifiIfRxDropped 23 | - unifiIfRxError 24 | - unifiIfRxMulticast 25 | - unifiIfRxPackets 26 | - unifiIfSpeed 27 | - unifiIfTxBytes 28 | - unifiIfTxDropped 29 | - unifiIfTxError 30 | - unifiIfTxPackets 31 | - unifiIfUp 32 | - unifiRadioCuSelfRx 33 | - unifiRadioCuSelfTx 34 | - unifiRadioCuTotal 35 | - unifiRadioIndex 36 | - unifiRadioName 37 | - unifiRadioOtherBss 38 | - unifiRadioRadio 39 | - unifiRadioRxPackets 40 | - unifiRadioTxPackets 41 | - unifiVapBssId 42 | - unifiVapCcq 43 | - unifiVapChannel 44 | - unifiVapEssId 45 | - unifiVapExtChannel 46 | - unifiVapIndex 47 | - unifiVapName 48 | - unifiVapNumStations 49 | - unifiVapRadio 50 | - unifiVapRxBytes 51 | - unifiVapRxCrypts 52 | - unifiVapRxDropped 53 | - unifiVapRxErrors 54 | - unifiVapRxFrags 55 | - unifiVapRxPackets 56 | - unifiVapTxBytes 57 | - unifiVapTxDropped 58 | - unifiVapTxErrors 59 | - unifiVapTxPackets 60 | - unifiVapTxPower 61 | - unifiVapTxRetries 62 | - unifiVapUp 63 | - unifiVapUsage 64 | -------------------------------------------------------------------------------- /snmp.yml: -------------------------------------------------------------------------------- 1 | if_mib_ifname: 2 | walk: 3 | - 1.3.6.1.2.1.1.3 4 | - 1.3.6.1.2.1.2 5 | - 1.3.6.1.2.1.31.1.1 6 | metrics: 7 | - name: sysUpTime 8 | oid: 1.3.6.1.2.1.1.3 9 | type: gauge 10 | help: The time (in hundredths of a second) since the network management portion 11 | of the system was last re-initialized. - 1.3.6.1.2.1.1.3 12 | - name: ifNumber 13 | oid: 1.3.6.1.2.1.2.1 14 | type: gauge 15 | help: The number of network interfaces (regardless of their current state) present 16 | on this system. - 1.3.6.1.2.1.2.1 17 | - name: ifIndex 18 | oid: 1.3.6.1.2.1.2.2.1.1 19 | type: gauge 20 | help: A unique value, greater than zero, for each interface - 1.3.6.1.2.1.2.2.1.1 21 | indexes: 22 | - labelname: ifName 23 | type: gauge 24 | lookups: 25 | - labels: 26 | - ifName 27 | labelname: ifName 28 | oid: 1.3.6.1.2.1.31.1.1.1.1 29 | type: DisplayString 30 | - name: ifDescr 31 | oid: 1.3.6.1.2.1.2.2.1.2 32 | type: DisplayString 33 | help: A textual string containing information about the interface - 1.3.6.1.2.1.2.2.1.2 34 | indexes: 35 | - labelname: ifName 36 | type: gauge 37 | lookups: 38 | - labels: 39 | - ifName 40 | labelname: ifName 41 | oid: 1.3.6.1.2.1.31.1.1.1.1 42 | type: DisplayString 43 | - name: ifType 44 | oid: 1.3.6.1.2.1.2.2.1.3 45 | type: gauge 46 | help: The type of interface - 1.3.6.1.2.1.2.2.1.3 47 | indexes: 48 | - labelname: ifName 49 | type: gauge 50 | lookups: 51 | - labels: 52 | - ifName 53 | labelname: ifName 54 | oid: 1.3.6.1.2.1.31.1.1.1.1 55 | type: DisplayString 56 | - name: ifMtu 57 | oid: 1.3.6.1.2.1.2.2.1.4 58 | type: gauge 59 | help: The size of the largest packet which can be sent/received on the interface, 60 | specified in octets - 1.3.6.1.2.1.2.2.1.4 61 | indexes: 62 | - labelname: ifName 63 | type: gauge 64 | lookups: 65 | - labels: 66 | - ifName 67 | labelname: ifName 68 | oid: 1.3.6.1.2.1.31.1.1.1.1 69 | type: DisplayString 70 | - name: ifSpeed 71 | oid: 1.3.6.1.2.1.2.2.1.5 72 | type: gauge 73 | help: An estimate of the interface's current bandwidth in bits per second - 1.3.6.1.2.1.2.2.1.5 74 | indexes: 75 | - labelname: ifName 76 | type: gauge 77 | lookups: 78 | - labels: 79 | - ifName 80 | labelname: ifName 81 | oid: 1.3.6.1.2.1.31.1.1.1.1 82 | type: DisplayString 83 | - name: ifPhysAddress 84 | oid: 1.3.6.1.2.1.2.2.1.6 85 | type: PhysAddress48 86 | help: The interface's address at its protocol sub-layer - 1.3.6.1.2.1.2.2.1.6 87 | indexes: 88 | - labelname: ifName 89 | type: gauge 90 | lookups: 91 | - labels: 92 | - ifName 93 | labelname: ifName 94 | oid: 1.3.6.1.2.1.31.1.1.1.1 95 | type: DisplayString 96 | - name: ifAdminStatus 97 | oid: 1.3.6.1.2.1.2.2.1.7 98 | type: gauge 99 | help: The desired state of the interface - 1.3.6.1.2.1.2.2.1.7 100 | indexes: 101 | - labelname: ifName 102 | type: gauge 103 | lookups: 104 | - labels: 105 | - ifName 106 | labelname: ifName 107 | oid: 1.3.6.1.2.1.31.1.1.1.1 108 | type: DisplayString 109 | - name: ifOperStatus 110 | oid: 1.3.6.1.2.1.2.2.1.8 111 | type: gauge 112 | help: The current operational state of the interface - 1.3.6.1.2.1.2.2.1.8 113 | indexes: 114 | - labelname: ifName 115 | type: gauge 116 | lookups: 117 | - labels: 118 | - ifName 119 | labelname: ifName 120 | oid: 1.3.6.1.2.1.31.1.1.1.1 121 | type: DisplayString 122 | - name: ifLastChange 123 | oid: 1.3.6.1.2.1.2.2.1.9 124 | type: gauge 125 | help: The value of sysUpTime at the time the interface entered its current operational 126 | state - 1.3.6.1.2.1.2.2.1.9 127 | indexes: 128 | - labelname: ifName 129 | type: gauge 130 | lookups: 131 | - labels: 132 | - ifName 133 | labelname: ifName 134 | oid: 1.3.6.1.2.1.31.1.1.1.1 135 | type: DisplayString 136 | - name: ifInOctets 137 | oid: 1.3.6.1.2.1.2.2.1.10 138 | type: counter 139 | help: The total number of octets received on the interface, including framing 140 | characters - 1.3.6.1.2.1.2.2.1.10 141 | indexes: 142 | - labelname: ifName 143 | type: gauge 144 | lookups: 145 | - labels: 146 | - ifName 147 | labelname: ifName 148 | oid: 1.3.6.1.2.1.31.1.1.1.1 149 | type: DisplayString 150 | - name: ifInUcastPkts 151 | oid: 1.3.6.1.2.1.2.2.1.11 152 | type: counter 153 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 154 | which were not addressed to a multicast or broadcast address at this sub-layer 155 | - 1.3.6.1.2.1.2.2.1.11 156 | indexes: 157 | - labelname: ifName 158 | type: gauge 159 | lookups: 160 | - labels: 161 | - ifName 162 | labelname: ifName 163 | oid: 1.3.6.1.2.1.31.1.1.1.1 164 | type: DisplayString 165 | - name: ifInNUcastPkts 166 | oid: 1.3.6.1.2.1.2.2.1.12 167 | type: counter 168 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 169 | which were addressed to a multicast or broadcast address at this sub-layer - 170 | 1.3.6.1.2.1.2.2.1.12 171 | indexes: 172 | - labelname: ifName 173 | type: gauge 174 | lookups: 175 | - labels: 176 | - ifName 177 | labelname: ifName 178 | oid: 1.3.6.1.2.1.31.1.1.1.1 179 | type: DisplayString 180 | - name: ifInDiscards 181 | oid: 1.3.6.1.2.1.2.2.1.13 182 | type: counter 183 | help: The number of inbound packets which were chosen to be discarded even though 184 | no errors had been detected to prevent their being deliverable to a higher-layer 185 | protocol - 1.3.6.1.2.1.2.2.1.13 186 | indexes: 187 | - labelname: ifName 188 | type: gauge 189 | lookups: 190 | - labels: 191 | - ifName 192 | labelname: ifName 193 | oid: 1.3.6.1.2.1.31.1.1.1.1 194 | type: DisplayString 195 | - name: ifInErrors 196 | oid: 1.3.6.1.2.1.2.2.1.14 197 | type: counter 198 | help: For packet-oriented interfaces, the number of inbound packets that contained 199 | errors preventing them from being deliverable to a higher-layer protocol - 1.3.6.1.2.1.2.2.1.14 200 | indexes: 201 | - labelname: ifName 202 | type: gauge 203 | lookups: 204 | - labels: 205 | - ifName 206 | labelname: ifName 207 | oid: 1.3.6.1.2.1.31.1.1.1.1 208 | type: DisplayString 209 | - name: ifInUnknownProtos 210 | oid: 1.3.6.1.2.1.2.2.1.15 211 | type: counter 212 | help: For packet-oriented interfaces, the number of packets received via the interface 213 | which were discarded because of an unknown or unsupported protocol - 1.3.6.1.2.1.2.2.1.15 214 | indexes: 215 | - labelname: ifName 216 | type: gauge 217 | lookups: 218 | - labels: 219 | - ifName 220 | labelname: ifName 221 | oid: 1.3.6.1.2.1.31.1.1.1.1 222 | type: DisplayString 223 | - name: ifOutOctets 224 | oid: 1.3.6.1.2.1.2.2.1.16 225 | type: counter 226 | help: The total number of octets transmitted out of the interface, including framing 227 | characters - 1.3.6.1.2.1.2.2.1.16 228 | indexes: 229 | - labelname: ifName 230 | type: gauge 231 | lookups: 232 | - labels: 233 | - ifName 234 | labelname: ifName 235 | oid: 1.3.6.1.2.1.31.1.1.1.1 236 | type: DisplayString 237 | - name: ifOutUcastPkts 238 | oid: 1.3.6.1.2.1.2.2.1.17 239 | type: counter 240 | help: The total number of packets that higher-level protocols requested be transmitted, 241 | and which were not addressed to a multicast or broadcast address at this sub-layer, 242 | including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.17 243 | indexes: 244 | - labelname: ifName 245 | type: gauge 246 | lookups: 247 | - labels: 248 | - ifName 249 | labelname: ifName 250 | oid: 1.3.6.1.2.1.31.1.1.1.1 251 | type: DisplayString 252 | - name: ifOutNUcastPkts 253 | oid: 1.3.6.1.2.1.2.2.1.18 254 | type: counter 255 | help: The total number of packets that higher-level protocols requested be transmitted, 256 | and which were addressed to a multicast or broadcast address at this sub-layer, 257 | including those that were discarded or not sent - 1.3.6.1.2.1.2.2.1.18 258 | indexes: 259 | - labelname: ifName 260 | type: gauge 261 | lookups: 262 | - labels: 263 | - ifName 264 | labelname: ifName 265 | oid: 1.3.6.1.2.1.31.1.1.1.1 266 | type: DisplayString 267 | - name: ifOutDiscards 268 | oid: 1.3.6.1.2.1.2.2.1.19 269 | type: counter 270 | help: The number of outbound packets which were chosen to be discarded even though 271 | no errors had been detected to prevent their being transmitted - 1.3.6.1.2.1.2.2.1.19 272 | indexes: 273 | - labelname: ifName 274 | type: gauge 275 | lookups: 276 | - labels: 277 | - ifName 278 | labelname: ifName 279 | oid: 1.3.6.1.2.1.31.1.1.1.1 280 | type: DisplayString 281 | - name: ifOutErrors 282 | oid: 1.3.6.1.2.1.2.2.1.20 283 | type: counter 284 | help: For packet-oriented interfaces, the number of outbound packets that could 285 | not be transmitted because of errors - 1.3.6.1.2.1.2.2.1.20 286 | indexes: 287 | - labelname: ifName 288 | type: gauge 289 | lookups: 290 | - labels: 291 | - ifName 292 | labelname: ifName 293 | oid: 1.3.6.1.2.1.31.1.1.1.1 294 | type: DisplayString 295 | - name: ifOutQLen 296 | oid: 1.3.6.1.2.1.2.2.1.21 297 | type: gauge 298 | help: The length of the output packet queue (in packets). - 1.3.6.1.2.1.2.2.1.21 299 | indexes: 300 | - labelname: ifName 301 | type: gauge 302 | lookups: 303 | - labels: 304 | - ifName 305 | labelname: ifName 306 | oid: 1.3.6.1.2.1.31.1.1.1.1 307 | type: DisplayString 308 | - name: ifName 309 | oid: 1.3.6.1.2.1.31.1.1.1.1 310 | type: DisplayString 311 | help: The textual name of the interface - 1.3.6.1.2.1.31.1.1.1.1 312 | indexes: 313 | - labelname: ifName 314 | type: gauge 315 | lookups: 316 | - labels: 317 | - ifName 318 | labelname: ifName 319 | oid: 1.3.6.1.2.1.31.1.1.1.1 320 | type: DisplayString 321 | - name: ifInMulticastPkts 322 | oid: 1.3.6.1.2.1.31.1.1.1.2 323 | type: counter 324 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 325 | which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.2 326 | indexes: 327 | - labelname: ifName 328 | type: gauge 329 | lookups: 330 | - labels: 331 | - ifName 332 | labelname: ifName 333 | oid: 1.3.6.1.2.1.31.1.1.1.1 334 | type: DisplayString 335 | - name: ifInBroadcastPkts 336 | oid: 1.3.6.1.2.1.31.1.1.1.3 337 | type: counter 338 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 339 | which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.3 340 | indexes: 341 | - labelname: ifName 342 | type: gauge 343 | lookups: 344 | - labels: 345 | - ifName 346 | labelname: ifName 347 | oid: 1.3.6.1.2.1.31.1.1.1.1 348 | type: DisplayString 349 | - name: ifOutMulticastPkts 350 | oid: 1.3.6.1.2.1.31.1.1.1.4 351 | type: counter 352 | help: The total number of packets that higher-level protocols requested be transmitted, 353 | and which were addressed to a multicast address at this sub-layer, including 354 | those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.4 355 | indexes: 356 | - labelname: ifName 357 | type: gauge 358 | lookups: 359 | - labels: 360 | - ifName 361 | labelname: ifName 362 | oid: 1.3.6.1.2.1.31.1.1.1.1 363 | type: DisplayString 364 | - name: ifOutBroadcastPkts 365 | oid: 1.3.6.1.2.1.31.1.1.1.5 366 | type: counter 367 | help: The total number of packets that higher-level protocols requested be transmitted, 368 | and which were addressed to a broadcast address at this sub-layer, including 369 | those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.5 370 | indexes: 371 | - labelname: ifName 372 | type: gauge 373 | lookups: 374 | - labels: 375 | - ifName 376 | labelname: ifName 377 | oid: 1.3.6.1.2.1.31.1.1.1.1 378 | type: DisplayString 379 | - name: ifHCInOctets 380 | oid: 1.3.6.1.2.1.31.1.1.1.6 381 | type: counter 382 | help: The total number of octets received on the interface, including framing 383 | characters - 1.3.6.1.2.1.31.1.1.1.6 384 | indexes: 385 | - labelname: ifName 386 | type: gauge 387 | lookups: 388 | - labels: 389 | - ifName 390 | labelname: ifName 391 | oid: 1.3.6.1.2.1.31.1.1.1.1 392 | type: DisplayString 393 | - name: ifHCInUcastPkts 394 | oid: 1.3.6.1.2.1.31.1.1.1.7 395 | type: counter 396 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 397 | which were not addressed to a multicast or broadcast address at this sub-layer 398 | - 1.3.6.1.2.1.31.1.1.1.7 399 | indexes: 400 | - labelname: ifName 401 | type: gauge 402 | lookups: 403 | - labels: 404 | - ifName 405 | labelname: ifName 406 | oid: 1.3.6.1.2.1.31.1.1.1.1 407 | type: DisplayString 408 | - name: ifHCInMulticastPkts 409 | oid: 1.3.6.1.2.1.31.1.1.1.8 410 | type: counter 411 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 412 | which were addressed to a multicast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.8 413 | indexes: 414 | - labelname: ifName 415 | type: gauge 416 | lookups: 417 | - labels: 418 | - ifName 419 | labelname: ifName 420 | oid: 1.3.6.1.2.1.31.1.1.1.1 421 | type: DisplayString 422 | - name: ifHCInBroadcastPkts 423 | oid: 1.3.6.1.2.1.31.1.1.1.9 424 | type: counter 425 | help: The number of packets, delivered by this sub-layer to a higher (sub-)layer, 426 | which were addressed to a broadcast address at this sub-layer - 1.3.6.1.2.1.31.1.1.1.9 427 | indexes: 428 | - labelname: ifName 429 | type: gauge 430 | lookups: 431 | - labels: 432 | - ifName 433 | labelname: ifName 434 | oid: 1.3.6.1.2.1.31.1.1.1.1 435 | type: DisplayString 436 | - name: ifHCOutOctets 437 | oid: 1.3.6.1.2.1.31.1.1.1.10 438 | type: counter 439 | help: The total number of octets transmitted out of the interface, including framing 440 | characters - 1.3.6.1.2.1.31.1.1.1.10 441 | indexes: 442 | - labelname: ifName 443 | type: gauge 444 | lookups: 445 | - labels: 446 | - ifName 447 | labelname: ifName 448 | oid: 1.3.6.1.2.1.31.1.1.1.1 449 | type: DisplayString 450 | - name: ifHCOutUcastPkts 451 | oid: 1.3.6.1.2.1.31.1.1.1.11 452 | type: counter 453 | help: The total number of packets that higher-level protocols requested be transmitted, 454 | and which were not addressed to a multicast or broadcast address at this sub-layer, 455 | including those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.11 456 | indexes: 457 | - labelname: ifName 458 | type: gauge 459 | lookups: 460 | - labels: 461 | - ifName 462 | labelname: ifName 463 | oid: 1.3.6.1.2.1.31.1.1.1.1 464 | type: DisplayString 465 | - name: ifHCOutMulticastPkts 466 | oid: 1.3.6.1.2.1.31.1.1.1.12 467 | type: counter 468 | help: The total number of packets that higher-level protocols requested be transmitted, 469 | and which were addressed to a multicast address at this sub-layer, including 470 | those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.12 471 | indexes: 472 | - labelname: ifName 473 | type: gauge 474 | lookups: 475 | - labels: 476 | - ifName 477 | labelname: ifName 478 | oid: 1.3.6.1.2.1.31.1.1.1.1 479 | type: DisplayString 480 | - name: ifHCOutBroadcastPkts 481 | oid: 1.3.6.1.2.1.31.1.1.1.13 482 | type: counter 483 | help: The total number of packets that higher-level protocols requested be transmitted, 484 | and which were addressed to a broadcast address at this sub-layer, including 485 | those that were discarded or not sent - 1.3.6.1.2.1.31.1.1.1.13 486 | indexes: 487 | - labelname: ifName 488 | type: gauge 489 | lookups: 490 | - labels: 491 | - ifName 492 | labelname: ifName 493 | oid: 1.3.6.1.2.1.31.1.1.1.1 494 | type: DisplayString 495 | - name: ifLinkUpDownTrapEnable 496 | oid: 1.3.6.1.2.1.31.1.1.1.14 497 | type: gauge 498 | help: Indicates whether linkUp/linkDown traps should be generated for this interface 499 | - 1.3.6.1.2.1.31.1.1.1.14 500 | indexes: 501 | - labelname: ifName 502 | type: gauge 503 | lookups: 504 | - labels: 505 | - ifName 506 | labelname: ifName 507 | oid: 1.3.6.1.2.1.31.1.1.1.1 508 | type: DisplayString 509 | - name: ifHighSpeed 510 | oid: 1.3.6.1.2.1.31.1.1.1.15 511 | type: gauge 512 | help: An estimate of the interface's current bandwidth in units of 1,000,000 bits 513 | per second - 1.3.6.1.2.1.31.1.1.1.15 514 | indexes: 515 | - labelname: ifName 516 | type: gauge 517 | lookups: 518 | - labels: 519 | - ifName 520 | labelname: ifName 521 | oid: 1.3.6.1.2.1.31.1.1.1.1 522 | type: DisplayString 523 | - name: ifPromiscuousMode 524 | oid: 1.3.6.1.2.1.31.1.1.1.16 525 | type: gauge 526 | help: This object has a value of false(2) if this interface only accepts packets/frames 527 | that are addressed to this station - 1.3.6.1.2.1.31.1.1.1.16 528 | indexes: 529 | - labelname: ifName 530 | type: gauge 531 | lookups: 532 | - labels: 533 | - ifName 534 | labelname: ifName 535 | oid: 1.3.6.1.2.1.31.1.1.1.1 536 | type: DisplayString 537 | - name: ifConnectorPresent 538 | oid: 1.3.6.1.2.1.31.1.1.1.17 539 | type: gauge 540 | help: This object has the value 'true(1)' if the interface sublayer has a physical 541 | connector and the value 'false(2)' otherwise. - 1.3.6.1.2.1.31.1.1.1.17 542 | indexes: 543 | - labelname: ifName 544 | type: gauge 545 | lookups: 546 | - labels: 547 | - ifName 548 | labelname: ifName 549 | oid: 1.3.6.1.2.1.31.1.1.1.1 550 | type: DisplayString 551 | - name: ifAlias 552 | oid: 1.3.6.1.2.1.31.1.1.1.18 553 | type: DisplayString 554 | help: This object is an 'alias' name for the interface as specified by a network 555 | manager, and provides a non-volatile 'handle' for the interface - 1.3.6.1.2.1.31.1.1.1.18 556 | indexes: 557 | - labelname: ifName 558 | type: gauge 559 | lookups: 560 | - labels: 561 | - ifName 562 | labelname: ifName 563 | oid: 1.3.6.1.2.1.31.1.1.1.1 564 | type: DisplayString 565 | - name: ifCounterDiscontinuityTime 566 | oid: 1.3.6.1.2.1.31.1.1.1.19 567 | type: gauge 568 | help: The value of sysUpTime on the most recent occasion at which any one or more 569 | of this interface's counters suffered a discontinuity - 1.3.6.1.2.1.31.1.1.1.19 570 | indexes: 571 | - labelname: ifName 572 | type: gauge 573 | lookups: 574 | - labels: 575 | - ifName 576 | labelname: ifName 577 | oid: 1.3.6.1.2.1.31.1.1.1.1 578 | type: DisplayString 579 | unifi: 580 | walk: 581 | - 1.3.6.1.4.1.41112.1.6.1.1.1.1 582 | - 1.3.6.1.4.1.41112.1.6.1.1.1.2 583 | - 1.3.6.1.4.1.41112.1.6.1.1.1.3 584 | - 1.3.6.1.4.1.41112.1.6.1.1.1.4 585 | - 1.3.6.1.4.1.41112.1.6.1.1.1.5 586 | - 1.3.6.1.4.1.41112.1.6.1.1.1.6 587 | - 1.3.6.1.4.1.41112.1.6.1.1.1.7 588 | - 1.3.6.1.4.1.41112.1.6.1.1.1.8 589 | - 1.3.6.1.4.1.41112.1.6.1.1.1.9 590 | - 1.3.6.1.4.1.41112.1.6.1.2.1.1 591 | - 1.3.6.1.4.1.41112.1.6.1.2.1.10 592 | - 1.3.6.1.4.1.41112.1.6.1.2.1.11 593 | - 1.3.6.1.4.1.41112.1.6.1.2.1.12 594 | - 1.3.6.1.4.1.41112.1.6.1.2.1.13 595 | - 1.3.6.1.4.1.41112.1.6.1.2.1.14 596 | - 1.3.6.1.4.1.41112.1.6.1.2.1.15 597 | - 1.3.6.1.4.1.41112.1.6.1.2.1.16 598 | - 1.3.6.1.4.1.41112.1.6.1.2.1.17 599 | - 1.3.6.1.4.1.41112.1.6.1.2.1.18 600 | - 1.3.6.1.4.1.41112.1.6.1.2.1.19 601 | - 1.3.6.1.4.1.41112.1.6.1.2.1.2 602 | - 1.3.6.1.4.1.41112.1.6.1.2.1.20 603 | - 1.3.6.1.4.1.41112.1.6.1.2.1.21 604 | - 1.3.6.1.4.1.41112.1.6.1.2.1.22 605 | - 1.3.6.1.4.1.41112.1.6.1.2.1.23 606 | - 1.3.6.1.4.1.41112.1.6.1.2.1.3 607 | - 1.3.6.1.4.1.41112.1.6.1.2.1.4 608 | - 1.3.6.1.4.1.41112.1.6.1.2.1.5 609 | - 1.3.6.1.4.1.41112.1.6.1.2.1.6 610 | - 1.3.6.1.4.1.41112.1.6.1.2.1.7 611 | - 1.3.6.1.4.1.41112.1.6.1.2.1.8 612 | - 1.3.6.1.4.1.41112.1.6.1.2.1.9 613 | - 1.3.6.1.4.1.41112.1.6.2.1.1.1 614 | - 1.3.6.1.4.1.41112.1.6.2.1.1.10 615 | - 1.3.6.1.4.1.41112.1.6.2.1.1.11 616 | - 1.3.6.1.4.1.41112.1.6.2.1.1.12 617 | - 1.3.6.1.4.1.41112.1.6.2.1.1.13 618 | - 1.3.6.1.4.1.41112.1.6.2.1.1.14 619 | - 1.3.6.1.4.1.41112.1.6.2.1.1.15 620 | - 1.3.6.1.4.1.41112.1.6.2.1.1.16 621 | - 1.3.6.1.4.1.41112.1.6.2.1.1.2 622 | - 1.3.6.1.4.1.41112.1.6.2.1.1.3 623 | - 1.3.6.1.4.1.41112.1.6.2.1.1.4 624 | - 1.3.6.1.4.1.41112.1.6.2.1.1.5 625 | - 1.3.6.1.4.1.41112.1.6.2.1.1.6 626 | - 1.3.6.1.4.1.41112.1.6.2.1.1.7 627 | - 1.3.6.1.4.1.41112.1.6.2.1.1.8 628 | - 1.3.6.1.4.1.41112.1.6.2.1.1.9 629 | - 1.3.6.1.4.1.41112.1.6.3.1 630 | - 1.3.6.1.4.1.41112.1.6.3.2 631 | - 1.3.6.1.4.1.41112.1.6.3.3 632 | - 1.3.6.1.4.1.41112.1.6.3.4 633 | - 1.3.6.1.4.1.41112.1.6.3.5 634 | - 1.3.6.1.4.1.41112.1.6.3.6 635 | metrics: 636 | - name: unifiRadioIndex 637 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.1 638 | type: gauge 639 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.1' 640 | indexes: 641 | - labelname: unifiRadioIndex 642 | type: gauge 643 | - name: unifiRadioName 644 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.2 645 | type: DisplayString 646 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.2' 647 | indexes: 648 | - labelname: unifiRadioIndex 649 | type: gauge 650 | - name: unifiRadioRadio 651 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.3 652 | type: DisplayString 653 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.3' 654 | indexes: 655 | - labelname: unifiRadioIndex 656 | type: gauge 657 | - name: unifiRadioRxPackets 658 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.4 659 | type: counter 660 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.4' 661 | indexes: 662 | - labelname: unifiRadioIndex 663 | type: gauge 664 | - name: unifiRadioTxPackets 665 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.5 666 | type: counter 667 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.5' 668 | indexes: 669 | - labelname: unifiRadioIndex 670 | type: gauge 671 | - name: unifiRadioCuTotal 672 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.6 673 | type: gauge 674 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.6' 675 | indexes: 676 | - labelname: unifiRadioIndex 677 | type: gauge 678 | - name: unifiRadioCuSelfRx 679 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.7 680 | type: gauge 681 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.7' 682 | indexes: 683 | - labelname: unifiRadioIndex 684 | type: gauge 685 | - name: unifiRadioCuSelfTx 686 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.8 687 | type: gauge 688 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.8' 689 | indexes: 690 | - labelname: unifiRadioIndex 691 | type: gauge 692 | - name: unifiRadioOtherBss 693 | oid: 1.3.6.1.4.1.41112.1.6.1.1.1.9 694 | type: gauge 695 | help: ' - 1.3.6.1.4.1.41112.1.6.1.1.1.9' 696 | indexes: 697 | - labelname: unifiRadioIndex 698 | type: gauge 699 | - name: unifiVapIndex 700 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.1 701 | type: gauge 702 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.1' 703 | indexes: 704 | - labelname: unifiVapIndex 705 | type: gauge 706 | - name: unifiVapRxBytes 707 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.10 708 | type: counter 709 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.10' 710 | indexes: 711 | - labelname: unifiVapIndex 712 | type: gauge 713 | - name: unifiVapRxCrypts 714 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.11 715 | type: counter 716 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.11' 717 | indexes: 718 | - labelname: unifiVapIndex 719 | type: gauge 720 | - name: unifiVapRxDropped 721 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.12 722 | type: counter 723 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.12' 724 | indexes: 725 | - labelname: unifiVapIndex 726 | type: gauge 727 | - name: unifiVapRxErrors 728 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.13 729 | type: counter 730 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.13' 731 | indexes: 732 | - labelname: unifiVapIndex 733 | type: gauge 734 | - name: unifiVapRxFrags 735 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.14 736 | type: counter 737 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.14' 738 | indexes: 739 | - labelname: unifiVapIndex 740 | type: gauge 741 | - name: unifiVapRxPackets 742 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.15 743 | type: counter 744 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.15' 745 | indexes: 746 | - labelname: unifiVapIndex 747 | type: gauge 748 | - name: unifiVapTxBytes 749 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.16 750 | type: counter 751 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.16' 752 | indexes: 753 | - labelname: unifiVapIndex 754 | type: gauge 755 | - name: unifiVapTxDropped 756 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.17 757 | type: counter 758 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.17' 759 | indexes: 760 | - labelname: unifiVapIndex 761 | type: gauge 762 | - name: unifiVapTxErrors 763 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.18 764 | type: counter 765 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.18' 766 | indexes: 767 | - labelname: unifiVapIndex 768 | type: gauge 769 | - name: unifiVapTxPackets 770 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.19 771 | type: counter 772 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.19' 773 | indexes: 774 | - labelname: unifiVapIndex 775 | type: gauge 776 | - name: unifiVapBssId 777 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.2 778 | type: PhysAddress48 779 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.2' 780 | indexes: 781 | - labelname: unifiVapIndex 782 | type: gauge 783 | - name: unifiVapTxRetries 784 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.20 785 | type: counter 786 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.20' 787 | indexes: 788 | - labelname: unifiVapIndex 789 | type: gauge 790 | - name: unifiVapTxPower 791 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.21 792 | type: gauge 793 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.21' 794 | indexes: 795 | - labelname: unifiVapIndex 796 | type: gauge 797 | - name: unifiVapUp 798 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.22 799 | type: gauge 800 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.22' 801 | indexes: 802 | - labelname: unifiVapIndex 803 | type: gauge 804 | - name: unifiVapUsage 805 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.23 806 | type: DisplayString 807 | help: guest or regular user - 1.3.6.1.4.1.41112.1.6.1.2.1.23 808 | indexes: 809 | - labelname: unifiVapIndex 810 | type: gauge 811 | - name: unifiVapCcq 812 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.3 813 | type: gauge 814 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.3' 815 | indexes: 816 | - labelname: unifiVapIndex 817 | type: gauge 818 | - name: unifiVapChannel 819 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.4 820 | type: gauge 821 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.4' 822 | indexes: 823 | - labelname: unifiVapIndex 824 | type: gauge 825 | - name: unifiVapExtChannel 826 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.5 827 | type: gauge 828 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.5' 829 | indexes: 830 | - labelname: unifiVapIndex 831 | type: gauge 832 | - name: unifiVapEssId 833 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.6 834 | type: DisplayString 835 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.6' 836 | indexes: 837 | - labelname: unifiVapIndex 838 | type: gauge 839 | - name: unifiVapName 840 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.7 841 | type: DisplayString 842 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.7' 843 | indexes: 844 | - labelname: unifiVapIndex 845 | type: gauge 846 | - name: unifiVapNumStations 847 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.8 848 | type: gauge 849 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.8' 850 | indexes: 851 | - labelname: unifiVapIndex 852 | type: gauge 853 | - name: unifiVapRadio 854 | oid: 1.3.6.1.4.1.41112.1.6.1.2.1.9 855 | type: DisplayString 856 | help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.9' 857 | indexes: 858 | - labelname: unifiVapIndex 859 | type: gauge 860 | - name: unifiIfIndex 861 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.1 862 | type: gauge 863 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.1' 864 | indexes: 865 | - labelname: unifiIfIndex 866 | type: gauge 867 | - name: unifiIfRxPackets 868 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.10 869 | type: counter 870 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.10' 871 | indexes: 872 | - labelname: unifiIfIndex 873 | type: gauge 874 | - name: unifiIfSpeed 875 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.11 876 | type: gauge 877 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.11' 878 | indexes: 879 | - labelname: unifiIfIndex 880 | type: gauge 881 | - name: unifiIfTxBytes 882 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.12 883 | type: counter 884 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.12' 885 | indexes: 886 | - labelname: unifiIfIndex 887 | type: gauge 888 | - name: unifiIfTxDropped 889 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.13 890 | type: counter 891 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.13' 892 | indexes: 893 | - labelname: unifiIfIndex 894 | type: gauge 895 | - name: unifiIfTxError 896 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.14 897 | type: counter 898 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.14' 899 | indexes: 900 | - labelname: unifiIfIndex 901 | type: gauge 902 | - name: unifiIfTxPackets 903 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.15 904 | type: counter 905 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.15' 906 | indexes: 907 | - labelname: unifiIfIndex 908 | type: gauge 909 | - name: unifiIfUp 910 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.16 911 | type: gauge 912 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.16' 913 | indexes: 914 | - labelname: unifiIfIndex 915 | type: gauge 916 | - name: unifiIfFullDuplex 917 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.2 918 | type: gauge 919 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.2' 920 | indexes: 921 | - labelname: unifiIfIndex 922 | type: gauge 923 | - name: unifiIfIp 924 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.3 925 | type: IpAddr 926 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.3' 927 | indexes: 928 | - labelname: unifiIfIndex 929 | type: gauge 930 | - name: unifiIfMac 931 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.4 932 | type: PhysAddress48 933 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.4' 934 | indexes: 935 | - labelname: unifiIfIndex 936 | type: gauge 937 | - name: unifiIfName 938 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.5 939 | type: DisplayString 940 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.5' 941 | indexes: 942 | - labelname: unifiIfIndex 943 | type: gauge 944 | - name: unifiIfRxBytes 945 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.6 946 | type: counter 947 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.6' 948 | indexes: 949 | - labelname: unifiIfIndex 950 | type: gauge 951 | - name: unifiIfRxDropped 952 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.7 953 | type: counter 954 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.7' 955 | indexes: 956 | - labelname: unifiIfIndex 957 | type: gauge 958 | - name: unifiIfRxError 959 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.8 960 | type: counter 961 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.8' 962 | indexes: 963 | - labelname: unifiIfIndex 964 | type: gauge 965 | - name: unifiIfRxMulticast 966 | oid: 1.3.6.1.4.1.41112.1.6.2.1.1.9 967 | type: counter 968 | help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.9' 969 | indexes: 970 | - labelname: unifiIfIndex 971 | type: gauge 972 | - name: unifiApSystemIp 973 | oid: 1.3.6.1.4.1.41112.1.6.3.1 974 | type: IpAddr 975 | help: ' - 1.3.6.1.4.1.41112.1.6.3.1' 976 | - name: unifiApSystemIsolated 977 | oid: 1.3.6.1.4.1.41112.1.6.3.2 978 | type: gauge 979 | help: ' - 1.3.6.1.4.1.41112.1.6.3.2' 980 | - name: unifiApSystemModel 981 | oid: 1.3.6.1.4.1.41112.1.6.3.3 982 | type: DisplayString 983 | help: ' - 1.3.6.1.4.1.41112.1.6.3.3' 984 | - name: unifiApSystemUplink 985 | oid: 1.3.6.1.4.1.41112.1.6.3.4 986 | type: DisplayString 987 | help: ' - 1.3.6.1.4.1.41112.1.6.3.4' 988 | - name: unifiApSystemUptime 989 | oid: 1.3.6.1.4.1.41112.1.6.3.5 990 | type: counter 991 | help: ' - 1.3.6.1.4.1.41112.1.6.3.5' 992 | - name: unifiApSystemVersion 993 | oid: 1.3.6.1.4.1.41112.1.6.3.6 994 | type: DisplayString 995 | help: ' - 1.3.6.1.4.1.41112.1.6.3.6' 996 | --------------------------------------------------------------------------------