mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Fix meta file
This commit is contained in:
@ -15,6 +15,7 @@ galaxy_info:
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
categories:
|
||||
galaxy_tags:
|
||||
- monitoring
|
||||
|
||||
dependencies: []
|
||||
|
@ -25,6 +25,33 @@ provisioner:
|
||||
name: ansible
|
||||
lint:
|
||||
name: ansible-lint
|
||||
inventory:
|
||||
group_vars:
|
||||
all:
|
||||
telegraf_plugins_default:
|
||||
- plugin: cpu
|
||||
config:
|
||||
- percpu = true
|
||||
- plugin: disk
|
||||
- plugin: io
|
||||
- plugin: mem
|
||||
- plugin: net
|
||||
- plugin: system
|
||||
- plugin: swap
|
||||
- plugin: netstat
|
||||
- plugin: processes
|
||||
- plugin: kernel
|
||||
- plugin: nginx
|
||||
config:
|
||||
- urls = ["http://localhost/nginx_status"]
|
||||
- plugin: logparser
|
||||
config:
|
||||
- files = ["/var/log/nginx/access.log"]
|
||||
- from_beginning = true
|
||||
- name_override = "nginx_access_log"
|
||||
- \[logparser.grok\]
|
||||
- patterns = ["%{COMBINED_LOG_FORMAT}"]
|
||||
|
||||
scenario:
|
||||
name: default
|
||||
verifier:
|
||||
|
@ -6,7 +6,7 @@
|
||||
{% endif %}
|
||||
{% if item.value.config is defined and item.value.config is iterable %}
|
||||
{% for items in item.value.config %}
|
||||
{{ items }}
|
||||
{% raw %}{{ items }}{% endraw %}}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if item.value.tags is defined and item.value.tags is iterable %}
|
||||
|
Reference in New Issue
Block a user