Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show snmp rmon

    Syntax

    show snmp rmon <alarms <brief | detail> | events <brief | detail> | logs>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Description

    Display information about Simple Network Management Protocol (SNMP) Remote Monitoring (RMON) alarms and events.

    Options

    none
    —

    Display information about all RMON alarms and events.

    alarms
    —

    (Optional) Display information about RMON alarms.

    brief | detail
    —

    (Optional) Display brief or detailed information about RMON alarms or events.

    events
    —

    (Optional) Display information about RMON events.

    logs
    —

    (Optional) Display information about RMON monitoring logs.

    Required Privilege Level

    view

    List of Sample Output

    show snmp rmon
    show snmp rmon alarms detail
    show snmp rmon events detail

    Output Fields

    Table 1 describes the output fields for the show snmp rmon command. Output fields are listed in the approximate order in which they appear.

    Table 1: show snmp rmon Output Fields

    Field Name

    Field Description

    Level of Output

    Alarm Index

    Alarm identifier.

    All levels

    State

    State of the alarm or event entry:

    Alarms:

    • active—Entry is fully configured and activated.
    • falling threshold crossed—Value of the variable has crossed the lower threshold limit.
    • rising threshold crossed—Value of the variable has crossed the upper threshold limit.
    • under creation—Entry is being configured and is not yet activated.
    • startup—Alarm is waiting for the first sample of the monitored variable.
    • object not available—Monitored variable of that type is not available to the SNMP agent.
    • instance not available—Monitored variable's instance is not available to the SNMP agent.
    • object type invalid—Monitored variable is not a numeric value.
    • object processing errored—An error occurred when the monitored variable was processed.
    • unknown—State is not one of the above.

    Events:

    • active—Entry has been fully configured and activated.
    • under creation—Entry is being configured and is not yet activated.
    • unknown—State is not one of the above.

    All levels

    Variable name

    Name of the SNMP object instance being monitored.

    All levels

    Event Index

    Event identifier.

    All levels

    Type

    Type of notification made when an event is triggered. It can be one of the following:

    • log—A system log message is generated and an entry is made to the log table.
    • snmptrap—An SNMP trap is sent to the configured destination.
    • log and trap—A system log message is generated, an entry is made to the log table, and an SNMP trap is sent to the configured destination.
    • none—Neither log nor trap will be sent.

    detail

    Last Event

    Date and time of the last event. It has the format yyyy-mm-dd hh:mm:ss timezone.

    brief

    Community

    Identifies the trap group used for sending the SNMP trap.

    detail

    Variable OID

    Object ID to which the variable name is resolved. The format is x.x.x.x.

    detail

    Sample type

    Method of sampling the monitored variable and calculating the value to compare against the upper and lower thresholds. It can have the value of absolute value or delta value.

    detail

    Startup alarm

    Alarm that might be sent when this entry is first activated, depending on the following criteria:

    • Alarm is sent when one of the following situations exists:
      • Value of the alarm is above or equal to the rising threshold and the startup type is either rising alarm or rising or falling alarm.
      • Value of the alarm is below or equal to the falling threshold and the startup type is either falling alarm or rising or falling alarm.
    • Alarm is not sent when one of the following situations exists:
      • Value of the alarm is above or equal to the rising threshold and the startup type is falling alarm.
      • Value of the alarm is below or equal to the falling threshold and the startup type is rising alarm.
      • Value of the alarm is between the thresholds.

    detail

    Owner

    Name of the entry configured by the user. If the entry was created through the CLI, the owner has monitor prepended to it.

    detail

    Creator

    Mechanism by which the entry was configured (CLI or SNMP).

    detail

    Sample interval

    Time period between samples (in seconds).

    detail

    Rising threshold

    Upper limit threshold value configured by the user.

    detail

    Falling threshold

    Lower limit threshold value configured by the user.

    detail

    Rising event index

    Event triggered when the rising threshold is crossed.

    detail

    Falling event index

    Event triggered when the falling threshold is crossed.

    detail

    Current value

    Current value of the monitored variable in the most recent sample interval.

    detail

    Sample Output

    show snmp rmon

    user@host> show snmp rmon
    Alarm 
    Index  State                       Variable name
        1  falling threshold crossed   ifInOctets.1 
    
    Event 
    Index  Type                        Last Event
        1  log and trap                2002-01-30 01:13:01 PST 
    
    

    show snmp rmon alarms detail

    user@host> show snmp rmon alarms detail
    Alarm Index 1:
      Variable name                        ifInOctets.1
      Variable OID                         1.3.6.1.2.1.2.2.1.10.1
      Sample type                          delta value
      Startup alarm                        rising or falling alarm
      Owner                                monitor   
      Creator                              CLI       
      State                                falling threshold crossed
      Sample interval                   60 seconds
      Rising threshold              100000
      Falling threshold              80000
      Rising event index                 1
      Falling event index                1
      Current value                      0
    

    show snmp rmon events detail

    user@host> show snmp rmon events detail
    Event Index 1:
      Type                                log and trap
      Community                           boy-elroy  
      Last event                          2002-01-30 01:13:01 PST
      Creator                             CLI       
      State                               active
    

    Published: 2013-03-14