5.02021-11-21T22:01:45ZTemplatesCiena 6500 2Ciena 6500 2## Overview
This template will discover and monitor various optical interfaces - mainly light levels and baselines and alert if light levels fall outside of VARIANCE macro. Also will report when OSC has no light and serve a clear indication that there is a fiber issue.
No MIBs required. Used OIDs.
No Dependencies - just enable SNMP with v2 community on the shelf and set SNMP\_COMMUNITY macro in template.
## Author
Dustin Howard
TemplatesAlarmsBackupsEthernet InterfaceGeneralInventoryOptical AMP/OSCOptical Transport Interface- Number of Critical AlarmsSNMP_AGENT1.3.6.1.4.1.562.68.11.4.1.1.0ciena.critical.alarms5mFLOATThis is the number of critical alarms that currently exist at this node which may have one or more shelves.Alarms({change()}>0) and ({TRIGGER.VALUE}=0)RECOVERY_EXPRESSION(({change()}<0) and ({TRIGGER.VALUE}=1)
and
{last(#1)}={last(#288)})Critical Alarm ExistsHIGHCritical alarms exist on node. For alarm details you will need to connect to host via site manager.YES
- Number of Major AlarmsSNMP_AGENT1.3.6.1.4.1.562.68.11.4.1.2.0ciena.major.alarms5mFLOATThis is the number of major alarms that currently exist at this node which may have one or more shelves.Alarms({change()}>0) and ({TRIGGER.VALUE}=0)RECOVERY_EXPRESSION(({change()}<0) and ({TRIGGER.VALUE}=1)
and
{last(#1)}={last(#288)})Major Alarm ExistsAVERAGEMajor alarms exist on node. For alarm details you will need to connect to host via site manager.YES
- Number of Minor AlarmsSNMP_AGENT1.3.6.1.4.1.562.68.11.4.1.3.0ciena.minor.alarms5mFLOATThis is the number of minor alarms that currently exist at this node which may have one or more shelves.Alarms({change()}>0) and ({TRIGGER.VALUE}=0)RECOVERY_EXPRESSION(({change()}<0) and ({TRIGGER.VALUE}=1)
and
{last(#1)}={last(#288)})Minor Alarm ExistsWARNINGMinor alarms exist on node. For alarm details you will need to connect to host via site manager.YES
- Number of WarningsSNMP_AGENT1.3.6.1.4.1.562.68.11.4.1.4.0ciena.warnings5mFLOATThis is the number of warnings that currently exist at this node which may have one or more shelves.Alarms({change()}>0) and ({TRIGGER.VALUE}=0)RECOVERY_EXPRESSION(({change()}<0) and ({TRIGGER.VALUE}=1)
and
{last(#1)}={last(#288)})Warning Alarm ExistsINFOWarning alarms exist on node. For alarm details you will need to connect to host via site manager.YES
- Software VersionSNMP_AGENT1.3.6.1.4.1.562.68.11.1.1.5.0software.version6h14d0CHAROSGeneral
- Device UptimeSNMP_AGENT1.3.6.1.2.1.1.3.0system.uptime5m14d0sThe time (in seconds) since the network management portion of the system was last re-initialized.MULTIPLIER0.01{last(#1)}<8m
and
{last(#3)}<42948779System RestartedAVERAGEThis trigger will indicate if the device has restarted. The uptime is less than 10 minutes.
Shelf Inventory DiscoverySNMP_AGENTdiscovery[{#DESCRIPTION},.1.3.6.1.2.1.47.1.1.1.1.2,{#MODEL},.1.3.6.1.2.1.47.1.1.1.1.13,{#CONTAINER},.1.3.6.1.2.1.47.1.1.1.1.7]enventory.discovery1d;wd1h8{#MODEL}.ASerial Number: "{#DESCRIPTION}" in {#CONTAINER} MODEL-{#MODEL}SNMP_AGENT1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}serial.number.[{#SNMPINDEX}]1d0CHARThe serial number for this module.InventoryEthernet Interface DiscoverySNMP_AGENTdiscovery[{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFDESCR},1.3.6.1.2.1.2.2.1.2]ethernet.transport.if.discovery1d;wd1h14AND{#IFDESCR}ETHB{#IFADMINSTATUS}1A{#IFDESCR}: Bits ReceivedSNMP_AGENT1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}ciena6500.ethernet.if.bits.in[{#SNMPINDEX}]5mbpsThe total number of bits per second received on the interface.Ethernet InterfaceCHANGE_PER_SECONDMULTIPLIER8{#IFDESCR}: Bits SentSNMP_AGENT1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}ciena6500.ethernet.if.bits.out[{#SNMPINDEX}]5mbpsThe total number of bits per second sent on the interface.Ethernet InterfaceCHANGE_PER_SECONDMULTIPLIER8{#IFDESCR}: Ethernet ErrorsSNMP_AGENT1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}ciena6500.ethernet.if.errors.in[{#SNMPINDEX}]5merrors per secondThe average number of inbound packets per second that contained errors preventing them from being deliverable to a higher-layer protocol.Ethernet InterfaceCHANGE_PER_SECOND{#IFDESCR}: Admin statusSNMP_AGENT1.3.6.1.2.1.2.2.1.7.{#SNMPINDEX}ethernet.if.status[ifAdminStatus.{#SNMPINDEX}]5mThe administrative state of the interface.Ethernet InterfaceInterface Admin Status{#IFDESCR}: Operational statusSNMP_AGENT1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}ethernet.if.status[ifOperStatus.{#SNMPINDEX}]5mThe operational state of the interface.Ethernet InterfaceInterface Operational Status{Ciena 6500 2:ethernet.if.status[ifOperStatus.{#SNMPINDEX}].last(#1)}<>1 and {Ciena 6500 2:ethernet.if.status[ifAdminStatus.{#SNMPINDEX}].last(#1,1)}=1{#IFDESCR} DOWNWARNINGThe operational status of this Ethernet interface is DOWN.{#IFDESCR}): Ethernet trafficGRADIENT_LINE4CAF50- Ciena 6500 2ciena6500.ethernet.if.bits.in[{#SNMPINDEX}]
1BOLD_LINE2774A4- Ciena 6500 2ciena6500.ethernet.if.bits.out[{#SNMPINDEX}]
2BOLD_LINEF63100- Ciena 6500 2ciena6500.ethernet.if.errors.in[{#SNMPINDEX}]
Optical OSC DiscoverySNMP_AGENTdiscovery[{#PORTNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.3,{#CHECKNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.4]optical.osc.discovery1d;wd1h9{#CHECKNAME}OPR-OCH NEND RCVA{#PORTNAME}OSC-.*B{#PORTNAME} "{#CHECKNAME}"SNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}optical.osc[{#PORTNAME}.{#CHECKNAME}]FLOATdbmThe OSC received light level in dbm.Optical AMP/OSCOptical OSC Spanloss DiscoverySNMP_AGENTdiscovery[{#PORTNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.3,{#CHECKNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.4]optical.osc.spanloss.discovery1d;wd1h10{#PORTNAME}OSC.*B{#CHECKNAME}SPANLOSS-OCH NEND RCVA{#PORTNAME} "{#CHECKNAME}"SNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}optical.osc.spanloss[{#PORTNAME}.{#CHECKNAME}]FLOATdbThe span loss ont he receive fiber in db.Optical AMP/OSC{sum(#2)}=0 or {last(#1)}<-44{#PORTNAME} has No LightHIGHThe last two values for "{#CHECKNAME}" is 0. The check reports 0db when the OSC circuit cannot determine the spanloss. This would indicate a loss of light.Optical AMP Rx DiscoverySNMP_AGENTdiscovery[{#PORTNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.3,{#CHECKNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.4,{#INDEX},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.1]optical.rx.discovery1d;wd1h13{#CHECKNAME}OPIN-OTS NEND NAA{#PORTNAME}.*AMP.*B{#PORTNAME} "Optical Receive Power" baselineSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.3.1.1.6.{#INDEX}.52optical.baseline[{#PORTNAME}.OPIN]5mFLOATdbmThe baseline set on the shelf. This can be re-initialized when needed via site manager.Optical AMP/OSC{#PORTNAME} "Optical Receive Power"SNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#INDEX}.52optical.rx[{#PORTNAME}.OPIN]5mFLOATdbmOptical AMP/OSC(({Ciena 6500 2:optical.rx[{#PORTNAME}.OPIN].last(#1)}<{Ciena 6500 2:optical.baseline[{#PORTNAME}.OPIN].last(#1)}-{$OPTICAL_VARIANCE}) or
({Ciena 6500 2:optical.rx[{#PORTNAME}.OPIN].last(#1)}>{Ciena 6500 2:optical.baseline[{#PORTNAME}.OPIN].last(#1)}+{$OPTICAL_VARIANCE})){#PORTNAME} Optical Rx Power crossed baseline thresholdsINFOThe optical power level it more than {$OPTICAL_VARIANCE}db from the baseline value. This could be due to a new fiber event or the baselines may need to be reset. First verify the optical path then decide weather to reset the baselines. The baseline value can be reset in the PMs on the Ciena shelf.Optical Transport Interface DiscoverySNMP_AGENTdiscovery[{#IFTYPE},.1.3.6.1.2.1.2.2.1.3,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#CONNPRESENT},.1.3.6.1.2.1.31.1.1.1.17]optical.transport.if.discovery1d;wd1h11AND{#IFTYPE}196C{#IFADMINSTATUS}1B{#CONNPRESENT}1A{#IFDESCR}: Admin StatusSNMP_AGENT1.3.6.1.2.1.2.2.1.7.{#SNMPINDEX}net.if.status[ifAdminStatus.{#SNMPINDEX}]5mThe administrative status of the port.Optical Transport InterfaceInterface Admin Status{#IFDESCR}: Operational statusSNMP_AGENT1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}net.if.status[ifOperStatus.{#SNMPINDEX}]5mThe operational status of the port.Optical Transport InterfaceInterface Operational Status{#IFDESCR}: Optical Power ReceivedSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}.32net.if.status[opr.och.nend.rcv.{#SNMPINDEX}]5mFLOATdbmThe optical power received at this port in dbm.Optical Transport Interface{#IFDESCR}: Optical Power TransmittedSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}.34net.if.status[opr.och.nend.trmt.{#SNMPINDEX}]5mFLOATdbmThe optical power transmitted at this port in dbm.Optical Transport Interface{#IFDESCR}: Post-FEC bit error rateSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}.42net.if.status[post.fec.ber.{#SNMPINDEX}]5m0CHARPost-FEC bit error rate estimate, optical channel transport unitOptical Transport Interface{#IFDESCR}: Pre-FEC bit error rateSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}.43net.if.status[pre.fec.ber.{#SNMPINDEX}]5m0CHARPre-FEC bit error rate, optical channel transport unitOptical Transport Interface{#IFDESCR}: Uncorrected FEC blockSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#SNMPINDEX}.189net.if.status[uncorrected.fec.block.{#SNMPINDEX}]5mblock errorUncorrected FEC blocks, Optical Transport Unit.Optical Transport Interface{Ciena 6500 2:net.if.status[ifOperStatus.{#SNMPINDEX}].last(#1)}<>1 and {Ciena 6500 2:net.if.status[ifAdminStatus.{#SNMPINDEX}].last(#1,1)}=1{#IFDESCR} DOWNAVERAGEThe interface status is not UP for this DWDM transport interface. This indicates the DWDM wave is down and could be a result of a fiber cut.Optical AMP Tx DiscoverySNMP_AGENTdiscovery[{#PORTNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.3,{#CHECKNAME},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.4,{#INDEX},.1.3.6.1.4.1.562.68.10.1.1.1.1.1.1]optical.tx.discovery1d;wd1h12AND{#PORTNAME}.*AMP.*B{#CHECKNAME}ORL-OTS NEND NAA{#PORTNAME} "Optical Transmit Power" baselineSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.3.1.1.6.{#INDEX}.55optical.tx.baseline[{#PORTNAME}.OPOUT]5mFLOATdbmThe baseline set on the shelf. This can be re-initialized when needed via site manager.Optical AMP/OSC{#PORTNAME} "Optical Return Loss" baselineSNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.3.1.1.6.{#INDEX}.51optical.tx.baseline[{#PORTNAME}.ORL]5mFLOATdbmThe baseline set on the shelf. This can be re-initialized when needed via site manager.Optical AMP/OSC{#PORTNAME} "Optical Transmit Power"SNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#INDEX}.55optical.tx[{#PORTNAME}.OPOUT]5mFLOATdbmThe optical transit power for this port in dbm.Optical AMP/OSC{#PORTNAME} "Optical Return Loss"SNMP_AGENT1.3.6.1.4.1.562.68.10.1.1.1.1.1.6.{#INDEX}.51optical.tx[{#PORTNAME}.ORL]5mFLOATdbmOptical Return Loss (ORL) is similar to SNR. The higher the ORL, the better.Optical AMP/OSC{last(#1)}<30{#PORTNAME} LOW "Optical Return Loss"WARNINGOptical Return Loss (ORL) is similar to SNR. The higher the ORL, the better. The minimum ORL is 30db. Anything lower than 30db indicates a fiber issue, such as a dirty connector or improper fiber mating.({Ciena 6500 2:optical.tx[{#PORTNAME}.ORL].last(#1)}<{Ciena 6500 2:optical.tx.baseline[{#PORTNAME}.ORL].last(#1)}-{$OPTICAL_VARIANCE}) or
({Ciena 6500 2:optical.tx[{#PORTNAME}.ORL].last(#1)}>{Ciena 6500 2:optical.tx.baseline[{#PORTNAME}.ORL].last(#1)}+{$OPTICAL_VARIANCE}){#PORTNAME} Optical Return Loss crossed baseline thresholdsINFOThe optical return loss it more than {$OPTICAL_VARIANCE}db from the baseline value. This could be due to a new fiber event or the baselines may need to be reset. First verify the optical path then decide weather to reset the baselines. The baseline value can be reset in the PMs on the Ciena shelf.({Ciena 6500 2:optical.tx[{#PORTNAME}.OPOUT].last(#1)}<{Ciena 6500 2:optical.tx.baseline[{#PORTNAME}.OPOUT].last(#1)}-{$OPTICAL_VARIANCE}) or
({Ciena 6500 2:optical.tx[{#PORTNAME}.OPOUT].last(#1)}>{Ciena 6500 2:optical.tx.baseline[{#PORTNAME}.OPOUT].last(#1)}+{$OPTICAL_VARIANCE}){#PORTNAME} Optical Tx Power crossed baseline thresholdsINFOThe optical power level is more than {$OPTICAL_VARIANCE}db from the baseline value. This could be due to a new fiber event or the baselines may need to be reset. First verify the optical path then decide weather to reset the baselines. The baseline value can be reset in the PMs on the Ciena shelf.{$OPTICAL_VARIANCE}2the allowed variance from baselines in db{$SNMP_COMMUNITY}secretInterface Admin Status1up2down3testingInterface Operational Status1up2down3testing