326
event process
Use
event process
to configure a process event for a CLI-defined monitor policy.
Use
undo event
to delete the event in a CLI-defined monitor policy.
Syntax
Distributed devices in standalone mode/centralized devices in standalone or IRF mode:
event process
{
exception
|
restart
|
shutdown
|
start
}
[
name process-name
[
instance
instance-id
]
]
[
slot
slot-number
]
undo event
Distributed devices 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
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 specify an instance, EAA only monitors the
process instance. If you do not specify an instance, EAA monitors all instances of the process.