Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
4c1432f3
Commit
4c1432f3
authored
5 years ago
by
S M Y
Browse files
Options
Download
Patches
Plain Diff
kafka alert fix, middlemanager rule fix, process exporter task fix
parent
32a08995
sunbird-monitoring-release-2.2.0
sunbird-monitoring-release-2.2.0_aa4568b
sunbird-monitoring-release-2.1.0
sunbird-monitoring-release-2.1.0_RC1
monitoring-fixes
loadtest
fixed-monitoring
before-categorisation
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/roles/stack-monitor-stateful/templates/alertrules.process.yml
+6
-0
...s/stack-monitor-stateful/templates/alertrules.process.yml
ansible/roles/vm-agents-processexporter/tasks/main.yml
+2
-2
ansible/roles/vm-agents-processexporter/tasks/main.yml
ansible/roles/vm-agents-processexporter/templates/config.j2
+2
-2
ansible/roles/vm-agents-processexporter/templates/config.j2
with
10 additions
and
4 deletions
+10
-4
ansible/roles/stack-monitor-stateful/templates/alertrules.process.yml
+
6
−
0
View file @
4c1432f3
...
...
@@ -25,6 +25,12 @@ groups:
annotations
:
description
:
'
Number
of
running
processes
are:
{%
raw
%}{{$value}}{%
endraw
%}'
summary
:
Kafka process is not running
-
alert
:
kafka_more_than_one_process_running
expr
:
namedprocess_namegroup_states{groupname="kafka",state="Sleeping"} >
1
for
:
1m
annotations
:
description
:
'
Number
of
running
processes
are:
{%
raw
%}{{$value}}{%
endraw
%}'
summary
:
More than one process running
-
alert
:
search_process_not_running
expr
:
namedprocess_namegroup_states{groupname="search",state="Sleeping"} <
1
for
:
1m
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/vm-agents-processexporter/tasks/main.yml
+
2
−
2
View file @
4c1432f3
...
...
@@ -13,9 +13,9 @@
group
:
"
{{
prometheus_exporters_common_group
}}"
createhome
:
no
-
name
:
create prometheus director
ies
-
name
:
create prometheus director
y
file
:
path
:
"
{{
item
}}"
path
:
"
{{
prometheus_exporters_common_root_dir
}}"
state
:
directory
owner
:
"
{{
prometheus_exporters_common_user
}}"
group
:
"
{{
prometheus_exporters_common_group
}}"
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/vm-agents-processexporter/templates/config.j2
+
2
−
2
View file @
4c1432f3
...
...
@@ -119,9 +119,9 @@ process_names:
- .+broker.+
{% endif %}
{% if 'middlemanager-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['middlemanager-ps'] %}
- name: "middle
m
anager"
- name: "middle
M
anager"
comm:
- java
cmdline:
- .+middle
m
anager.+
- .+middle
M
anager.+
{% endif %}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets