Check_MK (OMD) fails showing pnp4nagios graphs after Ubuntu upgrade
When upgrading Ubuntu from version 14.04 to version 16.04 php-cgi version 5 is replaced by version 7. This will cause Check_MK to fail when trying to display pnp4nagios graphs.
1) If you are running OMD, then edit file:
/omd/sites/[YOUR SITE NAME HERE]/etc/apache/php-wrapper
2) and change the path to php-cgi version 7:
...
# Replace with the path to your FastCGI-enabled PHP executable
#exec /usr/bin/php5-cgi \
exec /usr/bin/php-cgi7.0 \
-d session.save_handler=files \
...
3) Then stop and start the OMD site.
1) If you are running OMD, then edit file:
/omd/sites/[YOUR SITE NAME HERE]/etc/apache/php-wrapper
2) and change the path to php-cgi version 7:
...
# Replace with the path to your FastCGI-enabled PHP executable
#exec /usr/bin/php5-cgi \
exec /usr/bin/php-cgi7.0 \
-d session.save_handler=files \
...
3) Then stop and start the OMD site.
Kommentarer
Send en kommentar