Z-Spy probes Z39.50 servers in order to find out what parts of the Z39.50 protocol they support (use attribute, services, record formats etc.), and keep statistical data about accessibility etc.
Z-Spy works from its own register of servers to probe, and can not access the TLDD directly. In order to keep the TLDD and Z-Spy's own data in sync, a script lot/root/php/targets_tcl.php has been made which should be run before Z-Spy is run. This script is run through wget in index's cron:
55 23 * * * wget -q -r http://libraryoftexas.com/php/targets_tcl.phpIn order for Z-Spy which is also run from index's cron (see Section 3.16 for further info) to be able to read and write files created by Apache, we have created an new group called zspy, that all the Z-Spy data files belong to. Index is then a member of this group and can therefore get access to them.
All configuration of Z-Spy is done in a config file which is part of the CVS project: lot/root/zspy/z-spy-lot.cfg. Please refer to the Z-Spy documentation for further info on this file.