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.

Kommentarer

Populære opslag fra denne blog

Microsoft Office 2016 and the AUTO_ACTIVATE property

Disable logon and logoff events (event id 4624, 4625, 4634 (and all the other ones...))

Enable OpenELEC SSH login with keys, and without password, disable local SSH password