zabbix-huawei-walk.yaml 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759
  1. zabbix_export:
  2. version: '7.4'
  3. template_groups:
  4. - uuid: 36bff6c29af64692839d077febfc7079
  5. name: 'Templates/Network devices'
  6. templates:
  7. - uuid: 40d1a1341f2641078acfb277da86503a
  8. template: 'Huawei VRP by SNMP walk'
  9. name: 'Huawei VRP by SNMP (walk)'
  10. description: |
  11. Huawei VRP SNMP template (walk + dependent items).
  12. Interface monitoring uses ONE SNMP bulk-walk master item (net.if.walk) plus a dependent LLD rule and 9 dependent item prototype families (status/type/speed/in/out/in.errors/out.errors/in.discards/out.discards), replacing legacy per-OID GetRequest polling. Per host SNMP interface requests drop from ~1962/OID-items to 1 bulk walk, cutting SNMP load by ~99% and eliminating down-port timeout storms.
  13. MIBs used:
  14. HUAWEI-ENTITY-MIB, HUAWEI-ENTITY-STATE-MIB, HUAWEI-ENTITY-EXTENT-MIB, IF-MIB, SNMPv2-MIB, HOST-RESOURCES-MIB
  15. vendor:
  16. name: FlyingRome
  17. version: 7.4-walk-1
  18. groups:
  19. - name: 'Templates/Network devices'
  20. items:
  21. - uuid: 66a5700949894b9a97b666c3444296a8
  22. name: 'ICMP ping'
  23. type: SIMPLE
  24. key: icmpping
  25. description: |
  26. The host accessibility by ICMP ping.
  27. 0 - ICMP ping fails;
  28. 1 - ICMP ping successful.
  29. valuemap:
  30. name: 'Service state'
  31. tags:
  32. - tag: component
  33. value: health
  34. - tag: component
  35. value: network
  36. triggers:
  37. - uuid: ca85dce96dd24ef89b5379de9e848ee2
  38. expression: 'max(/Huawei VRP by SNMP walk/icmpping,#3)=0'
  39. name: 'Huawei VRP: Unavailable by ICMP ping'
  40. priority: HIGH
  41. description: 'Last three attempts returned timeout. Please check device connectivity.'
  42. tags:
  43. - tag: scope
  44. value: availability
  45. - uuid: 0b45cf586b49426eb9249f1773ae4b27
  46. name: 'ICMP loss'
  47. type: SIMPLE
  48. key: icmppingloss
  49. value_type: FLOAT
  50. units: '%'
  51. description: 'The percentage of lost packets.'
  52. tags:
  53. - tag: component
  54. value: health
  55. - tag: component
  56. value: network
  57. triggers:
  58. - uuid: 9bcb0ab4ebf343c4ba2b0db9222dcf66
  59. expression: 'min(/Huawei VRP by SNMP walk/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Huawei VRP by SNMP walk/icmppingloss,5m)<100'
  60. name: 'Huawei VRP: High ICMP ping loss'
  61. opdata: 'Loss: {ITEM.LASTVALUE1}'
  62. priority: WARNING
  63. description: 'ICMP packets loss detected.'
  64. dependencies:
  65. - name: 'Huawei VRP: Unavailable by ICMP ping'
  66. expression: 'max(/Huawei VRP by SNMP walk/icmpping,#3)=0'
  67. tags:
  68. - tag: scope
  69. value: availability
  70. - tag: scope
  71. value: performance
  72. - uuid: bb489af217914297a49bf3afe71fd7f8
  73. name: 'ICMP response time'
  74. type: SIMPLE
  75. key: icmppingsec
  76. value_type: FLOAT
  77. units: s
  78. description: 'The ICMP ping response time (in seconds).'
  79. tags:
  80. - tag: component
  81. value: health
  82. - tag: component
  83. value: network
  84. triggers:
  85. - uuid: 1547e194eaa3441db5230c422db84cfd
  86. expression: 'avg(/Huawei VRP by SNMP walk/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
  87. name: 'Huawei VRP: High ICMP ping response time'
  88. opdata: 'Value: {ITEM.LASTVALUE1}'
  89. priority: WARNING
  90. description: 'Average ICMP response time is too high.'
  91. dependencies:
  92. - name: 'Huawei VRP: High ICMP ping loss'
  93. expression: 'min(/Huawei VRP by SNMP walk/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Huawei VRP by SNMP walk/icmppingloss,5m)<100'
  94. - name: 'Huawei VRP: Unavailable by ICMP ping'
  95. expression: 'max(/Huawei VRP by SNMP walk/icmpping,#3)=0'
  96. tags:
  97. - tag: scope
  98. value: availability
  99. - tag: scope
  100. value: performance
  101. - uuid: e3f43884604042d8b482617356130cbe
  102. name: 'Huawei VRP: SNMP walk network interfaces'
  103. type: SNMP_AGENT
  104. snmp_oid: 'walk[1.3.6.1.2.1.2.2.1.8,1.3.6.1.2.1.2.2.1.7,1.3.6.1.2.1.31.1.1.1.18,1.3.6.1.2.1.31.1.1.1.1,1.3.6.1.2.1.2.2.1.2,1.3.6.1.2.1.2.2.1.3,1.3.6.1.2.1.31.1.1.1.6,1.3.6.1.2.1.31.1.1.1.10,1.3.6.1.2.1.2.2.1.14,1.3.6.1.2.1.2.2.1.20,1.3.6.1.2.1.2.2.1.19,1.3.6.1.2.1.2.2.1.13,1.3.6.1.2.1.31.1.1.1.15]'
  105. key: net.if.walk
  106. history: '0'
  107. value_type: TEXT
  108. description: 'Discovering interfaces from IF-MIB.'
  109. timeout: 30s
  110. tags:
  111. - tag: component
  112. value: raw
  113. - uuid: e2668029062647b19875e88eebc2d3ef
  114. name: 'SNMP traps (fallback)'
  115. type: SNMP_TRAP
  116. key: snmptrap.fallback
  117. value_type: LOG
  118. description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
  119. logtimefmt: 'hh:mm:sszyyyy/MM/dd'
  120. tags:
  121. - tag: component
  122. value: network
  123. - uuid: af9eb08ab9ad47a694322b038fff2e56
  124. name: 'System contact details'
  125. type: SNMP_AGENT
  126. snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
  127. key: 'system.contact[sysContact.0]'
  128. delay: 15m
  129. value_type: CHAR
  130. description: |
  131. MIB: SNMPv2-MIB
  132. The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
  133. inventory_link: CONTACT
  134. preprocessing:
  135. - type: DISCARD_UNCHANGED_HEARTBEAT
  136. parameters:
  137. - 12h
  138. tags:
  139. - tag: component
  140. value: system
  141. - uuid: 8c8bffb726ae44069becad2d4f4d87e9
  142. name: 'System description'
  143. type: SNMP_AGENT
  144. snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
  145. key: 'system.descr[sysDescr.0]'
  146. delay: 15m
  147. value_type: CHAR
  148. description: |
  149. MIB: SNMPv2-MIB
  150. A textual description of the entity. This value should
  151. include the full name and version identification of the system's hardware type, software operating-system, and
  152. networking software.
  153. preprocessing:
  154. - type: DISCARD_UNCHANGED_HEARTBEAT
  155. parameters:
  156. - 12h
  157. tags:
  158. - tag: component
  159. value: system
  160. - uuid: 857d11b88f8145609bba2dc15a5f5702
  161. name: 'Uptime (hardware)'
  162. type: SNMP_AGENT
  163. snmp_oid: 'get[1.3.6.1.2.1.25.1.1.0]'
  164. key: 'system.hw.uptime[hrSystemUptime.0]'
  165. delay: 30s
  166. trends: '0'
  167. units: uptime
  168. description: |
  169. MIB: HOST-RESOURCES-MIB
  170. The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
  171. preprocessing:
  172. - type: CHECK_NOT_SUPPORTED
  173. parameters:
  174. - '-1'
  175. error_handler: CUSTOM_VALUE
  176. error_handler_params: '0'
  177. - type: MULTIPLIER
  178. parameters:
  179. - '0.01'
  180. tags:
  181. - tag: component
  182. value: system
  183. - uuid: b50bec28e6804e699bd1e7f205cb7b1b
  184. name: 'System location'
  185. type: SNMP_AGENT
  186. snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
  187. key: 'system.location[sysLocation.0]'
  188. delay: 15m
  189. value_type: CHAR
  190. description: |
  191. MIB: SNMPv2-MIB
  192. Physical location of the node (e.g., `equipment room`, `3rd floor`). If not provided, the value is a zero-length string.
  193. inventory_link: LOCATION
  194. preprocessing:
  195. - type: DISCARD_UNCHANGED_HEARTBEAT
  196. parameters:
  197. - 12h
  198. tags:
  199. - tag: component
  200. value: system
  201. - uuid: 2d7e9f35b1954758858604c72111aff1
  202. name: 'System name'
  203. type: SNMP_AGENT
  204. snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
  205. key: system.name
  206. delay: 15m
  207. value_type: CHAR
  208. description: |
  209. MIB: SNMPv2-MIB
  210. An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
  211. inventory_link: NAME
  212. preprocessing:
  213. - type: DISCARD_UNCHANGED_HEARTBEAT
  214. parameters:
  215. - 12h
  216. tags:
  217. - tag: component
  218. value: system
  219. triggers:
  220. - uuid: 71fa72cc741c40f3a31d1a6f9f26d401
  221. expression: 'last(/Huawei VRP by SNMP walk/system.name,#1)<>last(/Huawei VRP by SNMP walk/system.name,#2) and length(last(/Huawei VRP by SNMP walk/system.name))>0'
  222. name: 'Huawei VRP: System name has changed'
  223. event_name: 'Huawei VRP: System name has changed (new name: {ITEM.VALUE})'
  224. priority: INFO
  225. description: 'The name of the system has changed. Acknowledge to close the problem manually.'
  226. manual_close: 'YES'
  227. tags:
  228. - tag: scope
  229. value: notice
  230. - tag: scope
  231. value: security
  232. - uuid: e7ceae2ca308474796f48e310fc98412
  233. name: 'Uptime (network)'
  234. type: SNMP_AGENT
  235. snmp_oid: 'get[1.3.6.1.2.1.1.3.0]'
  236. key: 'system.net.uptime[sysUpTime.0]'
  237. delay: 30s
  238. trends: '0'
  239. units: uptime
  240. description: |
  241. MIB: SNMPv2-MIB
  242. Time (in hundredths of a second) since the network management portion of the system was last re-initialized.
  243. preprocessing:
  244. - type: MULTIPLIER
  245. parameters:
  246. - '0.01'
  247. tags:
  248. - tag: component
  249. value: system
  250. - uuid: 2a6cd1a6a5b149e3be8dfa343f9f0227
  251. name: 'System object ID'
  252. type: SNMP_AGENT
  253. snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
  254. key: 'system.objectid[sysObjectID.0]'
  255. delay: 15m
  256. value_type: CHAR
  257. description: |
  258. MIB: SNMPv2-MIB
  259. The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
  260. preprocessing:
  261. - type: DISCARD_UNCHANGED_HEARTBEAT
  262. parameters:
  263. - 12h
  264. tags:
  265. - tag: component
  266. value: system
  267. - uuid: 94df7b0547d2464d9c50c82e63bfb956
  268. name: 'SNMP agent availability'
  269. type: INTERNAL
  270. key: 'zabbix[host,snmp,available]'
  271. description: |
  272. Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
  273. Possible values:
  274. 0 - not available
  275. 1 - available
  276. 2 - unknown
  277. valuemap:
  278. name: zabbix.host.available
  279. tags:
  280. - tag: component
  281. value: health
  282. - tag: component
  283. value: network
  284. triggers:
  285. - uuid: aa4153beff3c4316b3acb0cc41f5a57d
  286. expression: 'max(/Huawei VRP by SNMP walk/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
  287. name: 'Huawei VRP: No SNMP data collection'
  288. opdata: 'Current state: {ITEM.LASTVALUE1}'
  289. priority: WARNING
  290. description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
  291. dependencies:
  292. - name: 'Huawei VRP: Unavailable by ICMP ping'
  293. expression: 'max(/Huawei VRP by SNMP walk/icmpping,#3)=0'
  294. tags:
  295. - tag: scope
  296. value: availability
  297. discovery_rules:
  298. - uuid: 184452e88e274d84adc11e36e5765722
  299. name: 'FAN Discovery'
  300. type: SNMP_AGENT
  301. snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.2011.5.25.31.1.1.10.1.1]'
  302. key: discovery.fans
  303. delay: 1h
  304. item_prototypes:
  305. - uuid: 30a53d67f33b45e7bc2f4cc22e24dae3
  306. name: '#{#SNMPVALUE}: Fan status'
  307. type: SNMP_AGENT
  308. snmp_oid: 'get[1.3.6.1.4.1.2011.5.25.31.1.1.10.1.7.{#SNMPINDEX}]'
  309. key: 'sensor.fan.status[hwEntityFanState.{#SNMPINDEX}]'
  310. delay: 3m
  311. trends: '0'
  312. description: 'MIB: HUAWEI-ENTITY-EXTENT-MIB'
  313. valuemap:
  314. name: 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanState'
  315. tags:
  316. - tag: component
  317. value: fan
  318. trigger_prototypes:
  319. - uuid: be04433dacce45a5b8f09607bbb51865
  320. expression: 'count(/Huawei VRP by SNMP walk/sensor.fan.status[hwEntityFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS}")=1'
  321. name: 'Huawei VRP: #{#SNMPVALUE}: Fan is in critical state'
  322. opdata: 'Current state: {ITEM.LASTVALUE1}'
  323. priority: AVERAGE
  324. description: 'Please check the fan unit'
  325. tags:
  326. - tag: scope
  327. value: availability
  328. - tag: scope
  329. value: performance
  330. - uuid: 96eabf2799d04c63bb6049b34823f280
  331. name: 'Entity Discovery'
  332. type: SNMP_AGENT
  333. snmp_oid: 'discovery[{#ENT_CLASS},1.3.6.1.2.1.47.1.1.1.1.5,{#ENT_NAME},1.3.6.1.2.1.47.1.1.1.1.7]'
  334. key: entity.discovery
  335. delay: 1h
  336. filter:
  337. conditions:
  338. - macro: '{#ENT_CLASS}'
  339. value: '3'
  340. item_prototypes:
  341. - uuid: 1f99535288154bf19cace8de374fc6f8
  342. name: '{#ENT_NAME}: Hardware model name'
  343. type: SNMP_AGENT
  344. snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.2.{#SNMPINDEX}]'
  345. key: 'system.hw.model[entPhysicalDescr.{#SNMPINDEX}]'
  346. delay: 1h
  347. value_type: CHAR
  348. description: 'MIB: ENTITY-MIB'
  349. preprocessing:
  350. - type: DISCARD_UNCHANGED_HEARTBEAT
  351. parameters:
  352. - 1d
  353. tags:
  354. - tag: component
  355. value: system
  356. - uuid: 9187e4d0fd754da0b53090542ed8bf0e
  357. name: 'MPU Discovery'
  358. type: SNMP_AGENT
  359. snmp_oid: 'discovery[{#ENT_NAME},1.3.6.1.2.1.47.1.1.1.1.7]'
  360. key: mpu.discovery
  361. delay: 1h
  362. filter:
  363. conditions:
  364. - macro: '{#ENT_NAME}'
  365. value: 'MPU.*'
  366. description: 'http://support.huawei.com/enterprise/KnowledgebaseReadAction.action?contentId=KB1000090234. Filter limits results to Main Processing Units'
  367. item_prototypes:
  368. - uuid: c68271a839cd4ad3ae222876355ef16c
  369. name: '{#ENT_NAME}: Temperature'
  370. type: SNMP_AGENT
  371. snmp_oid: 'get[1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11.{#SNMPINDEX}]'
  372. key: 'sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}]'
  373. delay: 3m
  374. value_type: FLOAT
  375. units: °C
  376. description: |
  377. MIB: HUAWEI-ENTITY-EXTENT-MIB
  378. The temperature for the {#SNMPVALUE}.
  379. tags:
  380. - tag: component
  381. value: temperature
  382. trigger_prototypes:
  383. - uuid: 3d9c23a3fd5d4c46959fe8fcd8d91d72
  384. expression: 'avg(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#ENT_NAME}"}'
  385. recovery_mode: RECOVERY_EXPRESSION
  386. recovery_expression: 'max(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#ENT_NAME}"}-3'
  387. name: 'Huawei VRP: {#ENT_NAME}: Temperature is above critical threshold'
  388. event_name: 'Huawei VRP: {#ENT_NAME}: Temperature is above critical threshold: >{$TEMP_CRIT:"{#ENT_NAME}"}'
  389. opdata: 'Current value: {ITEM.LASTVALUE1}'
  390. priority: HIGH
  391. description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
  392. tags:
  393. - tag: scope
  394. value: availability
  395. - tag: scope
  396. value: performance
  397. - uuid: baa9c0c42cc94daebb7aff5ea6099941
  398. expression: 'avg(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#ENT_NAME}"}'
  399. recovery_mode: RECOVERY_EXPRESSION
  400. recovery_expression: 'max(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"{#ENT_NAME}"}-3'
  401. name: 'Huawei VRP: {#ENT_NAME}: Temperature is above warning threshold'
  402. event_name: 'Huawei VRP: {#ENT_NAME}: Temperature is above warning threshold: >{$TEMP_WARN:"{#ENT_NAME}"}'
  403. opdata: 'Current value: {ITEM.LASTVALUE1}'
  404. priority: WARNING
  405. description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
  406. dependencies:
  407. - name: 'Huawei VRP: {#ENT_NAME}: Temperature is above critical threshold'
  408. expression: 'avg(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#ENT_NAME}"}'
  409. recovery_expression: 'max(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#ENT_NAME}"}-3'
  410. tags:
  411. - tag: scope
  412. value: availability
  413. - tag: scope
  414. value: performance
  415. - uuid: 6e7ff7a1e277497480d1c466029160a0
  416. expression: '(avg(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#ENT_NAME}"}) and (avg(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)>0)'
  417. recovery_mode: RECOVERY_EXPRESSION
  418. recovery_expression: 'min(/Huawei VRP by SNMP walk/sensor.temp.value[hwEntityTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"{#ENT_NAME}"}+3'
  419. name: 'Huawei VRP: {#ENT_NAME}: Temperature is too low'
  420. event_name: 'Huawei VRP: {#ENT_NAME}: Temperature is too low: <{$TEMP_CRIT_LOW:"{#ENT_NAME}"}'
  421. opdata: 'Current value: {ITEM.LASTVALUE1}'
  422. priority: AVERAGE
  423. manual_close: 'YES'
  424. tags:
  425. - tag: scope
  426. value: availability
  427. - tag: scope
  428. value: performance
  429. - uuid: 302142d000954fb8b5ac0f9221734109
  430. name: '{#ENT_NAME}: CPU utilization'
  431. type: SNMP_AGENT
  432. snmp_oid: 'get[1.3.6.1.4.1.2011.5.25.31.1.1.1.1.5.{#SNMPINDEX}]'
  433. key: 'system.cpu.util[hwEntityCpuUsage.{#SNMPINDEX}]'
  434. value_type: FLOAT
  435. units: '%'
  436. description: |
  437. MIB: HUAWEI-ENTITY-EXTENT-MIB
  438. The CPU usage for this entity. Generally, the CPU usage will calculate the overall CPU usage on the entity, and itis not sensible with the number of CPU on the entity.
  439. Reference: http://support.huawei.com/enterprise/KnowledgebaseReadAction.action?contentId=KB1000090234
  440. tags:
  441. - tag: component
  442. value: cpu
  443. trigger_prototypes:
  444. - uuid: b2dd898af4d44a008fe1e3d0709b09e1
  445. expression: 'min(/Huawei VRP by SNMP walk/system.cpu.util[hwEntityCpuUsage.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}'
  446. name: 'Huawei VRP: {#ENT_NAME}: High CPU utilization'
  447. event_name: 'Huawei VRP: {#ENT_NAME}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
  448. opdata: 'Current utilization: {ITEM.LASTVALUE1}'
  449. priority: WARNING
  450. description: 'The CPU utilization is too high. The system might be slow to respond.'
  451. tags:
  452. - tag: scope
  453. value: performance
  454. - uuid: 9ae8cc60d36e472cbc7fbb3c73c6dfab
  455. name: '{#ENT_NAME}: Hardware serial number'
  456. type: SNMP_AGENT
  457. snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}]'
  458. key: 'system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]'
  459. delay: 1h
  460. value_type: CHAR
  461. description: 'MIB: ENTITY-MIB'
  462. preprocessing:
  463. - type: DISCARD_UNCHANGED_HEARTBEAT
  464. parameters:
  465. - 1d
  466. tags:
  467. - tag: component
  468. value: system
  469. trigger_prototypes:
  470. - uuid: 2cce2b9d0eec4abf9fc42f5cfb79aac9
  471. expression: 'last(/Huawei VRP by SNMP walk/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#1)<>last(/Huawei VRP by SNMP walk/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#2) and length(last(/Huawei VRP by SNMP walk/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]))>0'
  472. name: 'Huawei VRP: {#ENT_NAME}: Device has been replaced'
  473. event_name: 'Huawei VRP: {#ENT_NAME}: Device has been replaced (new serial number received)'
  474. priority: INFO
  475. description: 'Device serial number has changed. Acknowledge to close the problem manually.'
  476. manual_close: 'YES'
  477. tags:
  478. - tag: scope
  479. value: notice
  480. - uuid: cd41e6d561684d2c8a830661f85d8f97
  481. name: '{#ENT_NAME}: Hardware version(revision)'
  482. type: SNMP_AGENT
  483. snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.8.{#SNMPINDEX}]'
  484. key: 'system.hw.version[entPhysicalHardwareRev.{#SNMPINDEX}]'
  485. delay: 1h
  486. value_type: CHAR
  487. description: 'MIB: ENTITY-MIB'
  488. preprocessing:
  489. - type: DISCARD_UNCHANGED_HEARTBEAT
  490. parameters:
  491. - 1d
  492. tags:
  493. - tag: component
  494. value: system
  495. - uuid: e5ca46bbd64f4e9c9fb98704ec429860
  496. name: '{#ENT_NAME}: Operating system'
  497. type: SNMP_AGENT
  498. snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.10.{#SNMPINDEX}]'
  499. key: 'system.sw.os[entPhysicalSoftwareRev.{#SNMPINDEX}]'
  500. delay: 1h
  501. value_type: CHAR
  502. description: 'MIB: ENTITY-MIB'
  503. preprocessing:
  504. - type: DISCARD_UNCHANGED_HEARTBEAT
  505. parameters:
  506. - 1d
  507. tags:
  508. - tag: component
  509. value: os
  510. trigger_prototypes:
  511. - uuid: 57795727a6c34d90853c38ecee5d2d73
  512. expression: 'last(/Huawei VRP by SNMP walk/system.sw.os[entPhysicalSoftwareRev.{#SNMPINDEX}],#1)<>last(/Huawei VRP by SNMP walk/system.sw.os[entPhysicalSoftwareRev.{#SNMPINDEX}],#2) and length(last(/Huawei VRP by SNMP walk/system.sw.os[entPhysicalSoftwareRev.{#SNMPINDEX}]))>0'
  513. name: 'Huawei VRP: {#ENT_NAME}: Operating system description has changed'
  514. priority: INFO
  515. description: 'Operating system description has changed. Possible reasons that system has been updated or replaced. Acknowledge to close the problem manually.'
  516. manual_close: 'YES'
  517. dependencies:
  518. - name: 'Huawei VRP: System name has changed'
  519. expression: 'last(/Huawei VRP by SNMP walk/system.name,#1)<>last(/Huawei VRP by SNMP walk/system.name,#2) and length(last(/Huawei VRP by SNMP walk/system.name))>0'
  520. tags:
  521. - tag: scope
  522. value: notice
  523. - uuid: 0ee11d74257b4db1974b2f438c3392c5
  524. name: '{#ENT_NAME}: Memory utilization'
  525. type: SNMP_AGENT
  526. snmp_oid: 'get[1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7.{#SNMPINDEX}]'
  527. key: 'vm.memory.util[hwEntityMemUsage.{#SNMPINDEX}]'
  528. value_type: FLOAT
  529. units: '%'
  530. description: |
  531. MIB: HUAWEI-ENTITY-EXTENT-MIB
  532. The memory usage for the entity. This object indicates what percent of memory are used.
  533. Reference: http://support.huawei.com/enterprise/KnowledgebaseReadAction.action?contentId=KB1000090234
  534. tags:
  535. - tag: component
  536. value: memory
  537. trigger_prototypes:
  538. - uuid: a2cc6fca4c204f729bc34c15b33666c2
  539. expression: 'min(/Huawei VRP by SNMP walk/vm.memory.util[hwEntityMemUsage.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
  540. name: 'Huawei VRP: {#ENT_NAME}: High memory utilization'
  541. event_name: 'Huawei VRP: {#ENT_NAME}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
  542. priority: AVERAGE
  543. description: 'The system is running out of free memory.'
  544. tags:
  545. - tag: scope
  546. value: capacity
  547. - tag: scope
  548. value: performance
  549. graph_prototypes:
  550. - uuid: 29486f8318e4494a9f87a8684a82a1dd
  551. name: '{#ENT_NAME}: CPU utilization'
  552. ymin_type_1: FIXED
  553. ymax_type_1: FIXED
  554. graph_items:
  555. - drawtype: GRADIENT_LINE
  556. color: 199C0D
  557. item:
  558. host: 'Huawei VRP by SNMP walk'
  559. key: 'system.cpu.util[hwEntityCpuUsage.{#SNMPINDEX}]'
  560. - uuid: 9a56bbd1cd0a4f9fb905df939daf46f1
  561. name: '{#ENT_NAME}: Memory utilization'
  562. ymin_type_1: FIXED
  563. ymax_type_1: FIXED
  564. graph_items:
  565. - drawtype: GRADIENT_LINE
  566. color: 199C0D
  567. item:
  568. host: 'Huawei VRP by SNMP walk'
  569. key: 'vm.memory.util[hwEntityMemUsage.{#SNMPINDEX}]'
  570. - uuid: 4ad45aa92654486ea64ca03560b16c5c
  571. name: 'Network interfaces discovery'
  572. type: DEPENDENT
  573. key: net.if.discovery
  574. filter:
  575. evaltype: AND
  576. conditions:
  577. - macro: '{#IFADMINSTATUS}'
  578. value: '{$NET.IF.IFADMINSTATUS.MATCHES}'
  579. - macro: '{#IFADMINSTATUS}'
  580. value: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
  581. operator: NOT_MATCHES_REGEX
  582. - macro: '{#IFALIAS}'
  583. value: '{$NET.IF.IFALIAS.MATCHES}'
  584. - macro: '{#IFALIAS}'
  585. value: '{$NET.IF.IFALIAS.NOT_MATCHES}'
  586. operator: NOT_MATCHES_REGEX
  587. - macro: '{#IFDESCR}'
  588. value: '{$NET.IF.IFDESCR.MATCHES}'
  589. - macro: '{#IFDESCR}'
  590. value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
  591. operator: NOT_MATCHES_REGEX
  592. - macro: '{#IFNAME}'
  593. value: '{$NET.IF.IFNAME.MATCHES}'
  594. - macro: '{#IFNAME}'
  595. value: '{$NET.IF.IFNAME.NOT_MATCHES}'
  596. operator: NOT_MATCHES_REGEX
  597. - macro: '{#IFOPERSTATUS}'
  598. value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
  599. - macro: '{#IFOPERSTATUS}'
  600. value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
  601. operator: NOT_MATCHES_REGEX
  602. - macro: '{#IFTYPE}'
  603. value: '{$NET.IF.IFTYPE.MATCHES}'
  604. - macro: '{#IFTYPE}'
  605. value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
  606. operator: NOT_MATCHES_REGEX
  607. description: 'Discovering interfaces from IF-MIB.'
  608. item_prototypes:
  609. - uuid: cc0bdcf558f344c0a5c68909f579b56d
  610. name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded'
  611. type: DEPENDENT
  612. key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
  613. description: |
  614. MIB: IF-MIB
  615. The number of inbound packets which were chosen to be discarded
  616. even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
  617. One possible reason for discarding such a packet could be to free up buffer space.
  618. Discontinuities in the value of this counter can occur at re-initialization of the management system,
  619. and at other times as indicated by the value of ifCounterDiscontinuityTime.
  620. preprocessing:
  621. - type: SNMP_WALK_VALUE
  622. parameters:
  623. - '1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}'
  624. - '0'
  625. - type: CHANGE_PER_SECOND
  626. - type: DISCARD_UNCHANGED_HEARTBEAT
  627. parameters:
  628. - 3m
  629. master_item:
  630. key: net.if.walk
  631. tags:
  632. - tag: component
  633. value: network
  634. - tag: description
  635. value: '{#IFALIAS}'
  636. - tag: interface
  637. value: '{#IFNAME}'
  638. - uuid: f12cbe9a5f3c4a8ea56dda9fb440a1e2
  639. name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
  640. type: DEPENDENT
  641. key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
  642. description: |
  643. MIB: IF-MIB
  644. For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
  645. preprocessing:
  646. - type: SNMP_WALK_VALUE
  647. parameters:
  648. - '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}'
  649. - '0'
  650. - type: CHANGE_PER_SECOND
  651. - type: DISCARD_UNCHANGED_HEARTBEAT
  652. parameters:
  653. - 3m
  654. master_item:
  655. key: net.if.walk
  656. tags:
  657. - tag: component
  658. value: network
  659. - tag: description
  660. value: '{#IFALIAS}'
  661. - tag: interface
  662. value: '{#IFNAME}'
  663. - uuid: e99c16e54e5d41e29de6bd323f13725e
  664. name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
  665. type: DEPENDENT
  666. key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
  667. units: bps
  668. description: |
  669. MIB: IF-MIB
  670. The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
  671. preprocessing:
  672. - type: SNMP_WALK_VALUE
  673. parameters:
  674. - '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}'
  675. - '0'
  676. - type: CHANGE_PER_SECOND
  677. - type: MULTIPLIER
  678. parameters:
  679. - '8'
  680. master_item:
  681. key: net.if.walk
  682. tags:
  683. - tag: component
  684. value: network
  685. - tag: description
  686. value: '{#IFALIAS}'
  687. - tag: interface
  688. value: '{#IFNAME}'
  689. - uuid: 956555ef3c414924ae52596f2f7097f3
  690. name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
  691. type: DEPENDENT
  692. key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
  693. description: |
  694. MIB: IF-MIB
  695. The number of outbound packets which were chosen to be discarded
  696. even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
  697. One possible reason for discarding such a packet could be to free up buffer space.
  698. Discontinuities in the value of this counter can occur at re-initialization of the management system,
  699. and at other times as indicated by the value of ifCounterDiscontinuityTime.
  700. preprocessing:
  701. - type: SNMP_WALK_VALUE
  702. parameters:
  703. - '1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}'
  704. - '0'
  705. - type: CHANGE_PER_SECOND
  706. - type: DISCARD_UNCHANGED_HEARTBEAT
  707. parameters:
  708. - 3m
  709. master_item:
  710. key: net.if.walk
  711. tags:
  712. - tag: component
  713. value: network
  714. - tag: description
  715. value: '{#IFALIAS}'
  716. - tag: interface
  717. value: '{#IFNAME}'
  718. - uuid: 7c0a49bd908c49cabd497e889f8c1802
  719. name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
  720. type: DEPENDENT
  721. key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
  722. description: |
  723. MIB: IF-MIB
  724. For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
  725. preprocessing:
  726. - type: SNMP_WALK_VALUE
  727. parameters:
  728. - '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}'
  729. - '0'
  730. - type: CHANGE_PER_SECOND
  731. - type: DISCARD_UNCHANGED_HEARTBEAT
  732. parameters:
  733. - 3m
  734. master_item:
  735. key: net.if.walk
  736. tags:
  737. - tag: component
  738. value: network
  739. - tag: description
  740. value: '{#IFALIAS}'
  741. - tag: interface
  742. value: '{#IFNAME}'
  743. - uuid: 8af019d7700a431c9f5e8d27e928dec4
  744. name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
  745. type: DEPENDENT
  746. key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
  747. units: bps
  748. description: |
  749. MIB: IF-MIB
  750. The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
  751. preprocessing:
  752. - type: SNMP_WALK_VALUE
  753. parameters:
  754. - '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}'
  755. - '0'
  756. - type: CHANGE_PER_SECOND
  757. - type: MULTIPLIER
  758. parameters:
  759. - '8'
  760. master_item:
  761. key: net.if.walk
  762. tags:
  763. - tag: component
  764. value: network
  765. - tag: description
  766. value: '{#IFALIAS}'
  767. - tag: interface
  768. value: '{#IFNAME}'
  769. - uuid: 9f2c059c648644f28abb648c8e9e4fb5
  770. name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
  771. type: DEPENDENT
  772. key: 'net.if.speed[ifHighSpeed.{#SNMPINDEX}]'
  773. trends: '0'
  774. units: bps
  775. description: |
  776. MIB: IF-MIB
  777. An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of `n`, then the speed of the interface is somewhere in the range of `n-500,000` to `n+499,999`.
  778. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.
  779. For a sub-layer which has no concept of bandwidth, this object should be zero.
  780. preprocessing:
  781. - type: SNMP_WALK_VALUE
  782. parameters:
  783. - '1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}'
  784. - '0'
  785. - type: MULTIPLIER
  786. parameters:
  787. - '1000000'
  788. - type: DISCARD_UNCHANGED_HEARTBEAT
  789. parameters:
  790. - 1h
  791. master_item:
  792. key: net.if.walk
  793. tags:
  794. - tag: component
  795. value: network
  796. - tag: description
  797. value: '{#IFALIAS}'
  798. - tag: interface
  799. value: '{#IFNAME}'
  800. - uuid: 523efec22cc54e23ab457581c3fd9450
  801. name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
  802. type: DEPENDENT
  803. key: 'net.if.status[ifOperStatus.{#SNMPINDEX}]'
  804. trends: '0'
  805. description: |
  806. MIB: IF-MIB
  807. The current operational state of the interface.
  808. - The testing(3) state indicates that no operational packet scan be passed
  809. - If ifAdminStatus is down(2) then ifOperStatus should be down(2)
  810. - If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
  811. - It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
  812. - It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
  813. - It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.
  814. valuemap:
  815. name: 'IF-MIB::ifOperStatus'
  816. preprocessing:
  817. - type: SNMP_WALK_VALUE
  818. parameters:
  819. - '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}'
  820. - '0'
  821. master_item:
  822. key: net.if.walk
  823. tags:
  824. - tag: component
  825. value: network
  826. - tag: description
  827. value: '{#IFALIAS}'
  828. - tag: interface
  829. value: '{#IFNAME}'
  830. trigger_prototypes:
  831. - uuid: d5d09ad8c8c94345a5c2a14176500372
  832. expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
  833. recovery_mode: RECOVERY_EXPRESSION
  834. recovery_expression: 'last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
  835. name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): Link down'
  836. opdata: 'Current state: {ITEM.LASTVALUE1}'
  837. priority: AVERAGE
  838. description: |
  839. This trigger expression works as follows:
  840. 1. It can be triggered if the operations status is down.
  841. 2. `{$IFCONTROL:"{#IFNAME}"}=1` - a user can redefine the context macro to "0", marking this interface as not important. No new trigger will be fired if this interface is down.
  842. 3. `last(/TEMPLATE_NAME/METRIC,#1)<>last(/TEMPLATE_NAME/METRIC,#2)` - the trigger fires only if the operational status was up to (1) sometime before (so, does not fire for "eternal off" interfaces.)
  843. WARNING: if closed manually - it will not fire again on the next poll, because of .diff.
  844. manual_close: 'YES'
  845. tags:
  846. - tag: scope
  847. value: availability
  848. - uuid: db90b275553b419297cd004aa3d9703b
  849. name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
  850. type: DEPENDENT
  851. key: 'net.if.type[ifType.{#SNMPINDEX}]'
  852. trends: '0'
  853. description: |
  854. MIB: IF-MIB
  855. The type of interface.
  856. Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA),
  857. through updating the syntax of the IANAifType textual convention.
  858. valuemap:
  859. name: 'IF-MIB::ifType'
  860. preprocessing:
  861. - type: SNMP_WALK_VALUE
  862. parameters:
  863. - '1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}'
  864. - '0'
  865. - type: DISCARD_UNCHANGED_HEARTBEAT
  866. parameters:
  867. - 1d
  868. master_item:
  869. key: net.if.walk
  870. tags:
  871. - tag: component
  872. value: network
  873. - tag: description
  874. value: '{#IFALIAS}'
  875. - tag: interface
  876. value: '{#IFNAME}'
  877. trigger_prototypes:
  878. - uuid: 53eee46a2c474c19ba8e26569389b0fd
  879. expression: |
  880. change(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
  881. and (
  882. last(/Huawei VRP by SNMP walk/net.if.type[ifType.{#SNMPINDEX}])=6 or
  883. last(/Huawei VRP by SNMP walk/net.if.type[ifType.{#SNMPINDEX}])=7 or
  884. last(/Huawei VRP by SNMP walk/net.if.type[ifType.{#SNMPINDEX}])=11 or
  885. last(/Huawei VRP by SNMP walk/net.if.type[ifType.{#SNMPINDEX}])=62 or
  886. last(/Huawei VRP by SNMP walk/net.if.type[ifType.{#SNMPINDEX}])=69 or
  887. last(/Huawei VRP by SNMP walk/net.if.type[ifType.{#SNMPINDEX}])=117
  888. )
  889. and
  890. (last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)
  891. recovery_mode: RECOVERY_EXPRESSION
  892. recovery_expression: |
  893. (change(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or
  894. (last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)
  895. name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before'
  896. opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
  897. priority: INFO
  898. description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Acknowledge to close the problem manually.'
  899. manual_close: 'YES'
  900. dependencies:
  901. - name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): Link down'
  902. expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
  903. recovery_expression: 'last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
  904. tags:
  905. - tag: scope
  906. value: performance
  907. - uuid: 06a627c32901426085f8966cbbc57fb0
  908. expression: |
  909. (avg(/Huawei VRP by SNMP walk/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or
  910. avg(/Huawei VRP by SNMP walk/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and
  911. last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
  912. recovery_mode: RECOVERY_EXPRESSION
  913. recovery_expression: |
  914. avg(/Huawei VRP by SNMP walk/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and
  915. avg(/Huawei VRP by SNMP walk/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Huawei VRP by SNMP walk/net.if.speed[ifHighSpeed.{#SNMPINDEX}])
  916. name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage'
  917. event_name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
  918. opdata: 'In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}'
  919. priority: WARNING
  920. description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
  921. manual_close: 'YES'
  922. dependencies:
  923. - name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): Link down'
  924. expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
  925. recovery_expression: 'last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
  926. tags:
  927. - tag: scope
  928. value: performance
  929. - uuid: 67d8f1081385462fa524d564e074182b
  930. expression: |
  931. min(/Huawei VRP by SNMP walk/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
  932. or min(/Huawei VRP by SNMP walk/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
  933. recovery_mode: RECOVERY_EXPRESSION
  934. recovery_expression: |
  935. max(/Huawei VRP by SNMP walk/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
  936. and max(/Huawei VRP by SNMP walk/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
  937. name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): High error rate'
  938. event_name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): High error rate (>{$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
  939. opdata: 'errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}'
  940. priority: WARNING
  941. description: 'It recovers when it is below 80% of the `{$IF.ERRORS.WARN:"{#IFNAME}"}` threshold.'
  942. manual_close: 'YES'
  943. dependencies:
  944. - name: 'Huawei VRP: Interface {#IFNAME}({#IFALIAS}): Link down'
  945. expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
  946. recovery_expression: 'last(/Huawei VRP by SNMP walk/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
  947. tags:
  948. - tag: scope
  949. value: availability
  950. - tag: scope
  951. value: performance
  952. graph_prototypes:
  953. - uuid: 6c0e42e14236431a9ad5e705295e4765
  954. name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
  955. graph_items:
  956. - drawtype: GRADIENT_LINE
  957. color: 199C0D
  958. item:
  959. host: 'Huawei VRP by SNMP walk'
  960. key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
  961. - sortorder: '1'
  962. drawtype: BOLD_LINE
  963. color: F63100
  964. item:
  965. host: 'Huawei VRP by SNMP walk'
  966. key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
  967. - sortorder: '2'
  968. color: 00611C
  969. yaxisside: RIGHT
  970. item:
  971. host: 'Huawei VRP by SNMP walk'
  972. key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
  973. - sortorder: '3'
  974. color: F7941D
  975. yaxisside: RIGHT
  976. item:
  977. host: 'Huawei VRP by SNMP walk'
  978. key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
  979. - sortorder: '4'
  980. color: FC6EA3
  981. yaxisside: RIGHT
  982. item:
  983. host: 'Huawei VRP by SNMP walk'
  984. key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
  985. - sortorder: '5'
  986. color: 6C59DC
  987. yaxisside: RIGHT
  988. item:
  989. host: 'Huawei VRP by SNMP walk'
  990. key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
  991. master_item:
  992. key: net.if.walk
  993. preprocessing:
  994. - type: SNMP_WALK_TO_JSON
  995. parameters:
  996. - '{#IFOPERSTATUS}'
  997. - 1.3.6.1.2.1.2.2.1.8
  998. - '0'
  999. - '{#IFADMINSTATUS}'
  1000. - 1.3.6.1.2.1.2.2.1.7
  1001. - '0'
  1002. - '{#IFALIAS}'
  1003. - 1.3.6.1.2.1.31.1.1.1.18
  1004. - '0'
  1005. - '{#IFNAME}'
  1006. - 1.3.6.1.2.1.31.1.1.1.1
  1007. - '0'
  1008. - '{#IFDESCR}'
  1009. - 1.3.6.1.2.1.2.2.1.2
  1010. - '0'
  1011. - '{#IFTYPE}'
  1012. - 1.3.6.1.2.1.2.2.1.3
  1013. - '0'
  1014. - type: DISCARD_UNCHANGED_HEARTBEAT
  1015. parameters:
  1016. - 1h
  1017. tags:
  1018. - tag: class
  1019. value: network
  1020. - tag: target
  1021. value: huawei
  1022. - tag: target
  1023. value: huawei-vrp
  1024. macros:
  1025. - macro: '{$CPU.UTIL.CRIT}'
  1026. value: '90'
  1027. - macro: '{$FAN_CRIT_STATUS}'
  1028. value: '2'
  1029. - macro: '{$ICMP_LOSS_WARN}'
  1030. value: '20'
  1031. description: 'Warning threshold of ICMP packet loss in %.'
  1032. config:
  1033. type: TEXT
  1034. priority: '8'
  1035. section_name: Thresholds
  1036. label: 'Threshold of ICMP packet loss'
  1037. description: 'Warning threshold of ICMP packet loss in %. In the range from 0 to 100 inclusive.'
  1038. regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
  1039. - macro: '{$ICMP_RESPONSE_TIME_WARN}'
  1040. value: '0.15'
  1041. description: 'Warning threshold of the average ICMP response time in seconds.'
  1042. config:
  1043. type: TEXT
  1044. priority: '9'
  1045. section_name: Thresholds
  1046. label: 'Threshold of the average ICMP response'
  1047. description: 'Warning threshold of the average ICMP response time in seconds. No less than 0.'
  1048. regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
  1049. - macro: '{$IF.ERRORS.WARN}'
  1050. value: '2'
  1051. description: 'Warning threshold of error packet rate. Can be used with interface name as context.'
  1052. - macro: '{$IF.UTIL.MAX}'
  1053. value: '90'
  1054. - macro: '{$IFCONTROL}'
  1055. value: '1'
  1056. - macro: '{$MEMORY.UTIL.MAX}'
  1057. value: '90'
  1058. - macro: '{$NET.IF.IFADMINSTATUS.MATCHES}'
  1059. value: '^.*'
  1060. - macro: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
  1061. value: ^2$
  1062. description: 'Ignore down(2) administrative status'
  1063. - macro: '{$NET.IF.IFALIAS.MATCHES}'
  1064. value: '.*'
  1065. - macro: '{$NET.IF.IFALIAS.NOT_MATCHES}'
  1066. value: CHANGE_IF_NEEDED
  1067. - macro: '{$NET.IF.IFDESCR.MATCHES}'
  1068. value: '.*'
  1069. - macro: '{$NET.IF.IFDESCR.NOT_MATCHES}'
  1070. value: CHANGE_IF_NEEDED
  1071. - macro: '{$NET.IF.IFNAME.MATCHES}'
  1072. value: '^.*$'
  1073. - macro: '{$NET.IF.IFNAME.NOT_MATCHES}'
  1074. value: '(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})'
  1075. description: 'Filter out loopbacks, nulls, docker veth links and docker0 bridge by default'
  1076. - macro: '{$NET.IF.IFOPERSTATUS.MATCHES}'
  1077. value: '^.*$'
  1078. - macro: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
  1079. value: ^6$
  1080. description: 'Ignore notPresent(6)'
  1081. - macro: '{$NET.IF.IFTYPE.MATCHES}'
  1082. value: '.*'
  1083. - macro: '{$NET.IF.IFTYPE.NOT_MATCHES}'
  1084. value: CHANGE_IF_NEEDED
  1085. - macro: '{$SNMP.TIMEOUT}'
  1086. value: 5m
  1087. description: 'Time interval for the SNMP availability trigger.'
  1088. config:
  1089. type: TEXT
  1090. priority: '7'
  1091. section_name: Other
  1092. label: 'Time interval'
  1093. description: 'Time interval for the SNMP availability trigger.'
  1094. - macro: '{$TEMP_CRIT}'
  1095. value: '60'
  1096. - macro: '{$TEMP_CRIT_LOW}'
  1097. value: '5'
  1098. - macro: '{$TEMP_WARN}'
  1099. value: '50'
  1100. dashboards:
  1101. - uuid: 8c1df762e31f4a96b284f7a1589e6ea9
  1102. name: 'Network interfaces'
  1103. pages:
  1104. - widgets:
  1105. - type: graphprototype
  1106. width: '72'
  1107. height: '5'
  1108. fields:
  1109. - type: INTEGER
  1110. name: columns
  1111. value: '1'
  1112. - type: GRAPH_PROTOTYPE
  1113. name: graphid.0
  1114. value:
  1115. host: 'Huawei VRP by SNMP walk'
  1116. name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
  1117. - type: STRING
  1118. name: reference
  1119. value: AAAAA
  1120. valuemaps:
  1121. name: 'EtherLike-MIB::dot3StatsDuplexStatus'
  1122. mappings:
  1123. - value: '1'
  1124. newvalue: unknown
  1125. - value: '2'
  1126. newvalue: halfDuplex
  1127. - value: '3'
  1128. newvalue: fullDuplex
  1129. - uuid: e13962c1f7db4f25b5bd3bdbc90cdcb5
  1130. name: 'HUAWEI-ENTITY-EXTENT-MIB::hwEntityFanState'
  1131. mappings:
  1132. - value: '1'
  1133. newvalue: normal
  1134. - value: '2'
  1135. newvalue: abnormal
  1136. - uuid: aa7726f326874651b16d3f4454407006
  1137. name: 'IF-MIB::ifOperStatus'
  1138. mappings:
  1139. - value: '1'
  1140. newvalue: up
  1141. - value: '2'
  1142. newvalue: down
  1143. - value: '4'
  1144. newvalue: unknown
  1145. - value: '5'
  1146. newvalue: dormant
  1147. - value: '6'
  1148. newvalue: notPresent
  1149. - value: '7'
  1150. newvalue: lowerLayerDown
  1151. - uuid: 7ae6c7d362f544a596cc3826463012ef
  1152. name: 'IF-MIB::ifType'
  1153. mappings:
  1154. - value: '1'
  1155. newvalue: other
  1156. - value: '2'
  1157. newvalue: regular1822
  1158. - value: '3'
  1159. newvalue: hdh1822
  1160. - value: '4'
  1161. newvalue: ddnX25
  1162. - value: '5'
  1163. newvalue: rfc877x25
  1164. - value: '6'
  1165. newvalue: ethernetCsmacd
  1166. - value: '7'
  1167. newvalue: iso88023Csmacd
  1168. - value: '8'
  1169. newvalue: iso88024TokenBus
  1170. - value: '9'
  1171. newvalue: iso88025TokenRing
  1172. - value: '10'
  1173. newvalue: iso88026Man
  1174. - value: '11'
  1175. newvalue: starLan
  1176. - value: '12'
  1177. newvalue: proteon10Mbit
  1178. - value: '13'
  1179. newvalue: proteon80Mbit
  1180. - value: '14'
  1181. newvalue: hyperchannel
  1182. - value: '15'
  1183. newvalue: fddi
  1184. - value: '16'
  1185. newvalue: lapb
  1186. - value: '17'
  1187. newvalue: sdlc
  1188. - value: '18'
  1189. newvalue: ds1
  1190. - value: '19'
  1191. newvalue: e1
  1192. - value: '20'
  1193. newvalue: basicISDN
  1194. - value: '21'
  1195. newvalue: primaryISDN
  1196. - value: '22'
  1197. newvalue: propPointToPointSerial
  1198. - value: '23'
  1199. newvalue: ppp
  1200. - value: '24'
  1201. newvalue: softwareLoopback
  1202. - value: '25'
  1203. newvalue: eon
  1204. - value: '26'
  1205. newvalue: ethernet3Mbit
  1206. - value: '27'
  1207. newvalue: nsip
  1208. - value: '28'
  1209. newvalue: slip
  1210. - value: '29'
  1211. newvalue: ultra
  1212. - value: '30'
  1213. newvalue: ds3
  1214. - value: '31'
  1215. newvalue: sip
  1216. - value: '32'
  1217. newvalue: frameRelay
  1218. - value: '33'
  1219. newvalue: rs232
  1220. - value: '34'
  1221. newvalue: para
  1222. - value: '35'
  1223. newvalue: arcnet
  1224. - value: '36'
  1225. newvalue: arcnetPlus
  1226. - value: '37'
  1227. newvalue: atm
  1228. - value: '38'
  1229. newvalue: miox25
  1230. - value: '39'
  1231. newvalue: sonet
  1232. - value: '40'
  1233. newvalue: x25ple
  1234. - value: '41'
  1235. newvalue: iso88022llc
  1236. - value: '42'
  1237. newvalue: localTalk
  1238. - value: '43'
  1239. newvalue: smdsDxi
  1240. - value: '44'
  1241. newvalue: frameRelayService
  1242. - value: '45'
  1243. newvalue: v35
  1244. - value: '46'
  1245. newvalue: hssi
  1246. - value: '47'
  1247. newvalue: hippi
  1248. - value: '48'
  1249. newvalue: modem
  1250. - value: '49'
  1251. newvalue: aal5
  1252. - value: '50'
  1253. newvalue: sonetPath
  1254. - value: '51'
  1255. newvalue: sonetVT
  1256. - value: '52'
  1257. newvalue: smdsIcip
  1258. - value: '53'
  1259. newvalue: propVirtual
  1260. - value: '54'
  1261. newvalue: propMultiplexor
  1262. - value: '55'
  1263. newvalue: ieee80212
  1264. - value: '56'
  1265. newvalue: fibreChannel
  1266. - value: '57'
  1267. newvalue: hippiInterface
  1268. - value: '58'
  1269. newvalue: frameRelayInterconnect
  1270. - value: '59'
  1271. newvalue: aflane8023
  1272. - value: '60'
  1273. newvalue: aflane8025
  1274. - value: '61'
  1275. newvalue: cctEmul
  1276. - value: '62'
  1277. newvalue: fastEther
  1278. - value: '63'
  1279. newvalue: isdn
  1280. - value: '64'
  1281. newvalue: v11
  1282. - value: '65'
  1283. newvalue: v36
  1284. - value: '66'
  1285. newvalue: g703at64k
  1286. - value: '67'
  1287. newvalue: g703at2mb
  1288. - value: '68'
  1289. newvalue: qllc
  1290. - value: '69'
  1291. newvalue: fastEtherFX
  1292. - value: '70'
  1293. newvalue: channel
  1294. - value: '71'
  1295. newvalue: ieee80211
  1296. - value: '72'
  1297. newvalue: ibm370parChan
  1298. - value: '73'
  1299. newvalue: escon
  1300. - value: '74'
  1301. newvalue: dlsw
  1302. - value: '75'
  1303. newvalue: isdns
  1304. - value: '76'
  1305. newvalue: isdnu
  1306. - value: '77'
  1307. newvalue: lapd
  1308. - value: '78'
  1309. newvalue: ipSwitch
  1310. - value: '79'
  1311. newvalue: rsrb
  1312. - value: '80'
  1313. newvalue: atmLogical
  1314. - value: '81'
  1315. newvalue: ds0
  1316. - value: '82'
  1317. newvalue: ds0Bundle
  1318. - value: '83'
  1319. newvalue: bsc
  1320. - value: '84'
  1321. newvalue: async
  1322. - value: '85'
  1323. newvalue: cnr
  1324. - value: '86'
  1325. newvalue: iso88025Dtr
  1326. - value: '87'
  1327. newvalue: eplrs
  1328. - value: '88'
  1329. newvalue: arap
  1330. - value: '89'
  1331. newvalue: propCnls
  1332. - value: '90'
  1333. newvalue: hostPad
  1334. - value: '91'
  1335. newvalue: termPad
  1336. - value: '92'
  1337. newvalue: frameRelayMPI
  1338. - value: '93'
  1339. newvalue: x213
  1340. - value: '94'
  1341. newvalue: adsl
  1342. - value: '95'
  1343. newvalue: radsl
  1344. - value: '96'
  1345. newvalue: sdsl
  1346. - value: '97'
  1347. newvalue: vdsl
  1348. - value: '98'
  1349. newvalue: iso88025CRFPInt
  1350. - value: '99'
  1351. newvalue: myrinet
  1352. - value: '100'
  1353. newvalue: voiceEM
  1354. - value: '101'
  1355. newvalue: voiceFXO
  1356. - value: '102'
  1357. newvalue: voiceFXS
  1358. - value: '103'
  1359. newvalue: voiceEncap
  1360. - value: '104'
  1361. newvalue: voiceOverIp
  1362. - value: '105'
  1363. newvalue: atmDxi
  1364. - value: '106'
  1365. newvalue: atmFuni
  1366. - value: '107'
  1367. newvalue: atmIma
  1368. - value: '108'
  1369. newvalue: pppMultilinkBundle
  1370. - value: '109'
  1371. newvalue: ipOverCdlc
  1372. - value: '110'
  1373. newvalue: ipOverClaw
  1374. - value: '111'
  1375. newvalue: stackToStack
  1376. - value: '112'
  1377. newvalue: virtualIpAddress
  1378. - value: '113'
  1379. newvalue: mpc
  1380. - value: '114'
  1381. newvalue: ipOverAtm
  1382. - value: '115'
  1383. newvalue: iso88025Fiber
  1384. - value: '116'
  1385. newvalue: tdlc
  1386. - value: '117'
  1387. newvalue: gigabitEthernet
  1388. - value: '118'
  1389. newvalue: hdlc
  1390. - value: '119'
  1391. newvalue: lapf
  1392. - value: '120'
  1393. newvalue: v37
  1394. - value: '121'
  1395. newvalue: x25mlp
  1396. - value: '122'
  1397. newvalue: x25huntGroup
  1398. - value: '123'
  1399. newvalue: trasnpHdlc
  1400. - value: '124'
  1401. newvalue: interleave
  1402. - value: '125'
  1403. newvalue: fast
  1404. - value: '126'
  1405. newvalue: ip
  1406. - value: '127'
  1407. newvalue: docsCableMaclayer
  1408. - value: '128'
  1409. newvalue: docsCableDownstream
  1410. - value: '129'
  1411. newvalue: docsCableUpstream
  1412. - value: '130'
  1413. newvalue: a12MppSwitch
  1414. - value: '131'
  1415. newvalue: tunnel
  1416. - value: '132'
  1417. newvalue: coffee
  1418. - value: '133'
  1419. newvalue: ces
  1420. - value: '134'
  1421. newvalue: atmSubInterface
  1422. - value: '135'
  1423. newvalue: l2vlan
  1424. - value: '136'
  1425. newvalue: l3ipvlan
  1426. - value: '137'
  1427. newvalue: l3ipxvlan
  1428. - value: '138'
  1429. newvalue: digitalPowerline
  1430. - value: '139'
  1431. newvalue: mediaMailOverIp
  1432. - value: '140'
  1433. newvalue: dtm
  1434. - value: '141'
  1435. newvalue: dcn
  1436. - value: '142'
  1437. newvalue: ipForward
  1438. - value: '143'
  1439. newvalue: msdsl
  1440. - value: '144'
  1441. newvalue: ieee1394
  1442. - value: '145'
  1443. newvalue: if-gsn
  1444. - value: '146'
  1445. newvalue: dvbRccMacLayer
  1446. - value: '147'
  1447. newvalue: dvbRccDownstream
  1448. - value: '148'
  1449. newvalue: dvbRccUpstream
  1450. - value: '149'
  1451. newvalue: atmVirtual
  1452. - value: '150'
  1453. newvalue: mplsTunnel
  1454. - value: '151'
  1455. newvalue: srp
  1456. - value: '152'
  1457. newvalue: voiceOverAtm
  1458. - value: '153'
  1459. newvalue: voiceOverFrameRelay
  1460. - value: '154'
  1461. newvalue: idsl
  1462. - value: '155'
  1463. newvalue: compositeLink
  1464. - value: '156'
  1465. newvalue: ss7SigLink
  1466. - value: '157'
  1467. newvalue: propWirelessP2P
  1468. - value: '158'
  1469. newvalue: frForward
  1470. - value: '159'
  1471. newvalue: rfc1483
  1472. - value: '160'
  1473. newvalue: usb
  1474. - value: '161'
  1475. newvalue: ieee8023adLag
  1476. - value: '162'
  1477. newvalue: bgppolicyaccounting
  1478. - value: '163'
  1479. newvalue: frf16MfrBundle
  1480. - value: '164'
  1481. newvalue: h323Gatekeeper
  1482. - value: '165'
  1483. newvalue: h323Proxy
  1484. - value: '166'
  1485. newvalue: mpls
  1486. - value: '167'
  1487. newvalue: mfSigLink
  1488. - value: '168'
  1489. newvalue: hdsl2
  1490. - value: '169'
  1491. newvalue: shdsl
  1492. - value: '170'
  1493. newvalue: ds1FDL
  1494. - value: '171'
  1495. newvalue: pos
  1496. - value: '172'
  1497. newvalue: dvbAsiIn
  1498. - value: '173'
  1499. newvalue: dvbAsiOut
  1500. - value: '174'
  1501. newvalue: plc
  1502. - value: '175'
  1503. newvalue: nfas
  1504. - value: '176'
  1505. newvalue: tr008
  1506. - value: '177'
  1507. newvalue: gr303RDT
  1508. - value: '178'
  1509. newvalue: gr303IDT
  1510. - value: '179'
  1511. newvalue: isup
  1512. - value: '180'
  1513. newvalue: propDocsWirelessMaclayer
  1514. - value: '181'
  1515. newvalue: propDocsWirelessDownstream
  1516. - value: '182'
  1517. newvalue: propDocsWirelessUpstream
  1518. - value: '183'
  1519. newvalue: hiperlan2
  1520. - value: '184'
  1521. newvalue: propBWAp2Mp
  1522. - value: '185'
  1523. newvalue: sonetOverheadChannel
  1524. - value: '186'
  1525. newvalue: digitalWrapperOverheadChannel
  1526. - value: '187'
  1527. newvalue: aal2
  1528. - value: '188'
  1529. newvalue: radioMAC
  1530. - value: '189'
  1531. newvalue: atmRadio
  1532. - value: '190'
  1533. newvalue: imt
  1534. - value: '191'
  1535. newvalue: mvl
  1536. - value: '192'
  1537. newvalue: reachDSL
  1538. - value: '193'
  1539. newvalue: frDlciEndPt
  1540. - value: '194'
  1541. newvalue: atmVciEndPt
  1542. - value: '195'
  1543. newvalue: opticalChannel
  1544. - value: '196'
  1545. newvalue: opticalTransport
  1546. - value: '197'
  1547. newvalue: propAtm
  1548. - value: '198'
  1549. newvalue: voiceOverCable
  1550. - value: '199'
  1551. newvalue: infiniband
  1552. - value: '200'
  1553. newvalue: teLink
  1554. - value: '201'
  1555. newvalue: q2931
  1556. - value: '202'
  1557. newvalue: virtualTg
  1558. - value: '203'
  1559. newvalue: sipTg
  1560. - value: '204'
  1561. newvalue: sipSig
  1562. - value: '205'
  1563. newvalue: docsCableUpstreamChannel
  1564. - value: '206'
  1565. newvalue: econet
  1566. - value: '207'
  1567. newvalue: pon155
  1568. - value: '208'
  1569. newvalue: pon622
  1570. - value: '209'
  1571. newvalue: bridge
  1572. - value: '210'
  1573. newvalue: linegroup
  1574. - value: '211'
  1575. newvalue: voiceEMFGD
  1576. - value: '212'
  1577. newvalue: voiceFGDEANA
  1578. - value: '213'
  1579. newvalue: voiceDID
  1580. - value: '214'
  1581. newvalue: mpegTransport
  1582. - value: '215'
  1583. newvalue: sixToFour
  1584. - value: '216'
  1585. newvalue: gtp
  1586. - value: '217'
  1587. newvalue: pdnEtherLoop1
  1588. - value: '218'
  1589. newvalue: pdnEtherLoop2
  1590. - value: '219'
  1591. newvalue: opticalChannelGroup
  1592. - value: '220'
  1593. newvalue: homepna
  1594. - value: '221'
  1595. newvalue: gfp
  1596. - value: '222'
  1597. newvalue: ciscoISLvlan
  1598. - value: '223'
  1599. newvalue: actelisMetaLOOP
  1600. - value: '224'
  1601. newvalue: fcipLink
  1602. - value: '225'
  1603. newvalue: rpr
  1604. - value: '226'
  1605. newvalue: qam
  1606. - value: '227'
  1607. newvalue: lmp
  1608. - value: '228'
  1609. newvalue: cblVectaStar
  1610. - value: '229'
  1611. newvalue: docsCableMCmtsDownstream
  1612. - value: '230'
  1613. newvalue: adsl2
  1614. - value: '231'
  1615. newvalue: macSecControlledIF
  1616. - value: '232'
  1617. newvalue: macSecUncontrolledIF
  1618. - value: '233'
  1619. newvalue: aviciOpticalEther
  1620. - value: '234'
  1621. newvalue: atmbond
  1622. - value: '235'
  1623. newvalue: voiceFGDOS
  1624. - value: '236'
  1625. newvalue: mocaVersion1
  1626. - value: '237'
  1627. newvalue: ieee80216WMAN
  1628. - value: '238'
  1629. newvalue: adsl2plus
  1630. - value: '239'
  1631. newvalue: dvbRcsMacLayer
  1632. - value: '240'
  1633. newvalue: dvbTdm
  1634. - value: '241'
  1635. newvalue: dvbRcsTdma
  1636. - value: '242'
  1637. newvalue: x86Laps
  1638. - value: '243'
  1639. newvalue: wwanPP
  1640. - value: '244'
  1641. newvalue: wwanPP2
  1642. - value: '245'
  1643. newvalue: voiceEBS
  1644. - value: '246'
  1645. newvalue: ifPwType
  1646. - value: '247'
  1647. newvalue: ilan
  1648. - value: '248'
  1649. newvalue: pip
  1650. - value: '249'
  1651. newvalue: aluELP
  1652. - value: '250'
  1653. newvalue: gpon
  1654. - value: '251'
  1655. newvalue: vdsl2
  1656. - value: '252'
  1657. newvalue: capwapDot11Profile
  1658. - value: '253'
  1659. newvalue: capwapDot11Bss
  1660. - value: '254'
  1661. newvalue: capwapWtpVirtualRadio
  1662. - value: '255'
  1663. newvalue: bits
  1664. - value: '256'
  1665. newvalue: docsCableUpstreamRfPort
  1666. - value: '257'
  1667. newvalue: cableDownstreamRfPort
  1668. - value: '258'
  1669. newvalue: vmwareVirtualNic
  1670. - value: '259'
  1671. newvalue: ieee802154
  1672. - value: '260'
  1673. newvalue: otnOdu
  1674. - value: '261'
  1675. newvalue: otnOtu
  1676. - value: '262'
  1677. newvalue: ifVfiType
  1678. - value: '263'
  1679. newvalue: g9981
  1680. - value: '264'
  1681. newvalue: g9982
  1682. - value: '265'
  1683. newvalue: g9983
  1684. - value: '266'
  1685. newvalue: aluEpon
  1686. - value: '267'
  1687. newvalue: aluEponOnu
  1688. - value: '268'
  1689. newvalue: aluEponPhysicalUni
  1690. - value: '269'
  1691. newvalue: aluEponLogicalLink
  1692. - value: '270'
  1693. newvalue: aluGponOnu
  1694. - value: '271'
  1695. newvalue: aluGponPhysicalUni
  1696. - value: '272'
  1697. newvalue: vmwareNicTeam
  1698. - value: '277'
  1699. newvalue: docsOfdmDownstream
  1700. - value: '278'
  1701. newvalue: docsOfdmaUpstream
  1702. - value: '279'
  1703. newvalue: gfast
  1704. - value: '280'
  1705. newvalue: sdci
  1706. - value: '281'
  1707. newvalue: xboxWireless
  1708. - value: '282'
  1709. newvalue: fastdsl
  1710. - value: '283'
  1711. newvalue: docsCableScte55d1FwdOob
  1712. - value: '284'
  1713. newvalue: docsCableScte55d1RetOob
  1714. - value: '285'
  1715. newvalue: docsCableScte55d2DsOob
  1716. - value: '286'
  1717. newvalue: docsCableScte55d2UsOob
  1718. - value: '287'
  1719. newvalue: docsCableNdf
  1720. - value: '288'
  1721. newvalue: docsCableNdr
  1722. - value: '289'
  1723. newvalue: ptm
  1724. - value: '290'
  1725. newvalue: ghn
  1726. - uuid: 59dccab0fcbf4da189c43f4e159efa92
  1727. name: 'Service state'
  1728. mappings:
  1729. - value: '0'
  1730. newvalue: Down
  1731. - value: '1'
  1732. newvalue: Up
  1733. - uuid: 8a9bae9b27f0412394f34cc5de59ca69
  1734. name: zabbix.host.available
  1735. mappings:
  1736. - value: '0'
  1737. newvalue: 'not available'
  1738. - value: '1'
  1739. newvalue: available
  1740. - value: '2'
  1741. newvalue: unknown
  1742. triggers:
  1743. - uuid: df3496055af942dcbca475a24b02fddf
  1744. expression: '(last(/Huawei VRP by SNMP walk/system.hw.uptime[hrSystemUptime.0])>0 and last(/Huawei VRP by SNMP walk/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Huawei VRP by SNMP walk/system.hw.uptime[hrSystemUptime.0])=0 and last(/Huawei VRP by SNMP walk/system.net.uptime[sysUpTime.0])<10m)'
  1745. name: 'Huawei VRP: Host has been restarted'
  1746. event_name: 'Huawei VRP: {HOST.NAME} has been restarted (uptime < 10m)'
  1747. priority: WARNING
  1748. description: 'Uptime is less than 10 minutes.'
  1749. manual_close: 'YES'
  1750. dependencies:
  1751. - name: 'Huawei VRP: No SNMP data collection'
  1752. expression: 'max(/Huawei VRP by SNMP walk/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
  1753. tags:
  1754. - tag: scope
  1755. value: notice