Enable Secure HTTPS for Nagios Core

Its possible to enable SSL over http for Nagiso Core (Red Hat/CentOS). The Nagios WEB UI can be made secure by enabling https instead of plain http in Nagios. After you are done installing Nagios Core in Linux, you need to enable OpenSSL in Apache. First we need to install mod_ssl and openssl and then edit nagios.conf in Apache.

Run this command

# yum -y install mod_ssl openssl

And then hash out "#" SSLRequire fields in nagios.conf

# vi /etc/httpd/conf.d/nagios.conf
SSLRequire SSL

 That's it. EASY isn't it !!. Now go ahead and access Nagios WEB UI over "https".

 If you encounter any errors during the process, let us know via Contact Us and will get it resolved promptly.

 

 

Monitoring Related Articles....

When trying to get the custom time range for PNP4Nagios graphs, it might result in an error "application/models/data.php [664]:". It...
To make Nagios CORE security compliant with a SHA2/SHA256 cert, follow these steps using Openssl and you will be ready...
This script is to monitor a failure when Nagios daemons fails to start or sometimes Nagios stops sending alerts. When...
Its possible to upgrade Nagios CORE to the latest version by just following these simple steps. This article covers upgrade,...
This is a easy-to-follow setup and config guide for of Cacti (Source install) on CentOS and Red Hat flavour OS.