Werk #16899: oracle_locks: allow checking w/o setting a state
Komponente | Checks & agents | ||||||
Titel | oracle_locks: allow checking w/o setting a state | ||||||
Datum | 22.10.2024 | ||||||
Level | Kleine Änderung | ||||||
Klasse | Neues Feature | ||||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||||
Checkmk versions & editions |
|
Setting levels for oracle_locks to (0, 0) or not setting any levels at all makes the check plugin either compare with 0 or with default levels, making it impossible to avoid WARN or CRIT results without fully disabling the check.
This change skips checking against levels if both warn and crit levels have been set to 0, thus keeping the behavior for default levels.