Skip to content
Snippets Groups Projects
Commit 865b89c7 authored by Lars Beckers's avatar Lars Beckers
Browse files

zabbix-agent: remove dpkg check, add smart checks

parent b5104ec5
Branches
No related tags found
No related merge requests found
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
- packages - packages
- zabbix - zabbix
# TODO
- name: ensure the agent is configured - name: ensure the agent is configured
template: src=zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf template: src=zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf
notify: notify:
...@@ -22,7 +21,6 @@ ...@@ -22,7 +21,6 @@
# tags: # tags:
# - service # - service
# - zabbix # - zabbix
# TODO e.g. disk i/o, smart, cups, ...
- name: ensure the server is enabled and running - name: ensure the server is enabled and running
service: name=zabbix-agent state=running enabled=yes service: name=zabbix-agent state=running enabled=yes
...@@ -30,12 +28,15 @@ ...@@ -30,12 +28,15 @@
- service - service
- zabbix - zabbix
# unfortunately this packages is totaly useless because of some ubuntu specific dependencies - name: ensure zabbix-smart-check is installed
- name: install debian update checks apt: name={{ item }} state=present
apt: update_cache=yes name=zabbix-check-dpkg state=latest with_items:
- zabbix-check-smart
- zabbix-check-disk-performance
when: "'baremetal' in group_names"
tags: tags:
- zabbix
- packages - packages
- hardware-tools
- chr - chr
- meta: flush_handlers - meta: flush_handlers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment