# | Line 86 | Line 86 | public abstract class MonitorSkeleton implements Plugi | |
---|---|---|
86 | int thresholdLevel = reg.getLastThresholdLevel(); | |
87 | String thresholdValue = String.valueOf(reg.getThreshold(thresholdLevel)); | |
88 | String timeout = String.valueOf(reg.getAlertTimeout(reg.getLastAlertLevel()) / 1000); | |
89 | < | if (thresholdLevel == Alert.thresholdNORMAL) { |
89 | > | // ensures we display a nice thing if its -1.0 |
90 | > | if (thresholdLevel == -1.0) { |
91 | thresholdValue = "-"; | |
92 | } | |
93 | if (alertLevel == Alert.alertOK) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |