Skip to content
Snippets Groups Projects
Commit 19d1e45b authored by Dennis Ahrens's avatar Dennis Ahrens
Browse files

Moved monitoring exitcodes from another repository here.

parent 73d343e9
Branches
No related tags found
No related merge requests found
......@@ -67,6 +67,11 @@ Installs the [netstat.linux](https://checkmk.com/cms_check_netstat.html) agent p
Installs the [nginx_status](https://checkmk.com/cms_check_nginx_status.html) agent plugin.
### `checkmk.debian.monitoring-exitcodes`
Installs the `monitoring-exitcodes` agent local check.
Use it together with [hshtaskrunner](https://lab.it.hs-hannover.de/tools/hshtaskrunner).
### `checkmk.debian.mk_apt`
Installs the [mk_apt](https://checkmk.com/cms_check_apt.html) agent plugin
......
#!/bin/bash
# use me together with hshtaskrunner
# we expect files present in /srv/monitoring-exitcodes
# those have proper checkmk local format like this:
# 0 syncsospos - OK - Last run at 07.07.2020 01:00 was successful.
find /srv/monitoring-exitcodes/ -type f -exec cat {} +
hsh_checkmk_monitoring_exitcodes_plugin:
file.managed:
- name: /usr/lib/check_mk_agent/local/monitoring-exitcodes
- source: salt://checkmk/custom-files/local/monitoring-exitcodes
- mode: 755
- user: root
- group: root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment