You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/10/16 14:22:34 UTC

[jira] [Commented] (AMBARI-7788) Nagios password can be changed on the UI, but it's not reflected in Nagios Web itself (the password never updates)

    [ https://issues.apache.org/jira/browse/AMBARI-7788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173675#comment-14173675 ] 

Hudson commented on AMBARI-7788:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0 #112 (See [https://builds.apache.org/job/Ambari-branch-1.7.0/112/])
AMBARI-7788. Nagios password can be changed on the UI, but it's not reflected in Nagios Web itself (the password never updates) (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7df59aa3f38149f2386aa086a7aaac2c06ee6c9a)
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py
* ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py
* ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py
* ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py
* ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/NAGIOS/package/scripts/nagios.py


> Nagios password can be changed on the UI, but it's not reflected in Nagios Web itself (the password never updates)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7788
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7788
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.7.0
>
>
> STR:
>   * Deploy cluster with Nagios
>   * Go to Services > Nagios > Configs
>   * Change the password
>   * Restart Nagios
>   * Go to Services > Nagios > QuickLinks to access Nagios Web
>   * You cannot log in with the new password (the original password still works).
> Analysis:  
> Ambari is not updating /etc/nagios/htpasswd.users file when Nagios is
> restarted.
> Workaround:  
> If the user forgot the original password, then the password must be manually
> reset on the host where Nagios resides.
>     
>     
>     
>     htpasswd /etc/nagios/htpasswd.users <nagios-admin-username> <new-password>
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)