You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/03/27 20:30:04 UTC

Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 60c8298 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 7ca5512 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py f786eed 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py be5c23e 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/#review40548
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On April 16, 2014, 1:34 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19746/
> -----------------------------------------------------------
> 
> (Updated April 16, 2014, 1:34 p.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.
> 
> 
> Bugs: AMBARI-3962
>     https://issues.apache.org/jira/browse/AMBARI-3962
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
> Check for running daemon and found it is not started.
> Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/hook.py 4ee2214 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py 4ee2214 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
>   ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 
> 
> Diff: https://reviews.apache.org/r/19746/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

(Updated April 16, 2014, 1:34 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs (updated)
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/hook.py 4ee2214 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py 4ee2214 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/#review39884
-----------------------------------------------------------


please provide details on what has been fixed in latest patches. Can not find details in jira

- Dmitro Lisnichenko


On April 9, 2014, 11:08 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19746/
> -----------------------------------------------------------
> 
> (Updated April 9, 2014, 11:08 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.
> 
> 
> Bugs: AMBARI-3962
>     https://issues.apache.org/jira/browse/AMBARI-3962
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
> Check for running daemon and found it is not started.
> Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 2db9b4b 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 9b16c84 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 341d86f 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py c76c028 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 9b16c84 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
>   ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py 09d77d4 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 
> 
> Diff: https://reviews.apache.org/r/19746/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/#review39888
-----------------------------------------------------------



ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py
<https://reviews.apache.org/r/19746/#comment72640>

    This should be done during START to handle stack upgrade scenario


- Dmitro Lisnichenko


On April 9, 2014, 11:08 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19746/
> -----------------------------------------------------------
> 
> (Updated April 9, 2014, 11:08 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.
> 
> 
> Bugs: AMBARI-3962
>     https://issues.apache.org/jira/browse/AMBARI-3962
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
> Check for running daemon and found it is not started.
> Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 2db9b4b 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 9b16c84 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 341d86f 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py c76c028 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 9b16c84 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
>   ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py 09d77d4 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 
> 
> Diff: https://reviews.apache.org/r/19746/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

(Updated April 9, 2014, 11:08 a.m.)


Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs (updated)
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 2db9b4b 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 9b16c84 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 341d86f 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py c76c028 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 9b16c84 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py 09d77d4 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/#review39160
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On March 28, 2014, 12:20 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19746/
> -----------------------------------------------------------
> 
> (Updated March 28, 2014, 12:20 p.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.
> 
> 
> Bugs: AMBARI-3962
>     https://issues.apache.org/jira/browse/AMBARI-3962
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
> Check for running daemon and found it is not started.
> Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 60c8298 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 3530444 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 7ca5512 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py f786eed 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 3530444 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
>   ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
>   ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
>   ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py be5c23e 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 
> 
> Diff: https://reviews.apache.org/r/19746/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

(Updated March 28, 2014, 12:20 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs (updated)
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 60c8298 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 7ca5512 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py f786eed 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py be5c23e 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

(Updated March 28, 2014, 12:18 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs (updated)
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 60c8298 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 7ca5512 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py f786eed 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py be5c23e 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

(Updated March 27, 2014, 8:15 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 60c8298 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 7ca5512 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py f786eed 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py be5c23e 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk


Re: Review Request 19746: Ambari starting SNMPD during the installation, but not set it to autostart on boot.

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19746/
-----------------------------------------------------------

(Updated March 27, 2014, 7:38 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Sid Wagle.


Bugs: AMBARI-3962
    https://issues.apache.org/jira/browse/AMBARI-3962


Repository: ambari


Description
-------

Just discovered, that after NN failover (as expected) Nagios can not communicate to it over SNMP.
Check for running daemon and found it is not started.
Need to add snmpd to autostart, Ambari should issue "chkconfig snmpd on" after snmp rpm installation.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py fa19ca3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py 4e51c17 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/params.py 60c8298 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/scripts/shared_initialization.py c5828d3 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py 51e5cd2 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py 7ca5512 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py f786eed 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/templates/snmpd.conf.j2 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py f1ef84a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py 3ffcc76 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/snmpd.conf.j2 3530444 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/scripts/nagios.py ffa65fe 
  ambari-server/src/test/python/stacks/1.3.2/NAGIOS/test_nagios_server.py 48f1ca3 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-INSTALL/test_before_install.py 3867f48 
  ambari-server/src/test/python/stacks/1.3.2/hooks/before-START/test_before_start.py 2663839 
  ambari-server/src/test/python/stacks/2.0.6/NAGIOS/test_nagios_server.py 7af8e36 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py be5c23e 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-START/test_before_start.py 88448e6 

Diff: https://reviews.apache.org/r/19746/diff/


Testing
-------


Thanks,

Andrew Onischuk