Event Process - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Examples
# Configure a CLI-defined policy to monitor the incoming error packet statistic on GigabitEthernet
1/0/1 every 60 seconds. Set the start threshold to 1000 and the restart threshold to 50. Enable EAA
to execute the policy when the statistic exceeds 1000 for the first time. Enable EAA to re-execute the
policy if the statistic exceeds 1000 each time after the statistic has dropped below 50.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event interface gigabitethernet 1/0/1 monitor-obj input-errors
start-op gt start-val 1000 restart-op lt restart-val 50 interval 60

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
event process { exception | restart | shutdown | start } [ name process-name [ instance
instance-id ] ] [ 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 do not specify an instance, EAA monitors all
instances of the process.
slot slot-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.
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.
249

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents