|
| 1 | +extends: |
| 2 | + - system-mib.yml |
| 3 | + - if-mib.yml |
| 4 | + |
| 5 | +provider: kentik-switch |
| 6 | +sysobjectid: |
| 7 | + - 1.3.6.1.4.1.14988.2.* # Mikrotik SwOS |
| 8 | + |
| 9 | +metrics: |
| 10 | + # Optical Table (SFP monitoring) |
| 11 | + - MIB: MIKROTIK-MIB |
| 12 | + table: |
| 13 | + OID: 1.3.6.1.4.1.14988.1.1.19.1 |
| 14 | + name: mtxrOpticalTable |
| 15 | + description: SFP information |
| 16 | + symbols: |
| 17 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.6 |
| 18 | + name: mtxrOpticalTemperature |
| 19 | + description: Temperature of the SFP module |
| 20 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.10 |
| 21 | + name: mtxrOpticalRxPower |
| 22 | + description: Received signal power |
| 23 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.9 |
| 24 | + name: mtxrOpticalTxPower |
| 25 | + description: Transmit signal power |
| 26 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.4 |
| 27 | + name: mtxrOpticalTxFault |
| 28 | + enum: |
| 29 | + "false": 0 |
| 30 | + "true": 1 |
| 31 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.3 |
| 32 | + name: mtxrOpticalRxLoss |
| 33 | + enum: |
| 34 | + "false": 0 |
| 35 | + "true": 1 |
| 36 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.7 |
| 37 | + name: mtxrOpticalSupplyVoltage |
| 38 | + - OID: 1.3.6.1.4.1.14988.1.1.19.1.1.8 |
| 39 | + name: mtxrOpticalTxBiasCurrent |
| 40 | + metric_tags: |
| 41 | + - column: |
| 42 | + OID: 1.3.6.1.4.1.14988.1.1.19.1.1.2 |
| 43 | + name: mtxrOpticalName |
| 44 | + description: Name of the SFP port |
| 45 | + |
| 46 | + # Interface Metrics (switch SwOS specific) |
| 47 | + - MIB: IF-MIB |
| 48 | + table: |
| 49 | + OID: 1.3.6.1.2.1.2.2 |
| 50 | + name: ifTable |
| 51 | + symbols: |
| 52 | + - OID: 1.3.6.1.2.1.31.1.1.1.6 |
| 53 | + name: ifHCInOctets |
| 54 | + poll_time_sec: 60 |
| 55 | + - OID: 1.3.6.1.2.1.31.1.1.1.10 |
| 56 | + name: ifHCOutOctets |
| 57 | + poll_time_sec: 60 |
| 58 | + - OID: 1.3.6.1.2.1.2.2.1.8 |
| 59 | + name: ifOperStatus |
| 60 | + poll_time_sec: 60 |
| 61 | + enum: |
| 62 | + up: 1 |
| 63 | + down: 2 |
| 64 | + testing: 3 |
| 65 | + - OID: 1.3.6.1.2.1.2.2.1.14 |
| 66 | + name: ifInErrors |
| 67 | + poll_time_sec: 60 |
| 68 | + - OID: 1.3.6.1.2.1.2.2.1.20 |
| 69 | + name: ifOutErrors |
| 70 | + poll_time_sec: 60 |
| 71 | + metric_tags: |
| 72 | + - column: |
| 73 | + OID: 1.3.6.1.2.1.31.1.1.1.1 |
| 74 | + name: ifName |
| 75 | + - column: |
| 76 | + OID: 1.3.6.1.2.1.2.2.1.2 |
| 77 | + name: ifDescr |
| 78 | + - column: |
| 79 | + OID: 1.3.6.1.2.1.31.1.1.1.18 |
| 80 | + name: ifAlias |
| 81 | + |
| 82 | + - MIB: IF-MIB |
| 83 | + table: |
| 84 | + OID: 1.3.6.1.2.1.2.2 |
| 85 | + name: ifTable |
| 86 | + symbols: |
| 87 | + - OID: 1.3.6.1.2.1.31.1.1.1.15 |
| 88 | + name: ifHighSpeed |
| 89 | + poll_time_sec: 60 |
| 90 | + description: Interface speed in Mbps |
| 91 | + - OID: 1.3.6.1.2.1.2.2.1.7 |
| 92 | + name: ifAdminStatus |
| 93 | + poll_time_sec: 60 |
| 94 | + enum: |
| 95 | + up: 1 |
| 96 | + down: 2 |
| 97 | + testing: 3 |
| 98 | + - OID: 1.3.6.1.2.1.31.1.1.1.7 |
| 99 | + name: ifHCInUcastPkts |
| 100 | + poll_time_sec: 60 |
| 101 | + - OID: 1.3.6.1.2.1.31.1.1.1.11 |
| 102 | + name: ifHCOutUcastPkts |
| 103 | + poll_time_sec: 60 |
| 104 | + - OID: 1.3.6.1.2.1.31.1.1.1.8 |
| 105 | + name: ifHCInMulticastPkts |
| 106 | + poll_time_sec: 60 |
| 107 | + - OID: 1.3.6.1.2.1.31.1.1.1.12 |
| 108 | + name: ifHCOutMulticastPkts |
| 109 | + poll_time_sec: 60 |
| 110 | + - OID: 1.3.6.1.2.1.31.1.1.1.9 |
| 111 | + name: ifHCInBroadcastPkts |
| 112 | + poll_time_sec: 60 |
| 113 | + - OID: 1.3.6.1.2.1.31.1.1.1.13 |
| 114 | + name: ifHCOutBroadcastPkts |
| 115 | + poll_time_sec: 60 |
| 116 | + # Adicionar contadores de descarte |
| 117 | + - OID: 1.3.6.1.2.1.2.2.1.13 |
| 118 | + name: ifInDiscards |
| 119 | + poll_time_sec: 60 |
| 120 | + - OID: 1.3.6.1.2.1.2.2.1.19 |
| 121 | + name: ifOutDiscards |
| 122 | + poll_time_sec: 60 |
| 123 | + |
| 124 | + # Basic system |
| 125 | + - MIB: SNMPv2-MIB |
| 126 | + symbols: |
| 127 | + - OID: 1.3.6.1.2.1.1.3.0 |
| 128 | + name: sysUpTime |
| 129 | + poll_time_sec: 60 |
| 130 | + - OID: 1.3.6.1.2.1.1.4.0 |
| 131 | + name: sysContact |
| 132 | + poll_time_sec: 300 |
| 133 | + - OID: 1.3.6.1.2.1.1.5.0 |
| 134 | + name: sysName |
| 135 | + poll_time_sec: 300 |
| 136 | + - OID: 1.3.6.1.2.1.1.6.0 |
| 137 | + name: sysLocation |
| 138 | + poll_time_sec: 300 |
0 commit comments