Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 2.08 KB

INSTALL.md

File metadata and controls

45 lines (35 loc) · 2.08 KB

check_ssl_check

Requirements

Optional dependencies

  • check_ssl_cert requires expect or timeout to enable timeouts. If expect or timeout are not present on your system timeouts will be disabled.
  • dig for
    • DANE checks
    • DNSSEC checks
  • gmake on FreeBSD
  • expand for --info
  • tar and bzip2 to build release packages
  • ip or ifconfig to be able to use the -4 and -6 options
  • nectcat for --ignore-connection-state
  • Python 3.0 for the TDS (Tabular Data Stream) protocol check
  • Java for KeyStore checks

Development

Following tools are required for development:

You can check the installed dependencies with the utils/check_deps.sh script.

Installation

  • 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.1 in an appropriate directory in the $MANPATH
  • Simply copy the plugin to your Nagios/Icinga plugin directory (e.g., /usr/lib64/nagios/plugins/)
  • Use make install by defining the DESTDIR and MANDIR variables with the installation targets. E.g, make DESTDIR=/nagios/plugins/dir MANDIR=/nagios/plugins/man/dir install
  • To install the bash completion script run sudo make install_bash_completion (it will install the completion script in the directory defined by pkg-config --variable=completionsdir bash-completion)