This morning I did an upgrade from 1.6.0p20 to 2.0.0p2.
I upgraded the master and the slave and then started both.
I think it went smooth.
Most things seems to work.
Monitoring and alert are still fonctionnal.
My problem is with the graph. I have some “categorie” of graph that works (ping/check_mk/memory/uptime) All the other graph don’t work and tell me this :
No historic metrics recorded but performance data is available. Maybe performance data processing is disabled.
Anyone has an idea of where I could look to fix this?
Error found I think
It was this commit Read metric names from XML file (was filenames) · tribe29/checkmk@f01c463 · GitHub
It changed the finding of names for the metrics from the file name to the XML file.
What is very interesting is the following - at the moment only service without space inside the description are working. Why? The function cannot find an metric for services with spaces as these spaces are replaced inside the XML file and the filename.
On the first look i see no replacing of space with underscore in this commit.
This does not seem to be just in RAW. I am expiriencing the same on CEE. All graphs for services with spaces in their name are gone. I.e. “CPU load”, “CPU utilization” etc. Whereas “Memory” and “Uptime” still show.
My upgrade took place from 2.0.0p1 to 2.0.0p2.
Ok then the problem is as I expected also the incorrect conversion of the service description to filenames.
The workaround should also do the trick in your environment i hope
Es gibt noch einen weiteren Commit zu diesem Problem.
kann sein, dass damit auch dieses Problem weg ist - dort wird jedenfalls ein “pnp_cleanup” gemacht was eigentlich alle Zeichen welche nicht so gespeichert werden können durch “_” ersetzen sollte.
Hi @kohly.de, den Fehler kann ich mit der p3 nicht nachvollziehen, u.a. deswegen wollen wir die p3 ja releasen. Kannst Du das Fehlerbild bitte genauer beschreiben?
ich habe noch etwas ausprobiert und komme zu folgendem:
auf rpi0[123].chaos.inc (clusternodes) liegen jeweils local checks, die ich unter ‘sensor.chaos.inc’ als clustered services (sensor:.*) zusammen gefasst habe.
diese checks an sich werden nach wie vor korrekt angezeigt
alle ‘sensor:tf:.*’ graphen erzeugen die fehlermeldung ‘Cannot create graph’.
seltsamerweise aber ‘…benzinpreis’ und ‘…wbi’ nicht.
zum test habe ich auf ‘rpi01’ ein script kopiert und dem servicenamen ‘foobar:’ vorangestellt.
dieser ‘extracheck’ ist nicht als clusterservice definiert und erscheint direkt beim host rpi01.
dort wird der graph angezeigt, ebenso bei hv03, der nicht dem cluster angehört.
vgl. screenshot
Die Fehlermeldung würde erstmal erklären warum kein Graph gezeichnet werden kann.
Wenn ich die Dateinamen aus deinem anderen Post mir anschaue dann fällt mir auf was das Problem ist.