< Home

display ops system-script

Function

The display ops system-script command displays system built-in OPS scripts.

Format

display ops system-script

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When associating OIDS with OPS, you need to use OPS scripts to subscribe to OIDS events. The device provides built-in OPS scripts, which removing the need to make scripts or download scripts from websites and import the scripts to the device. To view system built-in OPS scripts, run the display ops system-script command.

Precautions

The system built-in OPS scripts are not installed by default.

Example

# Display system built-in OPS scripts.

<HUAWEI> display ops system-script
ScriptName                      Description                                                                                         
--------------------------------------------------------------------------------                                                    
huawei_oids.py                  The OIDS sample script describes the subscriptio                                                    
                                n process. The execution result of the script ha                                                    
                                s been recorded to OIDS. You can refer to this s                                                    
                                cript to implement the OIDS script process. 
Table 1 Description of the display ops system-script command output

Item

Description

ScriptName

Name of a script.

Description

Description of the script.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >