Using Ansible I was able to push out the check_mk agent to all the servers in my environment.
The playbook I used looked like the following. I ran this against all the hosts in my environment:
*Note: the check-mk Agent file (titled
check-mk-agent_2.0.0p17-1_all.deb) is in the
- name: Install Monitoring Agent remote_user: ansible-system gather_facts: true hosts: all become: yes become_user: root become_method: sudo tasks: - name: Copy Deb Monitoring File ansible.builtin.copy: src: files/check-mk-agent_2.0.0p17-1_all.deb dest: /tmp/check-mk-agent_2.0.0p17-1_all.deb owner: root group: root mode: '0644' - name: Install Deb Monitoring File apt: deb: /tmp/check-mk-agent_2.0.0p17-1_all.deb