From 0fa3e74282c537f0b07421b0245e4ca2416d64a6 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Thu, 20 Feb 2025 13:15:44 +0100 Subject: [PATCH] update docs --- docs/20_Checks/about.md | 4 +- docs/20_Checks/check_apache_requests.md | 4 +- docs/20_Checks/check_ceph_diskfree.md | 2 +- docs/20_Checks/check_ceph_io.md | 4 +- docs/20_Checks/check_ceph_osd.md | 2 +- docs/20_Checks/check_ceph_status.md | 4 +- docs/20_Checks/check_clientbackup.md | 4 +- docs/20_Checks/check_conn.md | 4 +- docs/20_Checks/check_couchdb.md | 4 +- docs/20_Checks/check_cpu.md | 39 +++++++- docs/20_Checks/check_cronstatus.md | 4 +- docs/20_Checks/check_deployment.md | 67 ++++++++++++++ docs/20_Checks/check_disk_io.md | 4 +- docs/20_Checks/check_dns_responsetime.md | 4 +- docs/20_Checks/check_docker_info.md | 4 +- docs/20_Checks/check_docker_io.md | 4 +- docs/20_Checks/check_docker_stats.md | 4 +- docs/20_Checks/check_dockercontainer_info.md | 97 ++++++++++++++++++++ docs/20_Checks/check_dockercontainer_top.md | 4 +- docs/20_Checks/check_eol.md | 4 +- docs/20_Checks/check_file_age.md | 4 +- docs/20_Checks/check_fs_errors.md | 4 +- docs/20_Checks/check_fs_writable.md | 2 +- docs/20_Checks/check_gitlab_tokens.md | 4 +- docs/20_Checks/check_haproxy_health.md | 4 +- docs/20_Checks/check_haproxy_status.md | 4 +- docs/20_Checks/check_http.md | 4 +- docs/20_Checks/check_iml_backup_server.md | 4 +- docs/20_Checks/check_journallog.md | 4 +- docs/20_Checks/check_memory.md | 4 +- docs/20_Checks/check_mysqlserver.md | 2 +- docs/20_Checks/check_netio.md | 4 +- docs/20_Checks/check_netstat.md | 4 +- docs/20_Checks/check_onehost.md | 4 +- docs/20_Checks/check_onevm.md | 4 +- docs/20_Checks/check_opencpu.md | 4 +- docs/20_Checks/check_packages2install.md | 4 +- docs/20_Checks/check_php-fpm-status.md | 4 +- docs/20_Checks/check_proc_mem.md | 4 +- docs/20_Checks/check_proc_ressources.md | 4 +- docs/20_Checks/check_proc_zombie.md | 4 +- docs/20_Checks/check_psqlserver.md | 4 +- docs/20_Checks/check_rearbackup.md | 4 +- docs/20_Checks/check_reboot_required.md | 4 +- docs/20_Checks/check_requirements.md | 4 +- docs/20_Checks/check_smartstatus.md | 4 +- docs/20_Checks/check_snmp_data.md | 4 +- docs/20_Checks/check_snmp_printer.md | 5 +- docs/20_Checks/check_snmp_synology.md | 4 +- docs/20_Checks/check_ssl.md | 4 +- docs/20_Checks/check_ssl_certs.md | 4 +- docs/20_Checks/check_systemdunit.md | 4 +- docs/20_Checks/check_timesync.md | 4 +- docs/20_Checks/check_uptime.md | 4 +- docs/20_Checks/hello.md | 2 +- docs/20_Checks/zz_template_check_.md | 2 +- 56 files changed, 300 insertions(+), 104 deletions(-) create mode 100644 docs/20_Checks/check_deployment.md create mode 100644 docs/20_Checks/check_dockercontainer_info.md diff --git a/docs/20_Checks/about.md b/docs/20_Checks/about.md index a3317dd..771248f 100644 --- a/docs/20_Checks/about.md +++ b/docs/20_Checks/about.md @@ -11,7 +11,7 @@ Nothing special. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -21,7 +21,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ ABOUT -v1.2 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_apache_requests.md b/docs/20_Checks/check_apache_requests.md index ecc7424..eac5900 100644 --- a/docs/20_Checks/check_apache_requests.md +++ b/docs/20_Checks/check_apache_requests.md @@ -18,7 +18,7 @@ The check sends performance data for these data too. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -28,7 +28,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_APACHE_REQUESTS -v1.6 +v1.7 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_ceph_diskfree.md b/docs/20_Checks/check_ceph_diskfree.md index 36bedae..e1bd89d 100644 --- a/docs/20_Checks/check_ceph_diskfree.md +++ b/docs/20_Checks/check_ceph_diskfree.md @@ -17,7 +17,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/ceph ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash diff --git a/docs/20_Checks/check_ceph_io.md b/docs/20_Checks/check_ceph_io.md index 46a7979..09deafa 100644 --- a/docs/20_Checks/check_ceph_io.md +++ b/docs/20_Checks/check_ceph_io.md @@ -15,7 +15,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/ceph ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -25,7 +25,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_CEPH_IO -v1.5 +v1.6 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_ceph_osd.md b/docs/20_Checks/check_ceph_osd.md index de1d49c..ceed300 100644 --- a/docs/20_Checks/check_ceph_osd.md +++ b/docs/20_Checks/check_ceph_osd.md @@ -22,7 +22,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/ceph ______________________________________________________________________ CHECK_CEPH_OSD -v1.6 +v1.8 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_ceph_status.md b/docs/20_Checks/check_ceph_status.md index 49ec9b3..0f52f5b 100644 --- a/docs/20_Checks/check_ceph_status.md +++ b/docs/20_Checks/check_ceph_status.md @@ -15,7 +15,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/ceph ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -25,7 +25,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_CEPH_STATUS -v1.8 +v1.9 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_clientbackup.md b/docs/20_Checks/check_clientbackup.md index 3987537..a1f8e29 100644 --- a/docs/20_Checks/check_clientbackup.md +++ b/docs/20_Checks/check_clientbackup.md @@ -14,7 +14,7 @@ Script: `check_clientbackup` ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -25,7 +25,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_CLIENTBACKUP -v1.12 +v1.14 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_conn.md b/docs/20_Checks/check_conn.md index 87db842..be49563 100644 --- a/docs/20_Checks/check_conn.md +++ b/docs/20_Checks/check_conn.md @@ -6,7 +6,7 @@ It is a plugin to check oe or mmultiple tcp and udp connections to localhost or ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -16,7 +16,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_CONN -v1.2 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_couchdb.md b/docs/20_Checks/check_couchdb.md index 2a8f22f..a5abe89 100644 --- a/docs/20_Checks/check_couchdb.md +++ b/docs/20_Checks/check_couchdb.md @@ -22,7 +22,7 @@ Check couchdb status. This check contains different modes for several checks. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -33,7 +33,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_COUCHDB -v0.7 +v1.0 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_cpu.md b/docs/20_Checks/check_cpu.md index 97fe158..623da2e 100644 --- a/docs/20_Checks/check_cpu.md +++ b/docs/20_Checks/check_cpu.md @@ -22,24 +22,55 @@ If there are processes with status D they will be shown (to analyze cpu waits). ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash ## Syntax -``$ check_cpu [-c CRITICAL] [-w WARING] [-i CRITICAL_IO]`` +```txt +> check_cpu -h +______________________________________________________________________ + +CHECK_CPU +v1.16 + +(c) Institute for Medical Education - University of Bern +Licence: GNU GPL 3 + +https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_cpu.html +______________________________________________________________________ + +check cpu usage and cpu wait +Cpu infos are taken from output of top command. + +On higher cpu usage it can show processes that cause cpu waits and +with most cpu consumption. + +SYNTAX: -### Parameters + check_cpu [-w WARN_LIMIT] [-c CRITICAL_LIMIT] [-i CRITICAL_IO_WAIT] [-p PROCESS_LIMIT] + +OPTIONS: -```text -w VALUE cpu usage warning level (default: 75) -c VALUE cpu usage critical level (default: 90) -i VALUE io wait critical level (default: 50) + -p VALUE show process info with highest cpu consumption if + usage is > NN %; default: 50 + -h or --help show this help. +PARAMETERS: + + None. + +EXAMPLE: + + check_cpu -w 60 -c 80 -p 40 + ``` ## Examples diff --git a/docs/20_Checks/check_cronstatus.md b/docs/20_Checks/check_cronstatus.md index 375c327..c4e94b3 100644 --- a/docs/20_Checks/check_cronstatus.md +++ b/docs/20_Checks/check_cronstatus.md @@ -25,7 +25,7 @@ As output you get a summary of all checks followed by more detailed status per j ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -35,7 +35,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_CRONSTATUS -v2.4 +v2.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_deployment.md b/docs/20_Checks/check_deployment.md new file mode 100644 index 0000000..265c743 --- /dev/null +++ b/docs/20_Checks/check_deployment.md @@ -0,0 +1,67 @@ +## Check Deployment + +Script: `check_deployment` + +This is a check for the IML deployment client that downloads and installs an application package. +This check starts the script `check_deployment.sh` that is part of the IML deployment client. + +It returns + +* OK if all apps were installed/ updated successfully. +* Unknown on exitcode 0 but the OK message for a successful installation was not found +* Error on non zero exitcode because download, installation or replacement for configuration files failed. + +## Requirements + +* The IML deployment client must be installed + +📄 Source: <https://git-repo.iml.unibe.ch/iml-open-source/imldeployment-client/>\ +📜 License: GNU GPL 3.0\ +📗 Docs: see docs folder or online <https://os-docs.iml.unibe.ch/imldeployment-client/> + +## Standalone installation + +From this repository you need next to this script: + +* `inc_pluginfunctions` shared function for all IML checks written in bash + +## Syntax + +```txt +______________________________________________________________________ + +CHECK_DEPLOYMENT +v1.0 + +(c) Institute for Medical Education - University of Bern +Licence: GNU GPL 3 + +https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_deployment.html +______________________________________________________________________ + +Show status of rollouts with IML deployment client on this system. +See https://os-docs.iml.unibe.ch/imldeployment-client/ + +SYNTAX: +check_deployment [-d DIRECTORY] + +OPTIONS: + -h or --help show this help. + -d or --dir set installation dir of iml deployment to find its check skript + default: /opt/imldeployment-installer + +EXAMPLE: +check_deployment -d /home/deployuser/imldeployment-installer + set a custom directory und run the backup check + +``` + +## Examples + +The script has no parameter. It shows all created profiles and its installation status based on the latest found logfile. + +```txt +OK: Deployment ... Profiles: 2 ... Errors: 0 +OK: myapp_a - /var/log/imldeployment-client/myapp_a__2025-02-20__030307.log +OK: myapp_b - /var/log/imldeployment-client/myapp_b__2025-02-20__030329.log +``` diff --git a/docs/20_Checks/check_disk_io.md b/docs/20_Checks/check_disk_io.md index aaa44ca..2df6455 100644 --- a/docs/20_Checks/check_disk_io.md +++ b/docs/20_Checks/check_disk_io.md @@ -12,7 +12,7 @@ It shows a multiline output and sends performance data. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -22,7 +22,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_DISK-IO -v1.1 +v1.2 Check dis io and latency diff --git a/docs/20_Checks/check_dns_responsetime.md b/docs/20_Checks/check_dns_responsetime.md index d74a52f..011855c 100644 --- a/docs/20_Checks/check_dns_responsetime.md +++ b/docs/20_Checks/check_dns_responsetime.md @@ -10,7 +10,7 @@ Script: `check_dns_responsetime` ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -20,7 +20,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_DNS_RESPONSETIME -v1.4 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_docker_info.md b/docs/20_Checks/check_docker_info.md index 0ec0b69..044079f 100644 --- a/docs/20_Checks/check_docker_info.md +++ b/docs/20_Checks/check_docker_info.md @@ -18,7 +18,7 @@ icingaclient ALL=(ALL) NOPASSWD:SETENV: /usr/bin/docker ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `inc_dockerfunctions.sh` @@ -37,7 +37,7 @@ If DOCKER_HOST is not set then the docker socket is detected from a running dock ______________________________________________________________________ CHECK_DOCKER_INFO -v1.5 +v1.6 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_docker_io.md b/docs/20_Checks/check_docker_io.md index 76b34f8..b979e16 100644 --- a/docs/20_Checks/check_docker_io.md +++ b/docs/20_Checks/check_docker_io.md @@ -22,7 +22,7 @@ icingaclient ALL=(ALL) NOPASSWD:SETENV: /usr/bin/docker ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `inc_dockerfunctions.sh` @@ -41,7 +41,7 @@ If DOCKER_HOST is not set then the docker socket is detected from a running dock ______________________________________________________________________ CHECK_DOCKER_IO -v0.1 +v0.2 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_docker_stats.md b/docs/20_Checks/check_docker_stats.md index fe3048e..6eac002 100644 --- a/docs/20_Checks/check_docker_stats.md +++ b/docs/20_Checks/check_docker_stats.md @@ -18,7 +18,7 @@ icingaclient ALL=(ALL) NOPASSWD:SETENV: /usr/bin/docker ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `inc_dockerfunctions.sh` @@ -37,7 +37,7 @@ If DOCKER_HOST is not set then the docker socket is detected from a running dock ______________________________________________________________________ CHECK_DOCKER_STATS -v1.1 +v1.2 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_dockercontainer_info.md b/docs/20_Checks/check_dockercontainer_info.md new file mode 100644 index 0000000..048283a --- /dev/null +++ b/docs/20_Checks/check_dockercontainer_info.md @@ -0,0 +1,97 @@ +## CHECK_DOCKERCONTAINER_INFO + +Script: `check_dockercontainer_info` + +List existing containers and show container details. +To show details you can enter an id or define a regex + +⚠️ This script is more experimental. + +## Requirements + +* `docker` Docker must be installed +* `jq` must be installed - commandline JSON processor +* `bc` must be installed - an arbitrary precision calculator language +* sudo permissions on docker command + +```txt +icingaclient ALL=(ALL) NOPASSWD:SETENV: /usr/bin/docker +``` + +## Standalone installation + +From this repository you need next to this script: + +* `inc_pluginfunctions` shared function for all IML checks written in bash +* `inc_dockerfunctions.sh` + +## Rootless docker + +It works with docker setups as root and can handle rootless docker instances. + +To bring it up and running with an unpriviledged icinga user it must be able to access docker. Copy the docker binary eg. from /home/dockeruser/bin/docker to /usr/bin/. Then use the parameter `-p /usr/bin`. + +If DOCKER_HOST is not set then the docker socket is detected from a running docker instance and will be fetched from the process list. + +## Syntax + +```txt +______________________________________________________________________ + +CHECK_DOCKERCONTAINER_INFO +v1.1 + +(c) Institute for Medical Education - University of Bern +Licence: GNU GPL 3 + +https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_dockercontainer_info.html +______________________________________________________________________ + +List existing containers and show container details. +To show details you can enter an id or define a regex + +USAGE: + check_dockercontainer_info [OPTIONS] + +OPTIONS: + -h Show this help and exit. + -s Show containers using 'docker ps --all' and exit. + -i ID + Show details for container with given id. + -f REGEX + Show details for first matching container with given regex in output + of 'docker ps --all'. + + If the options -i and -f are used then -i ID has priority. + +PARAMETERS: + ID Hexadcimal value for the container id + REGEX String to filter the container list. With it you can set an image + name or a container name. + +EXAMPLES: + check_dockercontainer_info -s + Show all containers + + check_dockercontainer_info -i 0356f42ed27d + Show container details of container with id 0356f42ed27d + + check_dockercontainer_info -f myapp + Show container details of first container that matches "myapp" in the + output of the container list. + +``` + +### Parameters + +None. + +## Examples + +### Stats + +`$ ./check_dockercontaeiner_top` returns + +```txt +TODO +``` diff --git a/docs/20_Checks/check_dockercontainer_top.md b/docs/20_Checks/check_dockercontainer_top.md index 19cb44c..4bc926f 100644 --- a/docs/20_Checks/check_dockercontainer_top.md +++ b/docs/20_Checks/check_dockercontainer_top.md @@ -17,7 +17,7 @@ icingaclient ALL=(ALL) NOPASSWD:SETENV: /usr/bin/docker ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `inc_dockerfunctions.sh` @@ -36,7 +36,7 @@ If DOCKER_HOST is not set then the docker socket is detected from a running dock ______________________________________________________________________ CHECK_DOCKERCONTAINER_TOP -v1.1 +v1.2 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_eol.md b/docs/20_Checks/check_eol.md index bfb74ac..323b0a1 100644 --- a/docs/20_Checks/check_eol.md +++ b/docs/20_Checks/check_eol.md @@ -12,7 +12,7 @@ It is customizable / extendable to detect other products that are not included i ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `./check_eol-data/*` end of life data for several products @@ -24,7 +24,7 @@ From this repository ypu need next to this script: ./check_eol ______________________________________________________________________ -CHECK EOL :: v1.5 +CHECK EOL :: v1.8 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_file_age.md b/docs/20_Checks/check_file_age.md index 2bb9986..b594e63 100644 --- a/docs/20_Checks/check_file_age.md +++ b/docs/20_Checks/check_file_age.md @@ -17,7 +17,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/journalctl ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -27,7 +27,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_FILE_AGE -v1.0 +v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_fs_errors.md b/docs/20_Checks/check_fs_errors.md index f2f1b62..9a6df24 100644 --- a/docs/20_Checks/check_fs_errors.md +++ b/docs/20_Checks/check_fs_errors.md @@ -17,7 +17,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/journalctl ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -27,7 +27,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_FS_ERRORS -v1.2 +v1.4 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_fs_writable.md b/docs/20_Checks/check_fs_writable.md index 2dfe0a3..510ef83 100644 --- a/docs/20_Checks/check_fs_writable.md +++ b/docs/20_Checks/check_fs_writable.md @@ -11,7 +11,7 @@ The response is critical of one of the directory is not writable for the icinga ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash diff --git a/docs/20_Checks/check_gitlab_tokens.md b/docs/20_Checks/check_gitlab_tokens.md index 8a4aac4..9d3805d 100644 --- a/docs/20_Checks/check_gitlab_tokens.md +++ b/docs/20_Checks/check_gitlab_tokens.md @@ -23,7 +23,7 @@ Extract or Git pull the Bash REST API client somewhere in your filesystem. eg. / ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -69,7 +69,7 @@ If you need to skip the token check but the check was rolled out on a server the ______________________________________________________________________ CHECK_GITLAB_TOKENS -v1.1 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_haproxy_health.md b/docs/20_Checks/check_haproxy_health.md index c13505a..03d9c9e 100644 --- a/docs/20_Checks/check_haproxy_health.md +++ b/docs/20_Checks/check_haproxy_health.md @@ -7,7 +7,7 @@ The url of it will be detected from /etc/haproxy/haproxy.cfg. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `inc_haproxy_cfg.sh` shared function to parse HA proxy config @@ -18,7 +18,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_HAPROXY_HEALTH -v1.6 +v1.8 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_haproxy_status.md b/docs/20_Checks/check_haproxy_status.md index b76f03e..96743a5 100644 --- a/docs/20_Checks/check_haproxy_status.md +++ b/docs/20_Checks/check_haproxy_status.md @@ -7,7 +7,7 @@ This check sends performance data. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `inc_haproxy_cfg.sh` shared function to parse HA proxy configs @@ -18,7 +18,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_HAPROXY_STATUS -v1.8 +v1.9 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_http.md b/docs/20_Checks/check_http.md index 4e01197..26ab4e1 100644 --- a/docs/20_Checks/check_http.md +++ b/docs/20_Checks/check_http.md @@ -18,7 +18,7 @@ Additionally you can verify the response: ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -28,7 +28,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_HTTP -v1.0 +v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_iml_backup_server.md b/docs/20_Checks/check_iml_backup_server.md index ae7b239..61bd813 100644 --- a/docs/20_Checks/check_iml_backup_server.md +++ b/docs/20_Checks/check_iml_backup_server.md @@ -22,7 +22,7 @@ uid=1041(icingaclient) gid=1041(icingaclient) groups=1041(icingaclient),1031(iml ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -32,7 +32,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_IML_BACKUP_SERVER -v1.1 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_journallog.md b/docs/20_Checks/check_journallog.md index cbb93c2..4601ced 100644 --- a/docs/20_Checks/check_journallog.md +++ b/docs/20_Checks/check_journallog.md @@ -16,7 +16,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/journalctl ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -26,7 +26,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_JOURNALLOG -v1.0 +v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_memory.md b/docs/20_Checks/check_memory.md index 008b959..3e6a502 100644 --- a/docs/20_Checks/check_memory.md +++ b/docs/20_Checks/check_memory.md @@ -25,7 +25,7 @@ This plugin sends all values as performance data. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -35,7 +35,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_MEMORY -v1.10 +v1.11 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_mysqlserver.md b/docs/20_Checks/check_mysqlserver.md index c0c144a..a2bbb62 100644 --- a/docs/20_Checks/check_mysqlserver.md +++ b/docs/20_Checks/check_mysqlserver.md @@ -24,7 +24,7 @@ From this repository you need next to this script: ______________________________________________________________________ CHECK_MYSQLSERVER -v1.2 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_netio.md b/docs/20_Checks/check_netio.md index efe135c..5126258 100644 --- a/docs/20_Checks/check_netio.md +++ b/docs/20_Checks/check_netio.md @@ -12,7 +12,7 @@ This plugin scans `/proc/net/dev` with the regex `eth|en[ops][0-9]*` to show a f ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -22,7 +22,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_NETIO -v1.7 +v1.8 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_netstat.md b/docs/20_Checks/check_netstat.md index 7a87e03..1d4d13e 100644 --- a/docs/20_Checks/check_netstat.md +++ b/docs/20_Checks/check_netstat.md @@ -6,7 +6,7 @@ Count number of network connections. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -17,7 +17,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_NETSTAT -v1.2 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_onehost.md b/docs/20_Checks/check_onehost.md index 9dd7d8e..244d50b 100644 --- a/docs/20_Checks/check_onehost.md +++ b/docs/20_Checks/check_onehost.md @@ -14,7 +14,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/onehost ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -29,7 +29,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_ONEHOST -v1.3 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_onevm.md b/docs/20_Checks/check_onevm.md index cef1067..c6aab1c 100644 --- a/docs/20_Checks/check_onevm.md +++ b/docs/20_Checks/check_onevm.md @@ -58,7 +58,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/onevm ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -73,7 +73,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_ONEVM -v1.4 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_opencpu.md b/docs/20_Checks/check_opencpu.md index 36033fd..dca2565 100644 --- a/docs/20_Checks/check_opencpu.md +++ b/docs/20_Checks/check_opencpu.md @@ -10,7 +10,7 @@ Test if OpenCpu is available via http and test if given packages are installed. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -21,7 +21,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_OPENCPU -v1.4 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_packages2install.md b/docs/20_Checks/check_packages2install.md index 3a25dd1..4e47242 100644 --- a/docs/20_Checks/check_packages2install.md +++ b/docs/20_Checks/check_packages2install.md @@ -11,7 +11,7 @@ Found updates will be shown in groups. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `./check_packages2install-data/*` grouping for pakacge names @@ -24,7 +24,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_PACKAGES2INSTALL -v1.12 +v1.14 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_php-fpm-status.md b/docs/20_Checks/check_php-fpm-status.md index f0c9b72..e4b254e 100644 --- a/docs/20_Checks/check_php-fpm-status.md +++ b/docs/20_Checks/check_php-fpm-status.md @@ -29,7 +29,7 @@ pm.status_path = /fpm-status.php ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -40,7 +40,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_PHP-FPM-STATUS -v1.1 +v1.2 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_proc_mem.md b/docs/20_Checks/check_proc_mem.md index 9d4929f..32d4bc7 100644 --- a/docs/20_Checks/check_proc_mem.md +++ b/docs/20_Checks/check_proc_mem.md @@ -11,7 +11,7 @@ Nothing special. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -21,7 +21,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_PROC_MEM -v1.3 +v1.4 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_proc_ressources.md b/docs/20_Checks/check_proc_ressources.md index 6dd56ac..fb98500 100644 --- a/docs/20_Checks/check_proc_ressources.md +++ b/docs/20_Checks/check_proc_ressources.md @@ -11,7 +11,7 @@ Nothing special. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -21,7 +21,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_PROC_RESSOURCES -v1.3 +v1.4 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_proc_zombie.md b/docs/20_Checks/check_proc_zombie.md index 9b60893..b68b4ac 100644 --- a/docs/20_Checks/check_proc_zombie.md +++ b/docs/20_Checks/check_proc_zombie.md @@ -12,7 +12,7 @@ It sends performance data. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -23,7 +23,7 @@ $ check_proc_zombie -h ______________________________________________________________________ CHECK_PROC_ZOMBIE -v1.2 +v1.3 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_psqlserver.md b/docs/20_Checks/check_psqlserver.md index 5319329..5422994 100644 --- a/docs/20_Checks/check_psqlserver.md +++ b/docs/20_Checks/check_psqlserver.md @@ -12,7 +12,7 @@ The kind of check is defined by a parameter `-m METHOD`. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -24,7 +24,7 @@ From this repository ypu need next to this script: ./check_psqlserver -h ______________________________________________________________________ -CHECK_PSQLSERVER :: v0.9 +CHECK_PSQLSERVER :: v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_rearbackup.md b/docs/20_Checks/check_rearbackup.md index 274b2f5..3b1e212 100644 --- a/docs/20_Checks/check_rearbackup.md +++ b/docs/20_Checks/check_rearbackup.md @@ -19,7 +19,7 @@ uid=1041(icingaclient) gid=1041(icingaclient) groups=1041(icingaclient),1056(iml ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -29,7 +29,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_REARBACKUP -v1.0 +v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_reboot_required.md b/docs/20_Checks/check_reboot_required.md index 7e7b6aa..dcb74cd 100644 --- a/docs/20_Checks/check_reboot_required.md +++ b/docs/20_Checks/check_reboot_required.md @@ -12,7 +12,7 @@ If the reboot is required: ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -24,7 +24,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_REBOOT_REQUIRED -v1.5 +v1.6 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_requirements.md b/docs/20_Checks/check_requirements.md index 0ea9b6c..7a54acd 100644 --- a/docs/20_Checks/check_requirements.md +++ b/docs/20_Checks/check_requirements.md @@ -19,7 +19,7 @@ You can insert a label to create multiple blocks. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -29,7 +29,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_REQUIREMENTS -v1.3 +v1.4 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_smartstatus.md b/docs/20_Checks/check_smartstatus.md index 3e494e8..c221f1a 100644 --- a/docs/20_Checks/check_smartstatus.md +++ b/docs/20_Checks/check_smartstatus.md @@ -18,7 +18,7 @@ icingaclient ALL=(ALL) NOPASSWD: /sbin/smartctl ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -28,7 +28,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_SMARTSTATUS -v1.6 +v1.7 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_snmp_data.md b/docs/20_Checks/check_snmp_data.md index 8c3efa3..ac6c51e 100644 --- a/docs/20_Checks/check_snmp_data.md +++ b/docs/20_Checks/check_snmp_data.md @@ -13,7 +13,7 @@ It can handle current values (i.e. load / cpu usage / disc usage) and counter va ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `check_snmp_includes` with a shared snmp config reader @@ -26,7 +26,7 @@ Start the script without parameter to get the help. ______________________________________________________________________ CHECK_SNMP_DATA -v1.0 +v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_snmp_printer.md b/docs/20_Checks/check_snmp_printer.md index 4f69e96..3be33d5 100644 --- a/docs/20_Checks/check_snmp_printer.md +++ b/docs/20_Checks/check_snmp_printer.md @@ -12,20 +12,21 @@ Script: `check_snmp_printer` ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `check_snmp_includes` with a shared snmp config reader ## Syntax +There is no parameter `-h` because all options and paramaters will be forwarded. Start the script without parameter to get the help. ```txt ______________________________________________________________________ CHECK_SNMP_PRINTER -v1.0 +v1.1 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_snmp_synology.md b/docs/20_Checks/check_snmp_synology.md index 76d550d..93f86dc 100644 --- a/docs/20_Checks/check_snmp_synology.md +++ b/docs/20_Checks/check_snmp_synology.md @@ -11,7 +11,7 @@ Script: `check_snmp_synology` ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash * `check_snmp_includes` with a shared snmp config reader @@ -24,7 +24,7 @@ Start the script without parameter to get the help. ______________________________________________________________________ CHECK_SNMP_SYNOLOGY -v1.5 +v1.6 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_ssl.md b/docs/20_Checks/check_ssl.md index 7c3b73d..33355db 100644 --- a/docs/20_Checks/check_ssl.md +++ b/docs/20_Checks/check_ssl.md @@ -10,7 +10,7 @@ Script: `check_ssl` ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -22,7 +22,7 @@ Start the script without params to get the help. ______________________________________________________________________ CHECK_SSL -v1.4 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_ssl_certs.md b/docs/20_Checks/check_ssl_certs.md index 57ee7a4..b35b589 100644 --- a/docs/20_Checks/check_ssl_certs.md +++ b/docs/20_Checks/check_ssl_certs.md @@ -20,7 +20,7 @@ It cannot detect a revocation at the issuer. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -32,7 +32,7 @@ Start the script with `-h` to get the help. ______________________________________________________________________ CHECK_SSL_CERTS -v1.4 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_systemdunit.md b/docs/20_Checks/check_systemdunit.md index b5720e1..197937c 100644 --- a/docs/20_Checks/check_systemdunit.md +++ b/docs/20_Checks/check_systemdunit.md @@ -12,7 +12,7 @@ A unit is everything listed by systemctl command - services, timers, targets, .. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -22,7 +22,7 @@ From this repository ypu need next to this script: ______________________________________________________________________ CHECK_SYSTEMDUNIT -v1.7 +v1.8 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_timesync.md b/docs/20_Checks/check_timesync.md index 54015dc..be8f3b1 100644 --- a/docs/20_Checks/check_timesync.md +++ b/docs/20_Checks/check_timesync.md @@ -11,7 +11,7 @@ Script: `check_timesync` ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -23,7 +23,7 @@ Start the script with `-h` or `--help` to get the help. ______________________________________________________________________ CHECK_TIMESYNC -v1.4 +v1.5 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/check_uptime.md b/docs/20_Checks/check_uptime.md index b4277ec..707b991 100644 --- a/docs/20_Checks/check_uptime.md +++ b/docs/20_Checks/check_uptime.md @@ -11,7 +11,7 @@ Nothing special. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash @@ -23,7 +23,7 @@ Start the script with `-h` or `--help` to get the help. ______________________________________________________________________ CHECK_UPTIME -v1.5 +v1.6 (c) Institute for Medical Education - University of Bern Licence: GNU GPL 3 diff --git a/docs/20_Checks/hello.md b/docs/20_Checks/hello.md index 5a57771..7acfeed 100644 --- a/docs/20_Checks/hello.md +++ b/docs/20_Checks/hello.md @@ -11,7 +11,7 @@ Nothing special. ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash diff --git a/docs/20_Checks/zz_template_check_.md b/docs/20_Checks/zz_template_check_.md index 176c32a..8fef841 100644 --- a/docs/20_Checks/zz_template_check_.md +++ b/docs/20_Checks/zz_template_check_.md @@ -8,7 +8,7 @@ It is a plugin for ... ## Standalone installation -From this repository ypu need next to this script: +From this repository you need next to this script: * `inc_pluginfunctions` shared function for all IML checks written in bash -- GitLab