Ngaios Web interface showing "Not Supported" message

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Ngaios Web interface showing "Not Supported" message

Postby vladjt7 » Wed Feb 06, 2019 8:36 am

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 ?.
vladjt7
 
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Postby mcapra » Wed Feb 06, 2019 9:58 am

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
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3564
Joined: Thu May 05, 2016 3:54 pm

Re: Ngaios Web interface showing "Not Supported" message

Postby ssax » Wed Feb 06, 2019 5:15 pm

mcapra is likely correct, please show a screenshot of where you are seeing the "Not Supported" message.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
ssax
Dreams In Code
 
Posts: 4216
Joined: Wed Feb 11, 2015 12:54 pm

Re: Ngaios Web interface showing "Not Supported" message

Postby vladjt7 » Wed Feb 06, 2019 11:57 pm

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.
vladjt7
 
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Postby scottwilkerson » Thu Feb 07, 2019 3:23 pm

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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15398
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Ngaios Web interface showing "Not Supported" message

Postby vladjt7 » Tue Feb 12, 2019 5:11 am

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.
vladjt7
 
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Postby scottwilkerson » Tue Feb 12, 2019 8:44 am

Can you share a screenshot of where you are seeing this "Not Supported" message?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15398
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Ngaios Web interface showing "Not Supported" message

Postby vladjt7 » Tue Feb 12, 2019 11:37 am

Hereby I am enclosing the screen shot of the error message. I suspect its related CGI handler in the server.
Attachments
nagios.PNG
vladjt7
 
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Re: Ngaios Web interface showing "Not Supported" message

Postby scottwilkerson » Tue Feb 12, 2019 12:53 pm

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15398
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Ngaios Web interface showing "Not Supported" message

Postby vladjt7 » Tue Feb 12, 2019 9:51 pm

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)
vladjt7
 
Posts: 8
Joined: Wed Feb 06, 2019 7:37 am

Next

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 17 guests