Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

alertentries

Syntax

alertentries -T system:mm[x] -recipient-number <-f filter-type> <-n recipient-name> <-status (on | off)> <-t snmp>

Release Information

Command supported by Junos OS Release 9.1 and later.

Description

(JCS management module CLI) Display or configure the recipients of SNMP alerts generated by the JCS management module.

Options

-T system:mm[x]—Specify a JCS management module as the command target. Replace x with the primary management module number (1 or 2).

-recipient-number—Create or specify an alert recipient. Each alert recipient you create must have a unique number (1 through 12).

-f filter-type—(Optional) Filter the type of alerts received by the alert recipient. Replace filter-type with a value of critical (receive critical alerts only) or none (no filtering, receive all alerts).

-n recipient-name—(Optional) Specify the name of the alert recipient. Recipient names can be up to 31 characters in length. The name can include any character (including spaces), except for less than (<) and greater than (>) symbols.

-status (on | off)—(Optional) Set alert status for the specified alert recipient. When the status is on, the recipient receives alarm notifications. When the status is off, the recipient does not receive alarm notifications.

-t snmp—(Optional) Sets SNMP as the alert notification method for the specified alert recipient.

Required Privilege Level

operator (display)

supervisor (display or configure)

List of Sample Output

alertentries (Display)
alertentries (Configure)

Output Fields

Table 1 lists the output fields for the alertentries command. Output fields are listed in the approximate order in which they appear.

Table 1: alertentries Output Fields

Field Name

Field Description

-status

Alert status for the specified recipient. Alert status is on or off.

-n

Name of the specified alert recipient.

-f

Type of alerts received by the specified alert recipient.

-t

Alert notification method.

Sample Output

alertentries (Display)

system> alertentries -T system:mm[1] -2
—status on
-n test1
-f critical
-t snmp

alertentries (Configure)

system> alertentries -T system:mm[1] -3 -f none -n trap -status on -t snmp
OK

Published: 2013-07-16

Supported Platforms

Published: 2013-07-16