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
fa7b2f4f
Unverified
Commit
fa7b2f4f
authored
5 years ago
by
Rani Mounika Kotakadi
Committed by
GitHub
5 years ago
Browse files
Options
Download
Patches
Plain Diff
modified alert rule for es disk space
parent
0f9dec1a
sunbird-monitoring-release-3.5.0_RC1
sunbird-monitoring-release-3.3.0_RC1
sunbird-monitoring-release-2.6.0
sunbird-monitoring-release-2.6.0_RC6
sunbird-monitoring-release-2.6.0_RC5
sunbird-monitoring-release-2.6.0_RC4
sunbird-monitoring-release-2.6.0_RC3
sunbird-monitoring-release-2.6.0_RC2
sunbird-monitoring-release-2.6.0_RC1
sunbird-monitoring-release-2.5.0_484f884
sunbird-monitoring-release-2.5.0
sunbird-monitoring-release-2.5.0_RC3
sunbird-monitoring-release-2.5.0_RC2
sunbird-monitoring-release-2.5.0_RC1
sunbird-monitoring-release-2.3.0_9009005
sunbird-monitoring-release-2.3.0_RC4
sunbird-monitoring-release-2.3.0_RC3
secor-lag
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/stack-monitor-stateful/templates/alertrules.es.yml
+6
-6
.../roles/stack-monitor-stateful/templates/alertrules.es.yml
with
6 additions
and
6 deletions
+6
-6
ansible/roles/stack-monitor-stateful/templates/alertrules.es.yml
+
6
−
6
View file @
fa7b2f4f
...
...
@@ -4,30 +4,30 @@ groups:
-
record
:
elasticsearch_filesystem_data_used_percent
expr
:
100 * (elasticsearch_filesystem_data_size_bytes - elasticsearch_filesystem_data_free_bytes) / elasticsearch_filesystem_data_size_bytes
-
alert
:
elasticsearch_filesystem_data_free_percent_WARNING
expr
:
100 - elasticsearch_filesystem_data_used_percent
>
= {{ elasticsearch_filesystem_data_remaining_threshold_Warning }}
expr
:
100 - elasticsearch_filesystem_data_used_percent
<
= {{ elasticsearch_filesystem_data_remaining_threshold_Warning }}
AND 100 - elasticsearch_filesystem_data_used_percent > {{ elasticsearch_filesystem_data_remaining_threshold_Critical }}
for
:
1m
labels
:
severity
:
WARNING
annotations
:
description
:
Elasticsearch
Disk consumption
{% raw %}{{$value}}{% endraw %} .
description
:
Elasticsearch
Free space on Disk
{% raw %}{{$value}}{% endraw %} .
summary
:
Elasticsearch has less free disk space. {% raw %}{{$value}}{% endraw %} of disk space is consumed.
-
alert
:
elasticsearch_filesystem_data_free_percent_CRITICAL
expr
:
100 - elasticsearch_filesystem_data_used_percent
>
= {{ elasticsearch_filesystem_data_remaining_threshold_Critical }}
expr
:
100 - elasticsearch_filesystem_data_used_percent
<
= {{ elasticsearch_filesystem_data_remaining_threshold_Critical }}
AND expr
:
100 - elasticsearch_filesystem_data_used_percent <= {{ elasticsearch_filesystem_data_remaining_threshold_Warning }} AND 100 - elasticsearch_filesystem_data_used_percent > {{ elasticsearch_filesystem_data_remaining_threshold_Fatal }}
for
:
1m
labels
:
severity
:
CRITICAL
annotations
:
description
:
Elasticsearch
Disk consumption
{% raw %}{{$value}}{% endraw %} .
description
:
Elasticsearch
Free space on Disk
{% raw %}{{$value}}{% endraw %} .
summary
:
Elasticsearch has less free disk space. {% raw %}{{$value}}{% endraw %} of disk space is consumed.
-
alert
:
elasticsearch_filesystem_data_free_percent_FATAL
expr
:
100 - elasticsearch_filesystem_data_used_percent
>
= {{ elasticsearch_filesystem_data_remaining_threshold_Fatal }}
expr
:
100 - elasticsearch_filesystem_data_used_percent
<
= {{ elasticsearch_filesystem_data_remaining_threshold_Fatal }}
for
:
1m
labels
:
severity
:
FATAL
annotations
:
description
:
Elasticsearch
Disk consumption
{% raw %}{{$value}}{% endraw %} .
description
:
Elasticsearch
Free space on Disk
{% raw %}{{$value}}{% endraw %} .
summary
:
Elasticsearch has less free disk space. {% raw %}{{$value}}{% endraw %} of disk space is consumed.
-
alert
:
elasticsearch_too_few_nodes_running_CRITICAL
...
...
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