Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
zabbix
Commits
865b89c7
Commit
865b89c7
authored
Sep 22, 2017
by
Lars Beckers
Browse files
zabbix-agent: remove dpkg check, add smart checks
parent
b5104ec5
Changes
1
Show whitespace changes
Inline
Side-by-side
zabbix-agent/tasks/main.yml
View file @
865b89c7
...
...
@@ -8,7 +8,6 @@
-
packages
-
zabbix
# TODO
-
name
:
ensure the agent is configured
template
:
src=zabbix_agentd.conf.j2 dest=/etc/zabbix/zabbix_agentd.conf
notify
:
...
...
@@ -22,7 +21,6 @@
# tags:
# - service
# - zabbix
# TODO e.g. disk i/o, smart, cups, ...
-
name
:
ensure the server is enabled and running
service
:
name=zabbix-agent state=running enabled=yes
...
...
@@ -30,12 +28,15 @@
-
service
-
zabbix
# unfortunately this packages is totaly useless because of some ubuntu specific dependencies
-
name
:
install debian update checks
apt
:
update_cache=yes name=zabbix-check-dpkg state=latest
-
name
:
ensure zabbix-smart-check is installed
apt
:
name={{ item }} state=present
with_items
:
-
zabbix-check-smart
-
zabbix-check-disk-performance
when
:
"
'baremetal'
in
group_names"
tags
:
-
zabbix
-
packages
-
hardware-tools
-
chr
-
meta
:
flush_handlers
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment