CHAPTER 5 CLI Commands
•
recipient <email_address>
list of addresses to send email notifications of (all enabled) events, and specify:
•
•
•
return-addr
notifications are sent. If the string provided contains an at (@) sign, it is considered fully-
qualified and is used as-is. Otherwise, it is considered just the username, and Media Flow
Controller appends @<hostname>.<domain>. The default is do-not-reply, but this can
be changed to admin or as desired in case something along the line doesn't like fictitious
addresses. Use no email return-addr to reset to default.
•
return-host
only takes effect if the return address does not contain an at (@) sign. Default is include.
Use no to exclude hostname.
•
send-test
useful to make sure the configuration works without having to wait for an event to occur.
email event name
Email event name options are:
•
process-crash
•
process-exit
•
liveness-failure
•
cpu-util-high
•
cpu-util-ok
•
paging-high
•
paging-ok
•
disk-space-low
•
disk-space-ok
•
memusage-high
•
memusage-ok
•
netusage-high
•
netusage-ok
•
disk-io-high
•
disk-io-ok
•
unexpected-shutdown
•
interface-up
118
email
—Set event class. Each event type is classified as either info or failure.
class
The specified recipient(s) receives the intersection of the set of events specified
by this command, and the set of events specified overall with the email notify
event <event_name> command. See
—Specify whether the emails this recipient is sent should be detailed or
detail
summarized. Each email potentially has both a detailed and summarized form,
where the detailed form has a superset of the information. Default is enabled.
—Set the username or fully-qualified return address from which email
—Include the hostname in the return address for email notifications. This
—Send a test email to all of the configured notification email recipients. This is
—A process in the system has crashed.
—A process in the system unexpectedly exited.
—A process in the system was detected hung.
—CPU utilization has risen too high.
—CPU utilization has fallen back to normal levels.
—Paging activity has risen too high.
—Paging activity has fallen back to normal levels.
—File system free space has fallen too low.
—File system free space is back in the normal range.
—Memory usage has risen too high.
—Memory usage has fallen back to acceptable levels.
—Network utilization has risen too high.
—Network utilization has fallen back to acceptable levels.
—Disk I/O per second has risen too high.
—Disk I/O per second has fallen back to acceptable levels.
—Unexpected system shutdown.
—An interface's link state has changed to UP.*
Media Flow Manager Administrator's Guide
—Add or delete (with no) an email address from the
"email class,"
Copyright © 2010, Juniper Networks, Inc.
below, for more details.