Closed mafri27 closed 2 years ago
Hii @mafri27 , thank you for the report!
$ icinga2 feature list Disabled features: Enabled features: api checker ido-pgsql influxdb mainlog syslo
I can't see the icingadb
feature here, did you miss to fully copy paste the output of this command or don't have icingadb
feature enabled? Could you also please post the complete raw output of the CheckCommand
here, for which no warning/critical thresholds are not showing in Icinga DB Web.
you are right. I've done this at the HA-Master, but icingadb is running at the secondary system.
$ icinga2 feature list
Disabled features:
Enabled features: api checker compatlog icingadb ido-pgsql livestatus mainlog syslog
the output of this plugin is:
# ./plugin options
0 errors|et_4_0_0_channel=921 et_4_0_0_cfec=682144595 et_4_0_0_ufec=0 et_4_0_0_temp=39.0;;0.0:78.0 et_4_0_0_snr=17.1;;12: et_4_0_0_tx=-7.6;;-11:0.0 et_4_0_0_rx=-0.1;;-5:2.0 et_4_0_0_cd=304.0;; et_4_0_0_osnr=34.2;;20: et_4_3_0_channel=923 et_4_3_0_cfec=679271258 et_4_3_0_ufec=0
| Interface | Channel | cFEC | uFEC | temp | snr | osnr | tx | rx | cd | State |
+-----------------+---------+-----------------+----------------+------------+------------+------------+------------+------------+------------+------------------------------------------+
| et-4/0/0 | 921 | 682144595 | 0 | 39.00 | 17.10 | 34.20 | -7.60 | -0.10 | 304.00 | [OK] |
| et-4/3/0 | 923 | 679271258 | 0 | 36.00 | 17.30 | 33.90 | -8.30 | -1.10 | 301.00 | [OK] |
The perfData are normalized incorrectly by Icinga 2!
I think this might be a duplicate of #9038. Though I'm wondering why the threshold for et_4_0_0_temp
doesn't show up as that's not a range.
They are normalized incorrectly. When you check the performance_data
attr, the thresholds are all present, but normalized_performance_data
doesn't contain any thresholds.
Not normalized:
et_4_0_0_temp=39.0;;0.0:78.0 et_4_0_0_snr=17.1;;12: et_4_0_0_tx=-7.6;;-11:0.0 et_4_0_0_rx=-0.1;;-5:2.0 et_4_0_0_cd=304.0;; et_4_0_0_osnr=34.2;;20: et_4_3_0_channel=923 et_4_3_0_cfec=679271258 et_4_3_0_ufec=0
Normalized:
et_4_0_0_temp=39 et_4_0_0_snr=17.100000 et_4_0_0_tx=-7.600000 et_4_0_0_rx=-0.100000 et_4_0_0_cd=304 et_4_0_0_osnr=34.200000 et_4_3_0_channel=923 et_4_3_0_cfec=679271258 et_4_3_0_ufec=0
why the threshold for
et_4_0_0_temp
doesn't show up as that's not a range
Isn’t 0.0:78.0
a range?
Duplicate of #9038
We have even unit tests verifying correct normalisation... ex. on ranges. -> #9038
I don't think this is a duplicate of #9038. The problem is that if the performance data contains empty value (like ;;
) it is cut and also everything after it is removed. Please reopen and fix this bug.
Duplicate of #9634
Describe the bug
Warning and Critical values of the Performance Data are not shown at the icingadb-web service page. At the normal service page it is shown.
Expected behavior
Warning and Critical values at Perf list
Screenshots
icingadb-web: normal view:
Your Environment