The project can assist Trento check development by:
- managing Wanda,
- allowing testing of checks by simulating (cluster) hosts and
- execute the checks.
Call the install script with the environment variable CHECK_DIR
pointing to your check file directory:
CHECK_DIR=/tmp/checks ./install
💡 If you already have a
tcsc
installation, simply callCHECK_DIR=/tmp/checks setup/install_wanda
to re-create the Wanda container.
Uninstall works exactly as described in the README.
An update works exactly as described in the README, but don't forget to set CHECK_DIR
.
This is exactly the same as described in the README
To use the host containers to test the checks, the gatherer must be supported, meaning the required information is present in the support files.
Unpack the development supportconfigs (TBD) and start the host container as described in the README
To test your check alter the files in those directories and use tcsc hosts rescan GROUPNAME
to reread the altered files.
Execute the check.
#TODO: - Prepare a supportconfigs (cluster) limited to the supported file as base
This is exactly the same as described in the README