Created
December 22, 2016 12:59
-
-
Save andyxning/f628cf2960438e5070784ccfc1e2bf85 to your computer and use it in GitHub Desktop.
npd_kernel_monitor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"logPath": "/var/log/kern.log", | |
"lookback": "10m", | |
"startPattern": "Initializing cgroup subsys cpuset", | |
"bufferSize": 10, | |
"source": "npd", | |
"conditions": [ | |
{ | |
"type": "KernelDeadlock", | |
"reason": "KernelHasNoDeadlock", | |
"message": "kernel has no deadlock" | |
} | |
], | |
"rules": [ | |
{ | |
"type": "temporary", | |
"reason": "OOMKilling", | |
"pattern": "Task in [0-9A-Za-z_/]+ killed as a result of limit of [0-9A-Za-z_/]+" | |
}, | |
{ | |
"type": "temporary", | |
"reason": "TaskHung", | |
"pattern": "task \\S+:\\w+ blocked for more than \\w+ seconds\\." | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment