Skip to content

Commit

Permalink
dmesg: Add more default ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
markuslf committed May 23, 2024
1 parent 33764d8 commit 86fdd7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion check-plugins/dmesg/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ Help
Controller not enabled!', ' tsc: Fast TSC calibration
failed', ' unhandled rdmsr: ', ' unhandled wrmsr: ', '
vcpu0 disabled perfctr wrmsr', ' Warning: Deprecated
Driver is detected']
Driver is detected', ' Warning: Unmaintained driver is
detected']
--severity {warn,crit}
Severity for alerting. Default: crit
--test TEST For unit tests. Needs "path-to-stdout-file,path-to-
Expand Down
3 changes: 2 additions & 1 deletion check-plugins/dmesg/dmesg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ from lib.globals import (STATE_CRIT, STATE_OK, # pylint: disable=C0413
STATE_UNKNOWN, STATE_WARN)

__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2024052301'
__version__ = '2024052302'

DESCRIPTION = """Checks dmesg for emerg, alert, crit and err messages. Executes `dmesg
--level=emerg,alert,crit,err --ctime `. If you fixed the issues (or just want to
Expand Down Expand Up @@ -57,6 +57,7 @@ DEFAULT_IGNORE = [
' unhandled wrmsr: ', # https://bugzilla.redhat.com/show_bug.cgi?id=874627
' vcpu0 disabled perfctr wrmsr', # https://access.redhat.com/solutions/2188061
' Warning: Deprecated Driver is detected', # can be ignored during daily runtime - driver is still supported/running, and it is just a warning
' Warning: Unmaintained driver is detected', # can be ignored during daily runtime - driver is still supported/running, and it is just a warning
]


Expand Down
3 changes: 2 additions & 1 deletion check-plugins/dmesg/icingaweb2-module-director/dmesg.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@
" unhandled rdmsr: ",
" unhandled wrmsr: ",
" vcpu0 disabled perfctr wrmsr",
" Warning: Deprecated Driver is detected"
" Warning: Deprecated Driver is detected",
" Warning: Unmaintained driver is detected"
],
"dmesg_severity": "crit"
},
Expand Down

0 comments on commit 86fdd7a

Please sign in to comment.