Commit 6a0c1569 authored by Rafael Monnerat's avatar Rafael Monnerat

monitor-sr: Fix minor typos and adjustments

parent e6b11636
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
path {{ crawl_log_directory }}/*/*ping.log.20* path {{ crawl_log_directory }}/*/*ping.log.20*
pos_file {{ crawl_log_directory }}/tail_in_ping.pos pos_file {{ crawl_log_directory }}/tail_in_ping.pos
tag slapos.monitor.networktest.ping.ipv4 tag slapos.monitor.networktest.ping.ipv4
format /^(?<time>[^;]*);(?<logtype>[^;]*);(?<computer_name>[^;]*);(?<type>[^;]*);(?<name_or_ip>[^;]*);(?<code>[^;]*);(?<average>[^;]*);(?<packet_lost>[^;]*);(?<extra>[^;]*)$/ format /^(?<time>[^;]*);(?<computer_name>[^;]*);(?<type>[^;]*);(?<name_or_ip>[^;]*);(?<code>[^;]*);(?<average>[^;]*);(?<packet_lost>[^;]*);(?<extra>[^;]*)$/
read_from_head true read_from_head true
</source> </source>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
path {{ crawl_log_directory }}/*/*ping6.log.20* path {{ crawl_log_directory }}/*/*ping6.log.20*
pos_file {{ crawl_log_directory }}/tail_in_ping6.pos pos_file {{ crawl_log_directory }}/tail_in_ping6.pos
tag slapos.monitor.networktest.ping.ipv6 tag slapos.monitor.networktest.ping.ipv6
format /^(?<time>[^;]*);(?<logtype>[^;]*);(?<computer_name>[^;]*);(?<type>[^;]*);(?<name_or_ip>[^;]*);(?<code>[^;]*);(?<average>[^;]*);(?<packet_lost>[^;]*);(?<extra>[^;]*)$/ format /^(?<time>[^;]*);(?<computer_name>[^;]*);(?<type>[^;]*);(?<name_or_ip>[^;]*);(?<code>[^;]*);(?<average>[^;]*);(?<packet_lost>[^;]*);(?<extra>[^;]*)$/
read_from_head true read_from_head true
</source> </source>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
{% endif -%} {% endif -%}
{% endfor -%} {% endfor -%}
], ],
"ipv4" : "ping" :
[ [
{% for slave_instance in slave_list -%} {% for slave_instance in slave_list -%}
{% if slave_instance.get('ping_ip_list') not in [None, "", "0.0.0.0"] -%} {% if slave_instance.get('ping_ip_list') not in [None, "", "0.0.0.0"] -%}
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
{% endif -%} {% endif -%}
{% endfor -%} {% endfor -%}
], ],
"ipv6" : "ping6" :
[ [
{% for slave_instance in slave_list -%} {% for slave_instance in slave_list -%}
{% if slave_instance.get('ping6_ip_list') not in [None, "", "0.0.0.0"] -%} {% if slave_instance.get('ping6_ip_list') not in [None, "", "0.0.0.0"] -%}
......
...@@ -45,7 +45,7 @@ mode = 0644 ...@@ -45,7 +45,7 @@ mode = 0644
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/json-test-template.json.in.jinja2 url = ${:_profile_base_location_}/json-test-template.json.in.jinja2
destination = ${buildout:directory}/json-test-template.json.in.jinja2 destination = ${buildout:directory}/json-test-template.json.in.jinja2
md5sum = d9c576a2182fc429416aec892fe080f2 md5sum = f0f7803bfee25b051ea3432119d9e737
mode = 0644 mode = 0644
...@@ -68,7 +68,7 @@ mode = 0644 ...@@ -68,7 +68,7 @@ mode = 0644
[fluentd-agent-conf] [fluentd-agent-conf]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/fluentd-agent.conf.jinja2.in url = ${:_profile_base_location_}/fluentd-agent.conf.jinja2.in
md5sum = c9da9f22a1cd1fedcf7d659cba916400 md5sum = 4b81ddcbe2f16d23013caac37151d396
output = ${buildout:directory}/fluentd-agent.conf.jinja2.in output = ${buildout:directory}/fluentd-agent.conf.jinja2.in
mode = 0644 mode = 0644
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment