HPE FlexNetwork 7500 Series Command Reference Manual page 262

Network management and monitoring
Table of Contents

Advertisement

Syntax
In standalone mode:
event process { exception | restart | shutdown | start } [ name process-name [ instance
instance-id ] ] [ slot slot-number ]
undo event
In IRF mode:
event process { exception | restart | shutdown | start } [ name process-name [ instance
instance-id ] ] [ chassis chassis-number [ slot slot-number ] ]
undo event
Default
No process event is configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
mdc-admin
Parameters
exception: Monitors the specified process for exceptional events. EAA executes the policy when an
exception occurs to the monitored process.
restart: Monitors the specified process for restart events. EAA executes the policy when the
monitored process restarts.
shutdown: Monitors the specified process for shutdown events. EAA executes the policy when the
monitored process is shut down.
start: Monitors the specified process for start events. EAA executes the policy when the monitored
process starts.
name process-name: Specifies a user-mode process by its name. The process can be one that is
running or not running. If you do not specify a name, this command monitors all use-mode
processes.
instance instance-id: Specifies a process instance ID in the range of 0 to 4294967295. The instance
ID can be one that has not been created yet. If you do not specify an instance, EAA monitors all
instances of the process.
chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a
member device, this command applies to the IRF fabric. (In IRF mode.)
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command
applies to the device.
Usage guidelines
Use process event monitor policies to monitor process state changes. These changes can result
from manual operations or automatic system operations.
You can configure only one event for a monitor policy. If the monitor policy already contains an event,
the new event replaces the old event.
Examples
# Configure a CLI-defined policy to monitor all instances of the process snmpd for restart events.
<Sysname>system-view
[Sysname] rtm cli-policy test
252

Advertisement

Table of Contents
loading

Table of Contents