Commit d7bb8dd4 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

added a new rule

parent e38664db
# Rules
# Rules
A rule is a set of [attributes](./attributes.md) with specified values.
---
......@@ -78,6 +78,20 @@ attribute name | value(s)
[cpu_usage_total_max](./attributes.md#cpu_usage_total_max) | `LOW`
[node_cpu_usage_min](./attributes.md#node_cpu_usage_min) | `LOW`
---
#### recommendation
```
The CPU usage of the job is low on all nodes. Please check if the job is running properly
```
#### attributes
attribute name | value(s)
--- | ---
[job_nodes_amount](./attributes.md#job_nodes_amount) | `MULT`
[req_walltime](./attributes.md#req_walltime) | `NORM`
[mem_usage_total](./attributes.md#mem_usage_total) | `NORM`
[cpu_usage_total_max](./attributes.md#cpu_usage_total_max) | `LOW`
[node_cpu_usage_min](./attributes.md#node_cpu_usage_min) | `LOW`
---
#### recommendation
```
......@@ -137,3 +151,4 @@ attribute name | value(s)
--- | ---
[job_nodes_amount](./attributes.md#job_nodes_amount) | `ONE`
[mem_swap_used](./attributes.md#mem_swap_used) | `True`
......@@ -41,6 +41,15 @@ RULES = [
"node_cpu_usage_min": "LOW",
"node_cpu_usage_min": "LOW"},
"msg": "The CPU usage of the job is low on all nodes, please request appropriate amount of resources"},
{
"attrs": {
"job_nodes_amount": "MULT",
"req_walltime": "NORM",
"mem_usage_total": "NORM",
"cpu_usage_total_max": "LOW",
"node_cpu_usage_min": "LOW",
"node_cpu_usage_min": "LOW"},
"msg": "The CPU usage of the job is low on all nodes. Please check if the job is running properly"},
{
"attrs": {
"job_nodes_amount": "ONE",
......
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