5.02021-11-21T21:53:56ZJuniper Optical InterfacesJuniper-Optical-InterfacesJuniper-Optical-Interfaces## Description
Based on Zabbix's official Template Net Juniper SNMPv2, only minor modifications have been made. 1.The interfaces in the down and shutdown states have been filtered,virtual interfaces have also been filtered 2.The trigger threshold seting is -19dbm or 0dbm. 3.only RxLaserPower items,if you need TxLaserPower items but don’t know how to do it, please email me. whye1700#gmail.com(replace # with @)
## Overview
2020-06-09-update
* The template was modified suitable for version 3.4
~~~~~~~~~~~~~~~~~
2020-03-20-update
* Add TxLaserPower item,If you need please download "template-add\_TxLaserPower.xml"
* TxLaserPower-Trigger,set Tx threshold on -10dbm or 0dbm,
* Added lsi-interfaces in to filters,you can change in filters seting page.
~~~~~~~~~~~~~~~~~
Based on Zabbix's official template Net Juniper SNMPv2, only a few modifications have been made,
This template can monitor RxLaserPower of the optical interface.
* The interfaces in the down and shutdown states have been filtered.
* The virtual interfaces have also been filtered, (vme|lsi|pfe|pfh|.0|bme|gr|gre|tap|irb|dsc|ipip|pimd|pime|mtun|em0|em1|em2|esi|jsrv|vtep|me|lt|ip|lc|ut|mt|vt|pe|cbp|ud|fxp|dem|pip|pp|et|ae)
* The trigger threshold seting is -19dbm or 0dbm.
<li style="box-sizing: border-box; margin-top: 0.25
Juniper Optical InterfacesJuniper Optical InterfacesJuniper Optical Interfaces DiscoverySNMP_AGENTdiscovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3,{#JNXDOMCURRENTTABLE},1.3.6.1.4.1.2636.3.60.1.1.1]net.if.optical.discovery12hAND{#IFADMINSTATUS}(1|3)A{#IFOPERSTATUS}(1|3|4|5|7)B{#IFTYPE}6C{#IFTYPE}(ge|xe)D6hInterface {#IFNAME}({#IFALIAS}): RxLaserPowerSNMP_AGENT1.3.6.1.4.1.2636.3.60.1.1.1.1.5.{#SNMPINDEX}jnxDomCurrentRxLaserPower[ifDescr.{#SNMPINDEX}]60sFLOATdbmJuniper Optical InterfacesMULTIPLIER0.01{last()}<-19 or {last()}=0RECOVERY_EXPRESSION{last()}>-19 and {last()}<>0({#IFALIAS}){#IFNAME}-RxLaser-lower-then-19dbWARNINGYESInterface {#IFNAME}({#IFALIAS}): RxLaserPower4000FFALL- Juniper-Optical-InterfacesjnxDomCurrentRxLaserPower[ifDescr.{#SNMPINDEX}]