Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show snmp rmon

date_range 09-Dec-23

Syntax

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

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.

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

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

content_copy zoom_out_map
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 (QFX Series)

content_copy zoom_out_map
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

content_copy zoom_out_map
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

content_copy zoom_out_map
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 (QFX Series)

content_copy zoom_out_map
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

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation