|
A scanner file is used to simulate discovery of a system that is unreachable, or you are not permitted to scan. A scanner file is a plain text file created by running the standard discovery commands on the host in question and saving the output. Note that just the standard discovery commands are run on the host, no information that is discovered by patterns is available. Scanner files are read from the $TIDEWAY/var/scanner directory. Discovery checks periodically for new scanner files; this period is configurable. Creating a scanner fileTo create a scanner file:
Loading a scanner file onto the applianceOnce you have created and copied the output file to your local host, you can now copy it to the appliance. In this example, the appliance is called appliance and the local host is called teabag. When loading scanner files onto the appliance you should use the upload user. The upload user was created for this purpose, has a home directory which is the default location for uploading scanner files, and has limited access to the appliance. See The upload user for information on enabling this user.
When you load a scanner file onto the appliance, its name must be unique otherwise it may get overwritten by another scanner file being uploaded at the same time, so it is helpful to use a naming scheme that enables you to correlate scanner files and created hosts. The only rule on naming is that you do not use a name starting with . or ending with .ignore; if you do then that file is ignored. These filenames are used for internal purposes.
Hosts created from Scanner FilesOnce you have loaded a scanner file, and the IP address of that host has been scanned, either by a manual scan, or a scan triggered when Discovery polls for and finds a new scanner file, you will then see the host in the Tideway Foundation UI. When the scanner file is used, Discovery creates non-expiring pool data (a .no-expiry file is created in the pool data directory $TIDEWAY/var/pool/192/168/1/100/.no-expiry where the IP address is 192.168.1.100). The pool data is used for each subsequent discovery until the scanner file is updated. On the DiscoveryAccess, the Discovery Details section the Data Source field states "Read from scanner file". |
