[j-nsp] Junipers and Cricket?

Edoardo Martelli edoardo.martelli at cern.ch
Thu Feb 6 19:41:42 EST 2003


hi

attached a Default.

below how define a target

target  router.cern.ch
         target-type     =       juniper-operating-status
         short-desc      =       "routing engine - Juniper M10 "
         part            =       "Routing Engine"


hope it helps

Edoardo

John Senior wrote:
> Hi there,
> 
> Is anyone pulling stats off of a Juniper box using cricket?  Do you
> have a config you would care to share?
> 
> All the best,
> 
> John.
> 
> --
> John Senior <js at irishbroadband.ie> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp

-- 
edoardo.martelli at cern.ch
phone: +41.22.76.75026

-------------- next part --------------
# Juniper Environment Default file
# Edoardo Martelli 20020122
#
# to retrieve the part use: .1.3.6.1.4.1.2636.3.1.13.1.5
# examples:
# enterprises.2636.3.1.13.1.5.1.1.0.0 = "midplane"
# enterprises.2636.3.1.13.1.5.2.1.0.0 = "Power Supply A"
# enterprises.2636.3.1.13.1.5.2.2.0.0 = "Power Supply B"
# enterprises.2636.3.1.13.1.5.4.1.1.0 = "Left Fan 1"
# enterprises.2636.3.1.13.1.5.4.1.2.0 = "Left Fan 2"
# enterprises.2636.3.1.13.1.5.4.1.3.0 = "Left Fan 3"
# enterprises.2636.3.1.13.1.5.4.1.4.0 = "Left Fan 4"
# enterprises.2636.3.1.13.1.5.6.1.0.0 = "FEB E-FEB"
# enterprises.2636.3.1.13.1.5.7.1.0.0 = "FPC: 1x STM-16 SDH, SMSR @ 0/*/*"
# enterprises.2636.3.1.13.1.5.7.2.0.0 = "FPC @ 1/*/*"
# enterprises.2636.3.1.13.1.5.9.1.0.0 = "Routing Engine"


OID jnxOperatingTable .1.3.6.1.4.1.2636.3.1.13

map jnx-component-name
        base-oid =   jnxOperatingTable.1.5
        match    =   %part%

datasource componentTemp
        ds-source  =  snmp://%snmp%/jnxOperatingTable.1.7.%inst%
        rrd-ds-type = GAUGE

datasource componentCpu
        ds-source  =  snmp://%snmp%/jnxOperatingTable.1.8.%inst%
        rrd-ds-type = GAUGE

datasource componentCpuISR
        ds-source  =  snmp://%snmp%/jnxOperatingTable.1.9.%inst%
        rrd-ds-type = GAUGE

datasource componentMemBufferPct
        ds-source  =  snmp://%snmp%/jnxOperatingTable.1.11.%inst%
        rrd-ds-type = GAUGE

datasource componentMemHeapPct
        ds-source  =  snmp://%snmp%/jnxOperatingTable.1.12.%inst%
        rrd-ds-type = GAUGE

targetType juniper-operating-status
        ds = "componentTemp, componentCpu, componentCpuISR, 
              componentMemBufferPct, componentMemHeapPct"
        view = "cpu: componentCpu componentCpuISR,
                memory: componentMemBufferPct componentMemHeapPct,
		temperature: componentTemp"

target --default--
        inst = map(jnx-component-name)
        target-type = juniper-operating-status
        directory-desc          = "cpu, memory, temperature"
#        router                  = %auto-target-name%
#        snmp-host               = %router%

graph   componentCpu
    units   =   "%"
    color   =   dark-green
    draw-as =   AREA
    y-axis  =   "Percent CPU utilization"
    legend  =   "CPU utilization"
    # fixed y-axis, since this is a percentage
    y-min   =       0
    y-max   =       100

graph   componentCpuISR
    units   =   "%"
    color   =   blue
    y-axis  =   "Percent CPU utilization in Interrupt Service Routine"
    legend  =   "CPU Interrupt Service Routine utilization"
    # fixed y-axis, since this is a percentage
    y-min   =       0
    y-max   =       100

graph   componentMemBufferPct
    units   =   "%"
    color   =   dark-green
    draw-as =   AREA
    y-axis  =   "Percent Memory Buffer Pool utilization"
    legend  =   "Memory Buffer Pool utilization"
    # fixed y-axis, since this is a percentage
    y-min   =       0
    y-max   =       100

graph   componentMemHeapPct
    units   =   "%"
    color   =   blue
    y-axis  =   "Percent Memory Heap utilization"
    legend  =   "Memory Heap utilization"
    # fixed y-axis, since this is a percentage
    y-min   =       0
    y-max   =       100


graph   componentTemp
    color   =   dark-green
    draw-as =   AREA
    y-axis  =   "degrees Centigrade"
    units   =       "&#176;"
    space   =       ""
    legend  =   "temperature in C"
    precision       =       integer




More information about the juniper-nsp mailing list