oap client close

Use oap client close to shut down an OAP client.

Syntax

oap client close client-id

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

client-id: Specifies an OAP client by its ID in the range of 1 to 255.

Usage guidelines

Client IDs are assigned by the OAP manager to OAP clients to uniquely identify the clients.

This command applies only to OAP clients on Linux.

When you execute this command for a client in registered state, the OAP manager sends a shutdown notification to the specified OAP client. The client stops after receiving the notification. When you execute this command for a non-existent client, an error message appears.

Examples

# Shut down OAP client 1.

<Sysname> system-view
[Sysname] oap client close 1

Related commands