Installation: ============= ----- Installation über Repository: tachtler.net ---------------------------------------------------------------------- Einbindung der Konfigurationsdatei: - https://repository.tachtler.net/opensuse.org/distribution/leap/15.1/x86_64/tachtler.repo unter: /etc/zypp/repos.d # rpm --import https://repository.tachtler.net/opensuse.org/distribution/leap/15.1/x86_64/RPM-GPG-KEY-tachtler # rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' # wget https://repository.tachtler.net/opensuse.org/distribution/leap/15.1/x86_64/tachtler.repao -P /tmp # mv /tmp/tachtler.repo /etc/zypp/repos.d # chown root:root /etc/zypp/repos.d/tachtler.repo # zypper install check_hello_world ----- ODER Herunterladen und direkte Installation --------------------------------------------------------------------- # rpm --import https://repository.tachtler.net/opensuse.org/distribution/leap/15.1/x86_64/RPM-GPG-KEY-tachtler # rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' # wget https://repository.tachtler.net/opensuse.org/distribution/leap/15.1/x86_64/nagiosplugin-1.3.2-1.x86_64.rpm -P /tmp # wget https://repository.tachtler.net/opensuse.org/distribution/leap/15.1/x86_64/check_hello_world-0.1.2-1.x86_64.rpm -p /tmp # cd /tmp # zypper install nagiosplugin-1.3.2-1.x86_64.rpm check_hello_world-0.1.2-1.x86_64.rpm ----- ODER Installation über pip von test.pypi.org -------------------------------------------------------------------- # pip install -i https://test.pypi.org/simple/ check-hello-world Aufrufbeschreibung: =================== # /usr/lib/nagios/plugins/check_hello_world -h Beispiel-Aufrufe: ================= 1. /usr/lib/nagios/plugins/check_hello_world -a 0.50 -w @0.80:0.89 -c @0.90 [OK] 2. /usr/lib/nagios/plugins/check_hello_world -a 0.85 -w @0.80:0.89 -c @0.90 [WARNING] 3. /usr/lib/nagios/plugins/check_hello_world -a 1.00 -w @0.80:0.89 -c @0.90 [CRITICAL]