10.5 Scanner Settings

After configuring the CIS server, the scanner agent associated to CIS server scans all the volumes. To rescan the OES server at a scheduled time, add the environment variable in oes-cis-scanner.service on all the OES server agents. Based on the value configured, the scanner scans the OES server to get the updated volumes information. The default value is 7 days.

This settings are applicable to all OES servers that are configured before OES 2018 SP2. To configure the scanner settings on OES 2018 SP2 servers, see Section 6.1.7, Agents.

To set the configuration to scan OES server volumes, perform the following:

  1. Configure the SCAN_INTERVAL_DAYS environment variable in /usr/lib/systemd/system/oes-cis-scanner.service on all the agents.

    For example, add the following in oes-cis-scanner.service.

    Environment="SCAN_INTERVAL_DAYS=2"

  2. To ensure system has read any changes, run the following command:

    systemctl daemon-reload

  3. Restart the scanner agent.

    systemctl restart oes-cis-scanner.service