Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show snmp rmon

Syntax

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

Release Information

Command introduced in Junos OS Release 11.1 for the QFX Series.

Description

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

Options

none

Display information about all RMON alarms and events.

brief | detail

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

alarms

(Optional) Display information about RMON alarms.

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
show snmp rmon logs

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

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  Variable description                           Value State

     5 monitor                         
       jnxOperatingCPU.9.1.0.0                            5 falling threshold   

Event 
Index  Type                        Last Event
    1  log and trap                2009-07-10 11:34:17 PDT   
Event Index: 1
    Description: Event 1 triggered by Alarm 5, rising threshold (90) crossed, (variable: jnxOperatingCPU.9.1.0.0, value: 100)
    Time: 2009-07-10 11:34:07 PDT
    Description: Event 1 triggered by Alarm 5, falling threshold (75) crossed, (variable: jnxOperatingCPU.9.1.0.0, value: 5)
    Time: 2009-07-10 11:34:17 PDT

show snmp rmon alarms detail

user@host> show snmp rmon alarms detail
Alarm Index 5:
  Variable name                        jnxOperatingCPU.9.1.0.0
  Variable OID                         1.3.6.1.4.1.2636.3.1.13.1.8.9.1.0.0
  Sample type                          absolute value
  Startup alarm                        rising or falling alarm
  Owner                                monitor                                 
                                       
  Creator                              CLI       
  State                                active    
  Sample interval                    5 seconds
  Rising threshold                  90
  Falling threshold                 75
  Rising event index                 1
  Falling event index                1
    Instance Value: 4
    Instance State: falling threshold

show snmp rmon events detail

user@host> show snmp rmon events detail
Event Index 1:
  Description                         rmon event
  Type                                log and trap
  Community                           rmon-trap-group 
  Last event                          2009-07-10 11:34:17 PDT
  Creator                             CLI       
  State                               active

show snmp rmon logs

user@host> show snmp rmon logs
Event Index: 1
    Description: Event 1 triggered by Alarm 5, rising threshold (90) crossed, (variable: jnxOperatingCPU.9.1.0.0, value: 100)
    Time: 2009-07-10 11:34:07 PDT
    Description: Event 1 triggered by Alarm 5, falling threshold (75) crossed, (variable: jnxOperatingCPU.9.1.0.0, value: 5)
    Time: 2009-07-10 11:34:17 PDT

Published: 2014-07-23