Build precise queries to find exactly what you need
Press ESC to close
To make it work on Ubuntu 20.04 with PHP 7.4:
Edit /usr/local/pnp4nagios/lib/kohana/system/libraries/Input.php line 57 and replace if (get_magic_quotes_runtime()) { set_magic_quotes_runtime(0); Kohana::log(‘debug’, ‘Disable magic_quotes_runtime! It is evil and deprecated: http://php.net/magic_quotes’); }
magic_quotes_gpc is enabled if (get_magic_quotes_gpc()) { $this->magic_quotes_gpc = TRUE; Kohana::log(‘debug’, ‘Disable magic_quotes_gpc! It is evil and deprecated: http://php.net/magic_quotes’); }
with if (version_compare(PHP_VERSION, ‘5.3.0’, ‘magic_quotes_gpc = TRUE; Kohana::log(‘debug’, ‘Disable magic_quotes_gpc! It is evil and deprecated: http://php.net/magic_quotes’); } }
(Credits to https://betanzos.org/gmo/2020/01/13/pnp4nagios-function-get_magic_quotes_runtime-is-deprecated/ )
and edit /usr/local/pnp4nagios/share/application/models/data.php line 979 and replace: if(sizeof($pages) > 0 ){ with: if (is_array($pages)) {
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!