31 stycznia 2019

Central-management


Diagnose central-mgmt script-history clear

Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
This command is used to clear script execution history.

Syntax
diagnose central-mgmt script-history clear < Enter >

Example(s)
Command
diagnose central-mgmt script-history clear

Output
Script execution history has been cleared.


Diagnose central-mgmt script-history del

Firmware -FortiOS: 5.0 5.2 5.4 5.6 6.0

Syntax
diagnose central-mgmt script-history del < id Record ID > — Delete one script execution record


Diagnose central-mgmt script-history list

Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
This command is used to display the script execution history.

Syntax
diagnose central-mgmt script-history list < Enter >

Example
Command
diagnose central-mgmt script-history list

Output

There are 3 script execution logs:
ID Time Type Status Name
—————————————————-
#2 2014-07-15 07:06:58 Local Success 123456789012345678901234567890123456789012345678901
#1 2014-07-15 07:06:58 Remote Success 12
#0 2014-07-15 07:06:58 Local Failure reset_hostname.conf
—————————————————-



Diagnose central-mgmt script-history test

Firmware – FortiOS: 5.0 5.2 5.4 5.6 6.0
This command is used to generate sample script execution records.

Syntax
diagnose central-mgmt script-history test < Enter >
Example
Command
diagnose central-mgmt script-history test

Output
One new script execution record has been created.
One new script execution record has been created.
One new script execution record has been created.