Open infraweavers opened 6 days ago
Have you tried updating OMD? I have a feeling these issues are solved already?
We have not. We are still on 5.30 and didn't really think to check that. We shall update and if the issue persists we can update.
Thank you
Since upgrading our monitoring boxes to Debian 12 (Bookworm), this broke our pnp4nagios graphs.
This happened because due to the new PHP version installed and the dynamic properties being deprecated.
Example of error: "Creation of dynamic property Special_Controller::$templates is deprecated
file [line]: application/controllers/special.php [16]:"
The solution for this is to update the special.php on the OMD box.
The path for the file is: /opt/omd/versions/5.30-labs-edition/share/pnp4nagios/htdocs/application/controllers/special.php
The script needs to include all the properties so it should look like that:
If I put this in a pull request, is this likely to be accepted?