[
https://issues.apache.org/jira/browse/AMBARI-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713286#comment-13713286
]
Tom Beerbower commented on AMBARI-2691:
---------------------------------------
Nagios
-------
1. Install cluster
2. Create self signed certificate on Nagios server. For example ...
{code}
openssl genrsa -out nserver.key 1024
openssl req -new -key nserver.key -out nserver.csr !!! -- use hostname for
common name
openssl x509 -req -days 365 -in nserver.csr -signkey nserver.key -out
nserver.crt
{code}
3. Install SSL on Nagios server.
{code}
yum install mod_ssl
{code}
4. Restart httpd service on Nagios server.
{code}
service httpd restart
{code}
5. Edit SSL configuration on Nagios server.
{code}
/etc/httpd/conf.d/ssl.conf
{code}
Set the cert and key file names to the files created in step #2.
{code}
SSLCertificateFile = nserver.crt
SSLCertificateKeyFile = nserver.key
{code}
5. Add cert to the trust store on the Ambari server.
{code}
ambari-server setup-nagios-https
{code}
The setup script uses the truststore path and password set in the
ambari.properties file.
{code}
ssl.trustStore.path
ssl.trustStore.password
{code}
If the values are not set then the user will be prompted to enter them.
6. Restart the Ambari server.
{code}
ambari-server restart
{code}
> Need https support for ganglia/nagios to be able to have https support
> throughout the stack.
> --------------------------------------------------------------------------------------------
>
> Key: AMBARI-2691
> URL: https://issues.apache.org/jira/browse/AMBARI-2691
> Project: Ambari
> Issue Type: Task
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira