Skip to content

Commit 2a6ae50

Browse files
committed
statuspal: 'performance' degredation is now a WARN, not UNKNOWN
1 parent 119ff55 commit 2a6ae50

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ Assets:
1414
* deb-updates: apt-get returns with an error ([#904](https://github.com/Linuxfabrik/monitoring-plugins/issues/904))
1515

1616

17+
### Changed ("refactor", "chore" etc.)
18+
19+
Monitoring Plugins:
20+
21+
* statuspal: 'performance' degredation is now a WARN, not UNKNOWN
22+
23+
1724

1825
## [v2.1.1] - 2025-06-20
1926

check-plugins/statuspal/statuspal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ except ImportError as e:
3232

3333

3434
__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
35-
__version__ = '2025030801'
35+
__version__ = '2025062701'
3636

3737
DESCRIPTION = """Statuspal is a status page provider from Germany. This check plugin gets
3838
the summary of a Statuspal status page, checks its status, services,
@@ -148,7 +148,7 @@ def statuspalstate2state(sps):
148148
"""
149149
if sps is None or sps == 'scheduled' or sps == 'info':
150150
return STATE_OK
151-
if sps == 'minor':
151+
if sps == 'minor' or sps == 'performance':
152152
return STATE_WARN
153153
if sps == 'major':
154154
return STATE_CRIT

0 commit comments

Comments
 (0)