Ngaios Web interface showing "Not Supported" message

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
vladjt7
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Ngaios Web interface showing "Not Supported" message

Post by vladjt7 »

Hi,

I was able to install nagios server in centos7 Cpanel server without ado and was able to supply the logins as well, however right after login it displayed a white screen with the message "Not Supported". I have confirmed that nagios is up and apache is up. Additionally I didnt find any relevant log in following files

/usr/local/nagios/var/nagios.log
/var/log/messages
/var/log/httpd/error_log
/var/log/httpd/access_log

Please let me know how to get rid of this error ?.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Ngaios Web interface showing "Not Supported" message

Post by mcapra »

What method did you use to install Nagios Core? I would suggest installing Nagios Core via the official documentation:
https://support.nagios.com/kb/article/n ... ce-96.html

I can pretty much guarantee Nagios Core's front-end is going to bump heads with cPanel at some point in either application's existence. I would make sure the environments are properly segmented, with some cPanel configs mirroring the regular old Apache configs that ship with Nagios Core.
Former Nagios employee
https://www.mcapra.com/
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Ngaios Web interface showing "Not Supported" message

Post by ssax »

mcapra is likely correct, please show a screenshot of where you are seeing the "Not Supported" message.
vladjt7
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Post by vladjt7 »

Hi,

Yes, I have followed the same steps for installing nagios and the installation process went well. I came to notice that php files are not working with nagios web interface, however html files are fine. I am using CGI as handler. Kindly let me know your thoughts.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Ngaios Web interface showing "Not Supported" message

Post by scottwilkerson »

vladjt7 wrote:Hi,

Yes, I have followed the same steps for installing nagios and the installation process went well. I came to notice that php files are not working with nagios web interface, however html files are fine. I am using CGI as handler. Kindly let me know your thoughts.
Nagios does require php

Did you install php on the server?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vladjt7
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Post by vladjt7 »

Its a cpanel server and php is there already.
[root@nagios1 /]# php -v
PHP 5.6.40 (cli) (built: Feb 5 2019 02:28:13)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
[root@nagios1 /]#

Kindly let me know how to resolve the issue.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Ngaios Web interface showing "Not Supported" message

Post by scottwilkerson »

Can you share a screenshot of where you are seeing this "Not Supported" message?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vladjt7
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Post by vladjt7 »

Hereby I am enclosing the screen shot of the error message. I suspect its related CGI handler in the server.
Attachments
nagios.PNG
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Ngaios Web interface showing "Not Supported" message

Post by scottwilkerson »

Can you post the output of the following command, I want to verify php module is enabled for httpd

Code: Select all

apachectl -M | sort
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vladjt7
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Post by vladjt7 »

Here is the requested information


[root@server ~]# apachectl -M | sort
Syntax OK
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authnz_ldap_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cache_module (shared)
cgi_module (shared)
core_module (static)
dav_fs_module (shared)
dav_module (shared)
deflate_module (shared)
dir_module (shared)
disk_cache_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
headers_module (shared)
http_module (static)
include_module (shared)
info_module (shared)
ldap_module (shared)
Loaded Modules:
log_config_module (shared)
logio_module (shared)
mime_magic_module (shared)
mime_module (shared)
mpm_prefork_module (static)
negotiation_module (shared)
php5_module (shared)
proxy_ajp_module (shared)
proxy_balancer_module (shared)
proxy_connect_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_module (shared)
rewrite_module (shared)
setenvif_module (shared)
so_module (static)
speling_module (shared)
status_module (shared)
substitute_module (shared)
suexec_module (shared)
userdir_module (shared)
usertrack_module (shared)
version_module (shared)
vhost_alias_module (shared)
Locked