-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Describe the bug
A template with only 3 fields in its thresholds file does not work properly.
Example: with power thresholds of cisco templates:
PsuStatus : red : critical|not functioning
PsuStatus : yellow : warning|shutdown|not present
PsuStatus : green : normal
Adding any thresholds message in the 4th field fixes the issue:
Example:
PsuStatus : red : critical|not functioning : Error
PsuStatus : yellow : warning|shutdown|not present : Warning
PsuStatus : green : normal : Ok
Expected behaviour
Global color should be "red"
red Wed Aug 06 11:52:07 2025
Alarming on (Switch 1 - Power Supply A,Switch 1 - Power Supply B)
| PSU Type | PSU state |
|---|---|
| Switch 1 - Power Supply A | &red critical |
| Switch 1 - Power Supply B | &green normal |
Actual behaviour
Global color is "green" when you have a PSU "red"
green Wed Jul 30 03:30:21 2025
Alarming on (Switch 1 - Power Supply A,Switch 1 - Power Supply B)
| PSU Type | PSU state |
|---|---|
| Switch 1 - Power Supply A | &red critical |
| Switch 1 - Power Supply B | &green normal |
Server configuration
Xymon version:
Xymon 4.3.30
Perl version:
v5.16.3
Devmon version:
v0.25.03