OMD 5.60 + Nagflux + Grafana + InfluxDB.
Symptom:
No data found on Grafana metrics because of weird name, i.e: grp_dbatools::'db_dbatools_allocated_pct
The single quote on front of db is incorrect.
This is using mode database-data-free-details with check_mssql_health,
Sample:
DATATYPE::SERVICEPERFDATA TIMET::1754386455 HOSTNAME::XXX SERVICEDESC::DB DATA FREE SPACE SERVICEPERFDATA::'grp_dbatools::primary_allocated_pct'=6.25%;;;0;100 'db_dbatools_free_pct'=98.05%;15:;5:;0;100 'db_dbatools_free'=1004.06MB;15:;5:;0;1024 'db_dbatools_allocated_pct'=6.25%;;;0;100 SERVICECHECKCOMMAND::check-mssql-database-free-space-detail!15:!5: HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD
Looking at code, it seems that checkMulitRegex in nagiosSpoolfileWorker.go should not catch single quotes (or performance label should be sanitized somewhere berfore injected to Influxdb).
jfr
OMD 5.60 + Nagflux + Grafana + InfluxDB.
Symptom:
No data found on Grafana metrics because of weird name, i.e: grp_dbatools::'db_dbatools_allocated_pct
The single quote on front of db is incorrect.
This is using mode database-data-free-details with check_mssql_health,
Sample:
DATATYPE::SERVICEPERFDATA TIMET::1754386455 HOSTNAME::XXX SERVICEDESC::DB DATA FREE SPACE SERVICEPERFDATA::'grp_dbatools::primary_allocated_pct'=6.25%;;;0;100 'db_dbatools_free_pct'=98.05%;15:;5:;0;100 'db_dbatools_free'=1004.06MB;15:;5:;0;1024 'db_dbatools_allocated_pct'=6.25%;;;0;100 SERVICECHECKCOMMAND::check-mssql-database-free-space-detail!15:!5: HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD
Looking at code, it seems that checkMulitRegex in nagiosSpoolfileWorker.go should not catch single quotes (or performance label should be sanitized somewhere berfore injected to Influxdb).
jfr