Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    show snmp health-monitor

    Syntax

    show snmp health-monitor<alarms (brief | detail) | logs>

    Release Information

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

    Command introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

    Description

    Display information about Simple Network Management Protocol (SNMP) health monitor alarms and logs.

    Options

    none

    Display information about all health monitor alarms and logs.

    alarms (brief | detail)

    (Optional) Display information about health monitor alarms. Optionally, specify brief or detailed information about the alarms.

    logs

    (Optional) Display information about health monitor logs.

    Required Privilege Level

    view

    List of Sample Output

    show snmp health-monitor
    show snmp health-monitor alarms detail

    Output Fields

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

    Table 1: show snmp health-monitor Output Fields

    Field Name

    Field Description

    Level of Output

    Alarm Index

    Alarm identifier.

    All levels

    Variable description

    Description of the health monitor object instance being monitored.

    All levels

    Variable name

    Name of the health monitor object instance being monitored.

    All levels

    Value

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

    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 health monitor agent.
      • instance not available—Monitored variable’s instance is not available to the health monitor 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.

    All levels

    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 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. 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 (Health Monitor).

    detail

    Sample interval

    Time period between samples (in seconds).

    detail

    Rising threshold

    Upper limit threshold value as a percentage of the maximum possible value.

    detail

    Falling threshold

    Lower limit threshold value as a percentage of the maximum possible value.

    detail

    Rising event index

    Index number of the event triggered when the rising threshold is crossed.

    detail

    Falling event index

    Index number of the event triggered when the falling threshold is crossed. Details include the value of the falling event instance and the state of the falling event instance.

    detail

    Sample Output

    show snmp health-monitor

    user@switch> show snmp health-monitor
    Alarm 
    Index  Variable description                           Value State
    
     32768 Health Monitor: root file system utilization
           jnxHrStoragePercentUsed.1                         59 active              
    
     32769 Health Monitor: /config file system utilization
           jnxHrStoragePercentUsed.2                          0 active              
    
     32770 Health Monitor: RE 0 CPU utilization
           jnxOperatingCPU.9.1.0.0                            9 falling threshold   
    
     32772 Health Monitor: RE 0 memory utilization
           jnxOperatingBuffer.9.1.0.0                        23 active              
    
     32774 Health Monitor: Max Kernel Memory Used (%) 
           jnxBoxKernelMemoryUsedPercent.0                    3 active              
    Event Index: 32768
        Description: Health Monitor: RE 0 CPU utilization crossed falling threshold 70 (value: 5), (variable: jnxOperatingCPU.9.1.0.0)
        Time: 2011-01-09 19:18:35 PST 
    

    show snmp health-monitor alarms detail

    user@switch> show snmp health-monitor alarms detail
    Alarm Index 32768:
      Variable name                        jnxHrStoragePercentUsed.1
      Variable OID                         1.3.6.1.4.1.2636.3.31.1.1.1.1.1
      Sample type                          absolute value
      Startup alarm                        rising alarm
      Owner                                Health Monitor: root file system
                                           utilization
      Creator                              Health Monitor
      State                                active    
      Sample interval                  300 seconds
      Rising threshold                  80
      Falling threshold                 70
      Rising event index             32768
      Falling event index            32768
        Instance Value: 59
        Instance State: active
    
    Alarm Index 32769:
      Variable name                        jnxHrStoragePercentUsed.2
      Variable OID                         1.3.6.1.4.1.2636.3.31.1.1.1.1.2
      Sample type                          absolute value
      Startup alarm                        rising alarm
      Owner                                Health Monitor: /config file system
                                           utilization
      Creator                              Health Monitor
      State                                active    
      Sample interval                  300 seconds
      Rising threshold                  80
      Falling threshold                 70
      Rising event index             32768
      Falling event index            32768
        Instance Value: 0
        Instance State: active
    
    Alarm Index 32770:
      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 alarm
      Owner                                Health Monitor: RE 0 CPU utilization     
      Creator                              Health Monitor
      State                                active    
      Sample interval                  300 seconds
      Rising threshold                  80
      Falling threshold                 70
      Rising event index             32768
      Falling event index            32768
        Instance Value: 9
        Instance State: falling threshold
    
    Alarm Index 32772:
      Variable name                        jnxOperatingBuffer.9.1.0.0
      Variable OID                         1.3.6.1.4.1.2636.3.1.13.1.11.9.1.0.0
      Sample type                          absolute value
      Startup alarm                        rising alarm
      Owner                                Health Monitor: RE 0 memory utilization  
      Creator                              Health Monitor
      State                                active    
      Sample interval                  300 seconds
      Rising threshold                  80
      Falling threshold                 70
      Rising event index             32768
      Falling event index            32768
        Instance Value: 23
        Instance State: active
    
    Alarm Index 32774:
      Variable name                        jnxBoxKernelMemoryUsedPercent.0
      Variable OID                         1.3.6.1.4.1.2636.3.1.16.0
      Sample type                          absolute value
      Startup alarm                        rising alarm
      Owner                                Health Monitor: Max Kernel Memory Used
                                           (%) 
      Creator                              Health Monitor
      State                                active    
      Sample interval                  300 seconds
      Rising threshold                  80
      Falling threshold                 70
      Rising event index             32768
      Falling event index            32768
        Instance Value: 3
        Instance State: active
    

    Modified: 2016-06-17