Check_MK install instructions leave a couple of dependencies out, specifically php-json.. This comes to light when you’re trying to add a Nagvis sidebar to the Check_MK interface…

The error Failed to parse JSON request: ‘Error (Error): Call to undefined function json_encode()array(1)” is a bit of a giveaway. The solution is simple

Login to your server and install php-json as follows

CentOS

# yum install php-json

Ubutnu

# apt-get update
# apt-get install php-json

Once installed, dont forget to restart your monitoring site

# omd restart <sitename>
Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •