Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zabbix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
zabbix
Commits
865b89c7
Commit
865b89c7
authored
7 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
zabbix-agent: remove dpkg check, add smart checks
parent
b5104ec5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
zabbix-agent/tasks/main.yml
+7
-6
7 additions, 6 deletions
zabbix-agent/tasks/main.yml
with
7 additions
and
6 deletions
zabbix-agent/tasks/main.yml
+
7
−
6
View file @
865b89c7
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment