Select Git revision
test_exit_strategy.sh.j2
install_checkmk_plugins_rosetta.yml 1.53 KiB
---
- name: install self-developed Check_MK plugins for Rosetta
ansible.builtin.copy:
src: "{{ item.path }}"
dest: "/{{ item.path }}"
owner: "root"
group: "root"
mode: "{{ item.mode }}"
loop:
- path: "usr/lib/check_mk_agent/plugins/check_rosetta_heartbeat.sh"
mode: "0750"
- path: "usr/lib/check_mk_agent/plugins/check_rosetta_heartbeat.xml"
mode: "0644"
- name: configure logwatch for Rosetta
ansible.builtin.blockinfile:
path: "/etc/check_mk/logwatch.cfg"
state: present
marker: "# {mark} ANSIBLE MANAGED BLOCK - Rosetta"
block: |
# Globbing patterns are allowed for filenames/paths:
"/operational_shared/logs/{{ ansible_hostname }}*/server.log"
# This is clearly not an error, it just got the wrong log level. Ignore it.
I failed to retrieve institution level logo, retrieved consortium level logo instead.
# Our documents are all UTF-8 encoded. Ignore that.
I Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported
# This error shows up all the time, but it never does anything. Ignore it.
I Unable to find IE
# Trigger WARN for Warnings.
W WARN
# Trigger CRIT for ERRORs and Exceptions
C ERROR
C Exception
"/operational_shared/logs/{{ ansible_hostname }}*/gc.log"
C GC (Allocation Failure)
- name: uninstall legacy NFS_troubleshoot.sh logwatch & mail notification script
ansible.builtin.file:
path: "/root/mail_rosetta_errors.sh"
state: absent