# Scanning The Icinga Certificate Monitoring provides CLI commands to scan **hosts** and **IPs** in various ways. These commands are listed below and can be used individually. It is necessary for all commands to know which IP address ranges and ports to scan. These can be configured as described [here](03-Configuration.md#configure-jobs). ## Scan Command The scan command, scans targets to find their X.509 certificates and track changes to them. A **target** is an **IP-port** combination that is generated from the job configuration, taking into account configured [**SNI**](03-Configuration.md#server-name-indication) maps, so that targets with multiple certificates are also properly scanned. By default, successive calls to the scan command perform partial scans, checking both targets not yet scanned and targets whose scan is older than 24 hours, to ensure that all targets are rescanned over time and new certificates are collected. This behavior can be customized through the command [options](#usage-1). > **Note** > > When rescanning due targets, they will be rescanned regardless of whether the target previously provided a certificate > or not, to collect new certificates, track changed certificates, and remove decommissioned certificates. ### Usage This scan command can be used like any other Icinga Web cli operations like this: `icingacli x509 scan [OPTIONS]` **Options:** ``` --job= Scan targets that belong to the specified job. (Required) --since-last-scan=