9.3.2.7. set monitoring-engine
A - Introduction
The `monitoring-engine` command of the `set` sub-group enables applying an advanced configuration for the GCap sensor detection engine.
Note
If the number of signatures loaded by Sigflow is too large, the timeout value must be adjusted.
B - Prerequisites
User: setup
Dependencies: the detection engine must be switched off
C - Command
`set monitoring-engine start-timeout SECOND`.`set monitoring-engine stop-timeout SECOND`.`set monitoring-engine {disable-sanity-checks|enable-sanity-checks}`.`sanity-checks` option is set to `enable`, the detection engine starts only after verifying that at least one `monx` capture interface has been activated and that a cable is connected.D - Procedure to change the grace period to 600 seconds when starting the engine
The command prompt is displayed.
(gcap-cli)
To change the grace period to 600 seconds when starting the engine:
Enter the command
set monitoring-engine start-timeout 600
Validate
To check the value modification:
Enter the command
show monitoring-engine start-timeout
- ValidateThe system displays the current value
Monitoring Engine Options: start timeout: 600s
E - Procedure to modify the grace period to 600 seconds when starting the engine
The command prompt is displayed.
(gcap-cli)
To change the grace period to 600 seconds when stopping the engine:
Enter the command
set monitoring-engine stop-timeout 600
Validate
To check the value modification:
Enter the command
show monitoring-engine stop-timeout
- ValidateThe system displays the current value
Monitoring Engine Options: Stop timeout: 600s
E - Procedure to disable the capture interface verification
The command prompt is displayed.
(gcap-cli)
To disable the capture interface verification:
Enter the command
set monitoring-engine disable-sanity-checks
Validate
To check the value modification:
Enter the command
show monitoring-engine sanity-checks
- ValidateThe system displays the current value
Monitoring Engine Options: Sanity checks disabled
E - Procedure to enable the capture interface verification
The command prompt is displayed.
(gcap-cli)
To enable the capture interface verification:
Enter the command
set monitoring-engine enable-sanity-checks
Validate
To check the value modification:
Enter the command
show monitoring-engine sanity-checks
- ValidateThe system displays the current value
Monitoring Engine Options: Sanity checks enabled