I have installed the nagios in the server and tried to call nagios using
the url http://serverip/nagios. But I was getting the following error
File does not exist: /usr/local/nagios/share/sys_cpanel,
fix : I tried to install it under the domain. I have copied the
directory /usr/local/nagios/ to the public_html of the domain and then I
changed the ownership to that of the user.