├── LICENSE ├── readme.md ├── zabbix4.4 ├── readme.md └── zbx_edgemax_template.xml ├── zabbix5.0 ├── readme.md └── zbx_edgemax_template.xml ├── zabbix6.0 ├── zbx_edgemax_template_6.0LTS.xml └── zbx_edgemax_template_6.4.xml └── zabbix7.0 └── zbx_edgemax_template_7.0.yaml /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Albin 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Zabbix: EdgeMAX Template (SNMPv2) 2 | 3 | This template allows you to quickly get up and running with monitoring of Ubiquiti's EdgeRouter line of devices. It allows for auto-discovering of network interfaces and automatically applies some triggers for the discovered network interfaces. Many more triggers are included but disabled by default. It also includes a modifed version of the default template "Generic by SNMP" to add graphs for packet loss and response time. 4 | 5 | ## ⚙️ Installation 6 | 7 | 1. Select a branch according to your Zabbix version and download the xml. 8 | 2. Import *zbx_edgemax_template.xml* to Zabbix (Configuration -> Templates -> Import) 9 | 3. Add the template *EdgeMAX SNMPv2* to your host and configure 10 | 1. Add *{$SNMP_COMMUNITY}* to your host's macros and configure it. (default is usually public) 11 | 4. Enable the *SNMP* agent on your EdgeMAX device. 12 | 1. Set *SNMP community* to the same value as your macro or the other way around. 13 | 14 | ## 🏷️ Features 15 | - ✔️ Support Zabbix 7.0 yaml template format 16 | - ✔️ Monitoring of memory utiliziation of system 17 | - ✔️ Monitoring of CPU load percents and Load Average 18 | - ✔️ Auto discovering of network interfaces 19 | - ✔️ Monitoring address per network interface 20 | - ✔️ Monitoring traffic in/out per network interface 21 | - ✔️ Monitoring up/down status per network interface 22 | - ⚠️ Monitoring link speed per network interface (see issues) 23 | - 🔶 Linked with **Generic by SNMP** (now included). 24 | 25 | ## 📣 Triggers 26 | Items with checks are enable by default. Those with Xs are disabled by default. You can customise your triggers to your needs per network interfaces. 27 | 28 | From linked template: 29 | - ✅ High ping loss 30 | - ✅ High response time 31 | - ✅ Host has been restarted 32 | - ✅ No SNMP data 33 | - ✅ System name has changed 34 | - ✅ Unavailable by ping 35 | 36 | From this template: 37 | - ✅ High memory usage 38 | - ✅ High system load 39 | - ✅ Interface address has changed 40 | - ✅ Interface status has changed 41 | - ❎ Interface is not up (1) 42 | 43 | ## Supported models 44 | This should work with all EdgeRouters. Partial compatibility with Edgeswitches. 45 | 46 | Updated as of 2023-11-08. 47 | - **EdgeRouter** 48 | - ER-X 49 | - ER-4 ([Reported by notfixingit3](https://github.com/albin-lindstrom/zabbix-edgemax-template/pull/16#issuecomment-1817275261)) 50 | - ER-5 ( + poe) 51 | - ER-6 ( + poe) 52 | - ER-12P ([Reported by andymarden](https://github.com/albin-lindstrom/zabbix-edgemax-template/pull/16#issuecomment-1801248424)) 53 | - ER-Pro ([Reported by notfixingit3](https://github.com/albin-lindstrom/zabbix-edgemax-template/pull/16#issuecomment-1817275261)) 54 | 55 | - **EdgeSwitch** 56 | - ES-10XP 57 | 58 | ## Issues 59 | - [Wrong ethernet link status/speed via SNMP](https://community.ui.com/questions/Wrong-ethernet-link-status-speed-via-SNMP/6e50940c-3cc1-4242-9881-5c03e7892ebf) 60 | (some of this issue is due to how ubiquiti is treating "standard" SNMP OIDs. The link status should be fixed but the speed is still troublesome) 61 | 62 | 63 | ## License 64 | [MIT](https://choosealicense.com/licenses/mit/) 65 | -------------------------------------------------------------------------------- /zabbix4.4/readme.md: -------------------------------------------------------------------------------- 1 | # Zabbix 4.4: EdgeMAX Template (SNMPv2) 2 | 3 | ## License 4 | [MIT](https://choosealicense.com/licenses/mit/) -------------------------------------------------------------------------------- /zabbix4.4/zbx_edgemax_template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.4 4 | 2020-04-30T16:55:32Z 5 | 6 | 7 | Templates/Network devices 8 | 9 | 10 | 11 | 420 | 421 | 422 | 423 | IF-MIB::ifOperStatus 424 | 425 | 426 | 1 427 | up 428 | 429 | 430 | 2 431 | down 432 | 433 | 434 | 4 435 | unknown 436 | 437 | 438 | 5 439 | dormant 440 | 441 | 442 | 6 443 | notPresent 444 | 445 | 446 | 7 447 | lowerLayerDown 448 | 449 | 450 | 451 | 452 | 453 | -------------------------------------------------------------------------------- /zabbix5.0/readme.md: -------------------------------------------------------------------------------- 1 | # Zabbix 5.0: EdgeMAX Template (SNMPv2) 2 | 3 | ## License 4 | [MIT](https://choosealicense.com/licenses/mit/) -------------------------------------------------------------------------------- /zabbix5.0/zbx_edgemax_template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5.0 4 | 2020-08-19T22:17:43Z 5 | 6 | 7 | Templates/Network devices 8 | 9 | 10 | 11 | 284 | 285 | 286 | -------------------------------------------------------------------------------- /zabbix6.0/zbx_edgemax_template_6.0LTS.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6.0 4 | 2023-12-03T19:34:58Z 5 | 6 | 7 | 36bff6c29af64692839d077febfc7079 8 | Templates/Network devices 9 | 10 | 11 | 12 | 550 | 551 | 552 | 553 | 66415b709399470bb181f7c604f7b00a 554 | EdgeMAX: Memory usage 555 | 500 556 | NO 557 | NO 558 | STACKED 559 | 560 | 561 | F63100 562 | MIN 563 | 564 | EdgeMAX SNMPv2 565 | MemBuffers 566 | 567 | 568 | 569 | 1 570 | 2774A4 571 | MIN 572 | 573 | EdgeMAX SNMPv2 574 | MemCached 575 | 576 | 577 | 578 | 2 579 | 199C0D 580 | MIN 581 | 582 | EdgeMAX SNMPv2 583 | MemAvailable 584 | 585 | 586 | 587 | 588 | 589 | f260a63bc3b04c3b80b47f83bb05ed9c 590 | EdgeMAX: Memory Used 591 | 50 592 | FIXED 593 | 594 | 595 | 199C0D 596 | ALL 597 | 598 | EdgeMAX SNMPv2 599 | MemUtil 600 | 601 | 602 | 603 | 604 | 605 | f6837489bd7246fcb6296b62a604b6a1 606 | EdgeMAX: System Load 607 | FIXED 608 | 609 | 610 | 199C0D 611 | ALL 612 | 613 | EdgeMAX SNMPv2 614 | Load1Minute 615 | 616 | 617 | 618 | 1 619 | F63100 620 | ALL 621 | 622 | EdgeMAX SNMPv2 623 | Load5Minute 624 | 625 | 626 | 627 | 2 628 | 2774A4 629 | ALL 630 | 631 | EdgeMAX SNMPv2 632 | Load15Minute 633 | 634 | 635 | 636 | 637 | 638 | 639 | -------------------------------------------------------------------------------- /zabbix6.0/zbx_edgemax_template_6.4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6.4 4 | 5 | 6 | 57b7ae836ca64446ba2c296389c009b7 7 | Templates/Modules 8 | 9 | 10 | 36bff6c29af64692839d077febfc7079 11 | Templates/Network devices 12 | 13 | 14 | 15 | 758 | 1239 | 1240 | 1241 | 1242 | 6f00359af55f45909bdecbad234c7654 1243 | (last(/Generic by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/Generic by SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Generic by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/Generic by SNMP/system.net.uptime[sysUpTime.0])<10m) 1244 | Generic SNMP: Host has been restarted 1245 | Generic SNMP: {HOST.NAME} has been restarted (uptime < 10m) 1246 | WARNING 1247 | Uptime is less than 10 minutes. 1248 | YES 1249 | 1250 | 1251 | Generic SNMP: No SNMP data collection 1252 | max(/Generic by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0 1253 | 1254 | 1255 | 1256 | 1257 | scope 1258 | notice 1259 | 1260 | 1261 | 1262 | 1263 | 1264 | 1265 | 66415b709399470bb181f7c604f7b00a 1266 | EdgeMAX: Memory usage 1267 | 500 1268 | NO 1269 | NO 1270 | STACKED 1271 | 1272 | 1273 | F63100 1274 | MIN 1275 | 1276 | EdgeMAX SNMPv2 1277 | MemBuffers 1278 | 1279 | 1280 | 1281 | 1 1282 | 2774A4 1283 | MIN 1284 | 1285 | EdgeMAX SNMPv2 1286 | MemCached 1287 | 1288 | 1289 | 1290 | 2 1291 | 199C0D 1292 | MIN 1293 | 1294 | EdgeMAX SNMPv2 1295 | MemAvailable 1296 | 1297 | 1298 | 1299 | 1300 | 1301 | f260a63bc3b04c3b80b47f83bb05ed9c 1302 | EdgeMAX: Memory Used 1303 | 50 1304 | FIXED 1305 | 1306 | 1307 | 199C0D 1308 | ALL 1309 | 1310 | EdgeMAX SNMPv2 1311 | MemUtil 1312 | 1313 | 1314 | 1315 | 1316 | 1317 | f6837489bd7246fcb6296b62a604b6a1 1318 | EdgeMAX: System Load 1319 | FIXED 1320 | 1321 | 1322 | 199C0D 1323 | ALL 1324 | 1325 | EdgeMAX SNMPv2 1326 | Load1Minute 1327 | 1328 | 1329 | 1330 | 1 1331 | F63100 1332 | ALL 1333 | 1334 | EdgeMAX SNMPv2 1335 | Load5Minute 1336 | 1337 | 1338 | 1339 | 2 1340 | 2774A4 1341 | ALL 1342 | 1343 | EdgeMAX SNMPv2 1344 | Load15Minute 1345 | 1346 | 1347 | 1348 | 1349 | 1350 | 307cfed25c3f4187a8aa152d393d2c29 1351 | Generic by SNMP: Ping lost 1352 | FIXED 1353 | 1354 | 1355 | 199C0D 1356 | ALL 1357 | 1358 | Generic by SNMP 1359 | icmppingloss 1360 | 1361 | 1362 | 1363 | 1364 | 1365 | 4a74e5ea505a43bea4b56a34e9f80926 1366 | Generic by SNMP: Ping time 1367 | FIXED 1368 | 1369 | 1370 | 199C0D 1371 | ALL 1372 | 1373 | Generic by SNMP 1374 | icmppingsec 1375 | 1376 | 1377 | 1378 | 1379 | 1380 | 1381 | -------------------------------------------------------------------------------- /zabbix7.0/zbx_edgemax_template_7.0.yaml: -------------------------------------------------------------------------------- 1 | zabbix_export: 2 | version: '7.0' 3 | template_groups: 4 | - uuid: 36bff6c29af64692839d077febfc7079 5 | name: 'Templates/Network devices' 6 | templates: 7 | - uuid: 51e0e9a9f0ca49569840767018bb586a 8 | template: 'EdgeMAX SNMPv2' 9 | name: 'EdgeMAX SNMPv2' 10 | templates: 11 | - name: 'Generic by SNMP' 12 | groups: 13 | - name: 'Templates/Network devices' 14 | items: 15 | - uuid: 62c2558cc3b24573bb425869bd680ae0 16 | name: 'EdgeMAX: Load average last 1 minute' 17 | type: SNMP_AGENT 18 | snmp_oid: 1.3.6.1.4.1.2021.10.1.3.1 19 | key: Load1Minute 20 | history: 1d 21 | value_type: FLOAT 22 | tags: 23 | - tag: component 24 | value: load 25 | - tag: component 26 | value: system 27 | triggers: 28 | - uuid: 229564ad1b274f4887812a3af0ffafc6 29 | expression: 'last(/EdgeMAX SNMPv2/Load1Minute)>{$LOAD_AVG_PER_CPU.MAX.WARN}' 30 | recovery_mode: RECOVERY_EXPRESSION 31 | recovery_expression: 'last(/EdgeMAX SNMPv2/Load1Minute)<{$LOAD_AVG_PER_CPU.MAX.WARN}' 32 | name: 'EdgeMAX: Load average is too high (per CPU load over {$LOAD_AVG_PER_CPU.MAX.WARN} for 1m)' 33 | opdata: 'Load averages(1m): {ITEM.LASTVALUE1}' 34 | priority: AVERAGE 35 | description: 'Per CPU load average is too high. Your system may be slow to respond.' 36 | tags: 37 | - tag: scope 38 | value: performance 39 | - uuid: 268fe8c15d99415dafd32fec95ebb9f0 40 | name: 'EdgeMAX: Load average last 5 minute' 41 | type: SNMP_AGENT 42 | snmp_oid: 1.3.6.1.4.1.2021.10.1.3.2 43 | key: Load5Minute 44 | history: 1d 45 | value_type: FLOAT 46 | description: '5 minute Load' 47 | tags: 48 | - tag: component 49 | value: load 50 | - tag: component 51 | value: system 52 | - uuid: effdbb0807574ffa80fa9ee2deaf9685 53 | name: 'EdgeMAX: Load average last 15 minutes' 54 | type: SNMP_AGENT 55 | snmp_oid: 1.3.6.1.4.1.2021.10.1.3.3 56 | key: Load15Minute 57 | history: 1d 58 | value_type: FLOAT 59 | description: '15 minute Load' 60 | tags: 61 | - tag: component 62 | value: load 63 | - tag: component 64 | value: system 65 | - uuid: 55d17189b0894e5bb5aed103ca860527 66 | name: 'EdgeMAX: Total amount of available memory' 67 | type: SNMP_AGENT 68 | snmp_oid: 1.3.6.1.4.1.2021.4.6.0 69 | key: MemAvailable 70 | history: 7d 71 | trends: '0' 72 | units: b 73 | preprocessing: 74 | - type: MULTIPLIER 75 | parameters: 76 | - '1000' 77 | tags: 78 | - tag: component 79 | value: memory 80 | - tag: component 81 | value: system 82 | - uuid: 8a61a3d93e194ee7a44420db20b37de6 83 | name: 'EdgeMAX: Total amount of buffers' 84 | type: SNMP_AGENT 85 | snmp_oid: 1.3.6.1.4.1.2021.4.14.0 86 | key: MemBuffers 87 | history: 7d 88 | trends: '0' 89 | units: b 90 | preprocessing: 91 | - type: MULTIPLIER 92 | parameters: 93 | - '1000' 94 | tags: 95 | - tag: component 96 | value: memory 97 | - tag: component 98 | value: system 99 | - uuid: c858f465d2bb4651a23bcfa86596c371 100 | name: 'EdgeMAX: Total amount of cached' 101 | type: SNMP_AGENT 102 | snmp_oid: 1.3.6.1.4.1.2021.4.15.0 103 | key: MemCached 104 | history: 7d 105 | trends: '0' 106 | units: b 107 | preprocessing: 108 | - type: MULTIPLIER 109 | parameters: 110 | - '1000' 111 | tags: 112 | - tag: component 113 | value: memory 114 | - tag: component 115 | value: system 116 | - uuid: ba758bc30b3a47f69f834e6815589a2d 117 | name: 'EdgeMAX: Total amount of memory' 118 | type: SNMP_AGENT 119 | snmp_oid: 1.3.6.1.4.1.2021.4.5.0 120 | key: MemTotal 121 | history: 7d 122 | trends: '0' 123 | units: b 124 | preprocessing: 125 | - type: MULTIPLIER 126 | parameters: 127 | - '1000' 128 | tags: 129 | - tag: component 130 | value: memory 131 | - tag: component 132 | value: system 133 | - uuid: b3f2f99e384a492d8d838c007a9f1081 134 | name: 'EdgeMAX: Used memory' 135 | type: CALCULATED 136 | key: MemUsed 137 | history: 7d 138 | trends: '0' 139 | units: b 140 | params: last(//MemTotal)-last(//MemAvailable) 141 | tags: 142 | - tag: component 143 | value: memory 144 | - tag: component 145 | value: system 146 | - uuid: 74e161402bc1440e8d30a413c7a0968e 147 | name: 'EdgeMAX: Memory utizilation' 148 | type: CALCULATED 149 | key: MemUtil 150 | history: 7d 151 | value_type: FLOAT 152 | trends: '0' 153 | units: '%' 154 | params: '(last(//MemUsed)-last(//MemBuffers)-last(//MemCached))/last(//MemTotal)*100' 155 | preprocessing: 156 | - type: JAVASCRIPT 157 | parameters: 158 | - 'return Math.floor(value)' 159 | tags: 160 | - tag: component 161 | value: memory 162 | - tag: component 163 | value: system 164 | triggers: 165 | - uuid: a30deff68b824ca2b8cd81ae889cdf2f 166 | expression: 'min(/EdgeMAX SNMPv2/MemUtil,5m)>{$MEMORY.UTIL.MAX}' 167 | recovery_mode: RECOVERY_EXPRESSION 168 | recovery_expression: 'max(/EdgeMAX SNMPv2/MemUtil,5m)<{$MEMORY.UTIL.MAX}' 169 | name: 'EdgeMAX: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)' 170 | opdata: 'Memory utilization: {ITEM.LASTVALUE1}' 171 | priority: WARNING 172 | description: 'The system is running out of free memory.' 173 | tags: 174 | - tag: scope 175 | value: performance 176 | - uuid: 84ca994c46c745c188b66049cd7876b2 177 | name: 'CPU utilization' 178 | type: CALCULATED 179 | key: system.cpu.util 180 | history: 7d 181 | value_type: FLOAT 182 | params: 'avg(last_foreach(//sys.cpu_load[*],1m))' 183 | - uuid: 0452cf98dc254c81b8a71784599a7515 184 | name: 'EdgeMAX: CPU Discovery Master SNMP Item' 185 | type: SNMP_AGENT 186 | snmp_oid: 'walk[1.3.6.1.2.1.25.3.2.1.1,1.3.6.1.2.1.25.3.2.1.2]' 187 | key: system.hr.devices.walk 188 | delay: 1d 189 | history: '0' 190 | value_type: TEXT 191 | trends: '0' 192 | description: 'Base item for enumerated hardware resources.' 193 | discovery_rules: 194 | - uuid: be1135f460a74849ababed15f93ccceb 195 | name: 'CPU discovery (dependent)' 196 | type: DEPENDENT 197 | key: cpu.discovery 198 | delay: '0' 199 | item_prototypes: 200 | - uuid: 3b9727a57dee4742b7684130e845e676 201 | name: 'CPU{#CPU_COUNTER} load' 202 | type: SNMP_AGENT 203 | snmp_oid: '1.3.6.1.2.1.25.3.3.1.2.{#DEV_ID}' 204 | key: 'sys.cpu_load[{#CPU_COUNTER}]' 205 | history: 7d 206 | units: '%' 207 | master_item: 208 | key: system.hr.devices.walk 209 | preprocessing: 210 | - type: SNMP_WALK_TO_JSON 211 | parameters: 212 | - '{#DEV_ID}' 213 | - 1.3.6.1.2.1.25.3.2.1.1 214 | - '0' 215 | - '{#DEV_TYPE}' 216 | - 1.3.6.1.2.1.25.3.2.1.2 217 | - '0' 218 | - type: JAVASCRIPT 219 | parameters: 220 | - | 221 | try { 222 | var data = JSON.parse(value); 223 | } 224 | catch (error) { 225 | throw 'Failed to parse JSON of HOST-RESOURCES-MIB::hrProcessorLoad discovery'; 226 | } 227 | 228 | var fields = ['{#SNMPINDEX}', '{#DEV_ID}', '{#DEV_TYPE}']; 229 | var filteredData = data.filter(function (element) { 230 | return element['{#DEV_TYPE}'] === '.1.3.6.1.2.1.25.3.1.3'; 231 | }); 232 | 233 | var counter = 0; 234 | 235 | filteredData.forEach(function (element) { 236 | fields.forEach(function (field) { 237 | element[field] = element[field] || ''; 238 | }); 239 | element['{#CPU_COUNTER}'] = counter++; 240 | }); 241 | 242 | return JSON.stringify(filteredData); 243 | - uuid: 36f64bd4b35d41d9a8fde299df72ca9a 244 | name: 'Network interfaces discovery' 245 | type: SNMP_AGENT 246 | snmp_oid: 'discovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1]' 247 | key: NetworkInterface 248 | delay: 1d 249 | lifetime: 30d 250 | enabled_lifetime_type: DISABLE_NEVER 251 | item_prototypes: 252 | - uuid: a922c4529f82490287f0cbb29997f331 253 | name: 'Interface {#IFNAME} : Bits received' 254 | type: SNMP_AGENT 255 | snmp_oid: '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}' 256 | key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]' 257 | history: 7d 258 | trends: '0' 259 | units: bps 260 | preprocessing: 261 | - type: CHANGE_PER_SECOND 262 | parameters: 263 | - '' 264 | - type: MULTIPLIER 265 | parameters: 266 | - '8' 267 | tags: 268 | - tag: Application 269 | value: 'Interface Speed' 270 | - tag: component 271 | value: network 272 | - uuid: c01af9e30682460fa97177bc067f7327 273 | name: 'Interface {#IFNAME} : Address' 274 | type: SNMP_AGENT 275 | snmp_oid: '1.3.6.1.2.1.4.20.1.1[index, 1.3.6.1.2.1.4.20.1.2, {#SNMPINDEX}]' 276 | key: 'net.if.ip[ipAddrEntry.{#SNMPINDEX}]' 277 | delay: 10m 278 | value_type: TEXT 279 | trends: '0' 280 | tags: 281 | - tag: Application 282 | value: 'interface ip address' 283 | - tag: component 284 | value: network 285 | trigger_prototypes: 286 | - uuid: b3ee11aac54940819c9615d7ced39e33 287 | expression: 'last(/EdgeMAX SNMPv2/net.if.ip[ipAddrEntry.{#SNMPINDEX}],#1)<>last(/EdgeMAX SNMPv2/net.if.ip[ipAddrEntry.{#SNMPINDEX}],#2) and length(last(/EdgeMAX SNMPv2/net.if.ip[ipAddrEntry.{#SNMPINDEX}]))>0' 288 | recovery_mode: NONE 289 | name: 'EdgeMAX: Interface {#IFNAME} address has changed' 290 | event_name: 'EdgeMAX: Interface {#IFNAME} address on {HOST.HOST} has changed from {FUNCTION.VALUE2} to {FUNCTION.VALUE3}.' 291 | opdata: 'Interface {#IFNAME} address is {ITEM.LASTVALUE1}' 292 | priority: INFO 293 | description: 'The interface address has changed. Acknowledge to close the problem manually.' 294 | type: MULTIPLE 295 | manual_close: 'YES' 296 | - uuid: b067d0d9f6cf4212a35849f2d6d6309f 297 | name: 'Interface {#IFNAME} : Bits sent' 298 | type: SNMP_AGENT 299 | snmp_oid: '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}' 300 | key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]' 301 | history: 7d 302 | trends: '0' 303 | units: bps 304 | preprocessing: 305 | - type: CHANGE_PER_SECOND 306 | parameters: 307 | - '' 308 | - type: MULTIPLIER 309 | parameters: 310 | - '8' 311 | tags: 312 | - tag: Application 313 | value: 'Interface Speed' 314 | - tag: component 315 | value: network 316 | - uuid: bf8592a3ac8246f7b883b387438c80c2 317 | name: 'Interface {#IFNAME} : Speed' 318 | type: SNMP_AGENT 319 | snmp_oid: '1.3.6.1.2.1.2.2.1.5.{#SNMPINDEX}' 320 | key: 'net.if.speed[ifHighSpeed.{#SNMPINDEX}]' 321 | delay: 10m 322 | history: 1d 323 | trends: '0' 324 | units: bps 325 | preprocessing: 326 | - type: DISCARD_UNCHANGED_HEARTBEAT 327 | parameters: 328 | - 1h 329 | tags: 330 | - tag: Application 331 | value: 'Interface Speed' 332 | - tag: component 333 | value: network 334 | - uuid: 650af0d82a9f495db7b174940d56a873 335 | name: 'Interface {#IFNAME} : Status' 336 | type: SNMP_AGENT 337 | snmp_oid: '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}' 338 | key: 'net.if.status[ifOperStatus.{#SNMPINDEX}]' 339 | history: 7d 340 | trends: '0' 341 | valuemap: 342 | name: ifOperStatus 343 | tags: 344 | - tag: Application 345 | value: 'interface status' 346 | - tag: component 347 | value: network 348 | trigger_prototypes: 349 | - uuid: f28b60068151468daf04255aca727604 350 | expression: 'last(/EdgeMAX SNMPv2/net.if.status[ifOperStatus.{#SNMPINDEX}])<>1' 351 | name: 'EdgeMAX: Interface {#IFNAME} is not up (1).' 352 | event_name: 'EdgeMAX: Interface {#IFNAME} on {HOST.HOST} status is not up (1).' 353 | opdata: 'Interface is currently {ITEM.VALUE1}' 354 | status: DISABLED 355 | priority: AVERAGE 356 | description: 'Interface status is not up (1). Get the interface up again to close the problem automatically.' 357 | - uuid: ed8cfda8eff44c01a8c18956bb18aef5 358 | expression: 'last(/EdgeMAX SNMPv2/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/EdgeMAX SNMPv2/net.if.status[ifOperStatus.{#SNMPINDEX}],#2) and last(/EdgeMAX SNMPv2/net.if.status[ifOperStatus.{#SNMPINDEX}],#2)=1' 359 | recovery_mode: RECOVERY_EXPRESSION 360 | recovery_expression: 'last(/EdgeMAX SNMPv2/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)=1' 361 | name: 'EdgeMAX: Interface {#IFNAME} status has changed' 362 | event_name: 'EdgeMAX: Interface {#IFNAME} on {HOST.HOST} status has changed from up (1).' 363 | opdata: 'Interface is currently {ITEM.VALUE1}' 364 | priority: AVERAGE 365 | description: 'Interface status has changed from up (1). Acknowledge to close the problem manually or get the interface up again to close the problem automatically' 366 | manual_close: 'YES' 367 | graph_prototypes: 368 | - uuid: 50b02b31a5c849ed8a469cbc1f74bb1f 369 | name: 'Interface {#IFNAME}: Network traffic' 370 | ymin_type_1: FIXED 371 | graph_items: 372 | - color: F63100 373 | calc_fnc: ALL 374 | item: 375 | host: 'EdgeMAX SNMPv2' 376 | key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]' 377 | - sortorder: '1' 378 | color: 199C0D 379 | calc_fnc: ALL 380 | item: 381 | host: 'EdgeMAX SNMPv2' 382 | key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]' 383 | macros: 384 | - macro: '{$LOAD_AVG_PER_CPU.MAX.WARN}' 385 | value: '1.5' 386 | description: 'This macro is used as a threshold in memory utilization trigger.' 387 | - macro: '{$MEMORY.UTIL.MAX}' 388 | value: '90' 389 | description: 'This macro is used as a threshold in memory utilization trigger.' 390 | dashboards: 391 | - uuid: f58a92b380334662982059edbee55cd7 392 | name: 'EdgeMAX: Network Interfaces' 393 | pages: 394 | - widgets: 395 | - type: graphprototype 396 | name: 'EdgeMAX: Network Interfaces' 397 | width: '72' 398 | height: '12' 399 | fields: 400 | - type: INTEGER 401 | name: columns 402 | value: '3' 403 | - type: GRAPH_PROTOTYPE 404 | name: graphid 405 | value: 406 | host: 'EdgeMAX SNMPv2' 407 | name: 'Interface {#IFNAME}: Network traffic' 408 | - type: STRING 409 | name: reference 410 | value: AAAAA 411 | - type: INTEGER 412 | name: rows 413 | value: '3' 414 | - uuid: 04ea8df74b3c4bfaaebb86184b65dc23 415 | name: 'EdgeMAX: System Statistics' 416 | pages: 417 | - widgets: 418 | - type: item 419 | width: '24' 420 | hide_header: 'YES' 421 | fields: 422 | - type: ITEM 423 | name: itemid.0 424 | value: 425 | host: 'EdgeMAX SNMPv2' 426 | key: system.name 427 | - type: INTEGER 428 | name: show.0 429 | value: '2' 430 | - type: INTEGER 431 | name: units_bold 432 | value: '0' 433 | - type: INTEGER 434 | name: units_show 435 | value: '0' 436 | - type: graph 437 | 'y': '2' 438 | width: '72' 439 | height: '5' 440 | fields: 441 | - type: GRAPH 442 | name: graphid.0 443 | value: 444 | host: 'EdgeMAX SNMPv2' 445 | name: 'EdgeMAX: CPU Load' 446 | - type: STRING 447 | name: reference 448 | value: DFDWE 449 | - type: graph 450 | 'y': '7' 451 | width: '36' 452 | height: '5' 453 | fields: 454 | - type: GRAPH 455 | name: graphid.0 456 | value: 457 | host: 'EdgeMAX SNMPv2' 458 | name: 'EdgeMAX: Memory usage' 459 | - type: STRING 460 | name: reference 461 | value: AAAAA 462 | - type: graph 463 | 'y': '12' 464 | width: '72' 465 | height: '5' 466 | fields: 467 | - type: GRAPH 468 | name: graphid.0 469 | value: 470 | host: 'EdgeMAX SNMPv2' 471 | name: 'EdgeMAX: System Load' 472 | - type: STRING 473 | name: reference 474 | value: FFKHC 475 | - type: item 476 | name: 'Uptime (network)' 477 | x: '24' 478 | width: '12' 479 | fields: 480 | - type: ITEM 481 | name: itemid.0 482 | value: 483 | host: 'EdgeMAX SNMPv2' 484 | key: 'system.net.uptime[sysUpTime.0]' 485 | - type: INTEGER 486 | name: show.0 487 | value: '2' 488 | - type: item 489 | name: 'Uptime (hardware)' 490 | x: '36' 491 | width: '12' 492 | fields: 493 | - type: ITEM 494 | name: itemid.0 495 | value: 496 | host: 'EdgeMAX SNMPv2' 497 | key: 'system.hw.uptime[hrSystemUptime.0]' 498 | - type: INTEGER 499 | name: show.0 500 | value: '2' 501 | - type: graph 502 | x: '36' 503 | 'y': '7' 504 | width: '36' 505 | height: '5' 506 | fields: 507 | - type: GRAPH 508 | name: graphid.0 509 | value: 510 | host: 'EdgeMAX SNMPv2' 511 | name: 'EdgeMAX: Memory Used' 512 | - type: STRING 513 | name: reference 514 | value: AAAAD 515 | valuemaps: 516 | - uuid: 5040d26951114decbb582ae0589c463a 517 | name: ifOperStatus 518 | mappings: 519 | - value: '1' 520 | newvalue: up 521 | - value: '2' 522 | newvalue: down 523 | - value: '3' 524 | newvalue: testing 525 | - value: '4' 526 | newvalue: unknown 527 | - value: '5' 528 | newvalue: dormant 529 | - value: '6' 530 | newvalue: notPresent 531 | - value: '7' 532 | newvalue: lowerLayerDow 533 | graphs: 534 | - uuid: 7445893be4c448ceae6c01ccc251aef0 535 | name: 'EdgeMAX: CPU Load' 536 | ymin_type_1: FIXED 537 | graph_items: 538 | - color: 199C0D 539 | calc_fnc: ALL 540 | item: 541 | host: 'EdgeMAX SNMPv2' 542 | key: system.cpu.util 543 | - uuid: 66415b709399470bb181f7c604f7b00a 544 | name: 'EdgeMAX: Memory usage' 545 | height: '500' 546 | show_work_period: 'NO' 547 | show_triggers: 'NO' 548 | type: STACKED 549 | graph_items: 550 | - color: F63100 551 | calc_fnc: MIN 552 | item: 553 | host: 'EdgeMAX SNMPv2' 554 | key: MemBuffers 555 | - sortorder: '1' 556 | color: 2774A4 557 | calc_fnc: MIN 558 | item: 559 | host: 'EdgeMAX SNMPv2' 560 | key: MemCached 561 | - sortorder: '2' 562 | color: 199C0D 563 | calc_fnc: MIN 564 | item: 565 | host: 'EdgeMAX SNMPv2' 566 | key: MemAvailable 567 | - uuid: f260a63bc3b04c3b80b47f83bb05ed9c 568 | name: 'EdgeMAX: Memory Used' 569 | percent_right: '50' 570 | ymin_type_1: FIXED 571 | graph_items: 572 | - color: 199C0D 573 | calc_fnc: ALL 574 | item: 575 | host: 'EdgeMAX SNMPv2' 576 | key: MemUtil 577 | - uuid: f6837489bd7246fcb6296b62a604b6a1 578 | name: 'EdgeMAX: System Load' 579 | ymin_type_1: FIXED 580 | graph_items: 581 | - color: 199C0D 582 | calc_fnc: ALL 583 | item: 584 | host: 'EdgeMAX SNMPv2' 585 | key: Load1Minute 586 | - sortorder: '1' 587 | color: F63100 588 | calc_fnc: ALL 589 | item: 590 | host: 'EdgeMAX SNMPv2' 591 | key: Load5Minute 592 | - sortorder: '2' 593 | color: 2774A4 594 | calc_fnc: ALL 595 | item: 596 | host: 'EdgeMAX SNMPv2' 597 | key: Load15Minute 598 | --------------------------------------------------------------------------------