5.02021-11-21T21:30:06ZTemplatesJuniper TotalJuniper Total## Overview
This template is a smattering of a few templates combined with some custom discovery rules.
It has been tested to work with most Juniper switches and firewalls. It uses the standard SNMP root for all discovery, so it works with most switch/router devices. If you have any issues with it let me know. I exported this from a live system, so the read the dependencies below.
**What it does:**
* BGP Discovery
+ Peer State
* IPSEC Discovery
+ Peer State
* Interface Discovery
+ Traffic in/out
+ Errors in/out
+ Drops in/out
* OSPF Discovery
+ Neighbor State
* IKE Discovery
+ Peer State
**Non Discovery items:**
* Temperature
* CPU
* Memory
* Make/Model
* ICMP
The template creates quite a few graph prototypes and adds them to a screen as well.
**Dependencies:**
The template had value maps, interface filters and groups associated with it when I cloned it, but I removed them so there shouldn't be any issues with it. If you find an issue importing let me know. I was successful importing default template to a new system.
**Other Instructions:**
Be sure to fill in the $SNMP\_COMMUNITY macro with your SNMP community string.
Also IKE discovery does not seem to work on JunOS pre 12.3. Everything else seems to work fine.
**Updates:**
1) Updated as I left my community string in the macros section :(
2) The Parent OID for interface discovery is for the 32Bit counters. This will not work for 64Bit devices. I'll update this week
TemplatesBGPCPUGeneralICMPIKEIPSECMemoryOPSFTemperature- Simple ICMP TimeSIMPLEicmppingsec[,,,,,]30FLOATslegal-discovery-userAHJppDeQCJgAyyEH_OTTiOAyLICMP
- Simple ICMP Up CheckSIMPLEicmpping[,,,,]307dlegal-discovery-userAHJppDeQCJgAyyEH_OTTiOAyLICMP{last()}=0{HOST.NAME} ICMP ResponseWARNING
- Juniper Make/ModelSNMP_AGENT1.3.6.1.2.1.1.1.0juniper.make.model36005d0TEXTOID to query Unit Make and ModelGeneral
- JunOS CPU % in useSNMP_AGENT.1.3.6.1.4.1.2636.3.1.13.1.8.9.1.0.0Junos.CPU30%CPU
- JunOS Memory % in useSNMP_AGENT.1.3.6.1.4.1.2636.3.1.13.1.11.9.1.0.0Junos.Mem30%Memory
- JunOS temperatureSNMP_AGENT.1.3.6.1.4.1.2636.3.1.13.1.7.9.1.0.0Junos.Temp30CTemperature
Juniper BGP Peer EnumerationSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.2.1.15.3.1.2]discovery.bgp36001dbgpPeerState {#SNMPINDEX}SNMP_AGENT.1.3.6.1.2.1.15.3.1.2.{#SNMPINDEX}.1.3.6.1.2.1.15.3.1.2.[{#SNMPINDEX}]60FLOATBGPBGP PEER STATE {#SNMPINDEX}1A7C11- Juniper Total.1.3.6.1.2.1.15.3.1.2.[{#SNMPINDEX}]
Juniper Interface enumerationSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.2.1.2.2.1.2]discovery.ifDescr36001d{#SNMPVALUE} - Inbound trafficSNMP_AGENT.1.3.6.1.2.1.2.2.1.10.{#SNMPINDEX}.1.3.6.1.2.1.2.2.1.10.[{#SNMPINDEX}]607dFLOATbpsCHANGE_PER_SECONDMULTIPLIER8{#SNMPVALUE} - Inbound discarded packetsSNMP_AGENT.1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}.1.3.6.1.2.1.2.2.1.13.[{#SNMPINDEX}]607dSIMPLE_CHANGE{#SNMPVALUE} - Inbound error packetsSNMP_AGENT.1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}.1.3.6.1.2.1.2.2.1.14.[{#SNMPINDEX}]607dSIMPLE_CHANGE{#SNMPVALUE} - Outbound trafficSNMP_AGENT1.3.6.1.2.1.2.2.1.16.{#SNMPINDEX}1.3.6.1.2.1.2.2.1.16.[{#SNMPINDEX}]607dFLOATbpsCHANGE_PER_SECONDMULTIPLIER8{#SNMPVALUE} - Outbound discarded packetsSNMP_AGENT1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}1.3.6.1.2.1.2.2.1.19.[{#SNMPINDEX}]607dSIMPLE_CHANGEMULTIPLIER1{#SNMPVALUE} - Outbound error packetsSNMP_AGENT1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}1.3.6.1.2.1.2.2.1.20.[{#SNMPINDEX}]607dSIMPLE_CHANGEMULTIPLIER1Interface {#SNMPVALUE} Discards and Errors1A7C11- Juniper Total.1.3.6.1.2.1.2.2.1.13.[{#SNMPINDEX}]
1F63100- Juniper Total1.3.6.1.2.1.2.2.1.19.[{#SNMPINDEX}]
22774A4- Juniper Total.1.3.6.1.2.1.2.2.1.14.[{#SNMPINDEX}]
3A54F10- Juniper Total1.3.6.1.2.1.2.2.1.20.[{#SNMPINDEX}]
Interface {#SNMPVALUE} TrafficGRADIENT_LINE1A7C11- Juniper Total.1.3.6.1.2.1.2.2.1.10.[{#SNMPINDEX}]
1GRADIENT_LINEF63100- Juniper Total1.3.6.1.2.1.2.2.1.16.[{#SNMPINDEX}]
Juniper IKE Peer EnumerationSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.2636.3.52.1.1.2.1.14.1.4]discovery.ike36001dikePeerState {#SNMPINDEX}SNMP_AGENT.1.3.6.1.4.1.2636.3.52.1.1.2.1.6.1.4.{#SNMPINDEX}.1.3.6.1.4.1.2636.3.52.1.1.2.1.6.1.4.[{#SNMPINDEX}]307dFLOATIKEJuniper IPSec Tunnel State EnumerationSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.2636.3.39.1.5.1.2.1.1.4]discovery.IPSec36001dIPSec Tunnel State {#SNMPINDEX}SNMP_AGENT1.3.6.1.4.1.2636.3.39.1.5.1.2.1.1.4.{#SNMPINDEX}1.3.6.1.4.1.2636.3.39.1.5.1.2.1.1.4.[{#SNMPINDEX}]60FLOATIPSECJuniper OSPF Neighbor State EnumerationSNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.2.1.14.10.1.6]discovery.ospf.nbr36001dospfNbrState {#SNMPINDEX}SNMP_AGENT.1.3.6.1.2.1.14.10.1.6.{#SNMPINDEX}.1.3.6.1.2.1.14.10.1.6.[{#SNMPINDEX}]60FLOATOPSF{$SNMP_COMMUNITY}FillMeInPerformance screen280TemperatureJuniper Total50010000110000030CPU UtilizationJuniper Total50010010110000030Memory UtilizationJuniper Total50010001210000030ICMP ResponseJuniper Total50010003110000030ICMP TimeJuniper Total500100131100000320Interface {#SNMPVALUE} TrafficJuniper Total500100052100000220Interface {#SNMPVALUE} Discards and ErrorsJuniper Total5001000621000002CPU Utilization1A7C11- Juniper TotalJunos.CPU
ICMP Response1A7C11- Juniper Totalicmpping[,,,,]
ICMP TimeGRADIENT_LINEEE0000- Juniper Totalicmppingsec[,,,,,]
Memory Utilization1A7C11- Juniper TotalJunos.Mem
TemperatureEE0000- Juniper TotalJunos.Temp