The script utils/check_deps.sh checks for mandatory and optional dependencies.
- check_ssl_cert requires
expectortimeout(usually installed withcoreutils) to enable timeouts. Ifexpectortimeoutare not present on your system timeouts will be disabled. digfor- DANE checks
- DNSSEC checks
- gmake on FreeBSD
expandfor--infotarandbzip2to build release packagesiporifconfigto be able to use the-4and-6options- nectcat for
--ignore-connection-state - Python 3.0 for the TDS (Tabular Data Stream) protocol check
- Java for KeyStore checks
Following tools are required for development:
- shUnit2 for the tests
- shfmt to format the source files
- ShellCheck for the code quality checks
- codespell for the spelling checks
digfor IPv6 tests- Tinyproxy for the tests with a proxy
You can check the installed dependencies with the
utils/check_deps.shscript.
- You can run the plugin from the shell.
- If you want to install it systemwide, copy the plugin to a directory in the path, and
check_ssl_cert.1in an appropriate directory in the$MANPATH - Simply copy the plugin to your Nagios/Icinga plugin directory (e.g.,
/usr/lib64/nagios/plugins/) - Use
make installby defining theDESTDIRandMANDIRvariables with the installation targets. E.g,make DESTDIR=/nagios/plugins/dir MANDIR=/nagios/plugins/man/dir installorsudo make -E DESTDIR=/usr/local/bin MANDIR=/usr/local/man - To install the bash completion script run
sudo make install_bash_completion(it will install the completion script in the directory defined bypkg-config --variable=completionsdir bash-completion)