We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, just installed pnp4nagios and i'm getting an error when i want to get the data in grafana
Thanks in advance Fatal error: Cannot use object of type stdClass as array in /usr/local/pnp4nagios/share/application/controllers/api.php on line 157
Fatal error: Cannot use object of type stdClass as array in /usr/local/pnp4nagios/share/application/controllers/api.php on line 157
The text was updated successfully, but these errors were encountered:
This error seems to be PHP related. The original code works fine on PHP5.x. It would be nice to get a version of the script that works with PHP7/8.
Sorry, something went wrong.
I think the issue is more related to pnp itself. We use the api unmodified with php7/8 but had to apply patches to pnp itself. Here is a list of patches we use: https://github.com/ConSol/omd/tree/labs/packages/pnp4nagios/patches
No branches or pull requests
Hi, just installed pnp4nagios and i'm getting an error when i want to get the data in grafana
Thanks in advance
Fatal error: Cannot use object of type stdClass as array in /usr/local/pnp4nagios/share/application/controllers/api.php on line 157
The text was updated successfully, but these errors were encountered: