<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari is overiding the config change in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123490#M86234</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/10104/shankarbagewadi.html" nodeid="10104"&gt;@Shankar B&lt;/A&gt;&lt;P&gt;On your ambari server, edit the nagios config file in this location: 
/var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/&lt;/P&gt;&lt;P&gt;This is the location where ambari stores the configuration files for nagios.&lt;/P&gt;&lt;P&gt;Once you have edited the file, restart the ambari-server process. This will push your new nagios changes to your nagios server. Then in ambari, restart the nagios service. You should now see your changes in the Nagios Admin UI.&lt;/P&gt;&lt;P&gt;We had a similiar case where we needed more than one contact in nagios. Updating the contacts.cfg.j2 on the ambari server pushed the new contacts into the nagios config and everything worked like a charm.&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2016 03:00:03 GMT</pubDate>
    <dc:creator>Jonathan_M_Maes</dc:creator>
    <dc:date>2016-05-05T03:00:03Z</dc:date>
    <item>
      <title>Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123485#M86229</link>
      <description>&lt;P&gt;I was configuring Nagios server. I modified the needed changes to the config file in config folder of Nagios by logging into node where Nagios server is installed. Upon restart of Nagios server through Ambari, the old config is restored overiding my changes.&lt;/P&gt;&lt;P&gt;Entire config file is not shown in Ambari so that I can make config changes for Nagios in ambari directly.&lt;/P&gt;&lt;P&gt; Please let me know how to prevent this.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 02:21:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123485#M86229</guid>
      <dc:creator>shankar_bagewad</dc:creator>
      <dc:date>2016-04-30T02:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123486#M86230</link>
      <description>&lt;P&gt;You are not supposed to edit config files manually. Use Ambari to make required change. If you can't see that property in corresponding service you can add new property under "Custom &amp;lt;file-name&amp;gt;" section.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 02:39:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123486#M86230</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2016-04-30T02:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123487#M86231</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10104/shankarbagewadi.html" nodeid="10104"&gt;@Shankar B&lt;/A&gt; can you please let us know what version of ambari are you using ? What is Nagios file that you need to change and kind of changes that you want to do ?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 04:16:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123487#M86231</guid>
      <dc:creator>jaimin</dc:creator>
      <dc:date>2016-04-30T04:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123488#M86232</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/465/jaimin.html" nodeid="465"&gt;@jaimin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am using Ambari 1.7.0 and Nagios Core 3&lt;/P&gt;&lt;P&gt;I need to setup email contacts and the commands to send a notification via email for every alert. In particular I am trying to update few parameters as mentioned here : &lt;/P&gt;&lt;P&gt;&lt;A href="https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html#contact"&gt;https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html#contact&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 04:20:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123488#M86232</guid>
      <dc:creator>shankar_bagewad</dc:creator>
      <dc:date>2016-04-30T04:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123489#M86233</link>
      <description>&lt;P&gt;All the Nagios files are deployed via python Jinja templates (https://github.com/apache/ambari/tree/branch-1.7.0/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates). &lt;/P&gt;&lt;P&gt;UI exposes some of the basic setting of these files but not entire files. &lt;/P&gt;&lt;P&gt;For doing advances changes in Nagios files, you will need to search these templates and change them directly on Nagios server host and on ambari-server host.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 04:31:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123489#M86233</guid>
      <dc:creator>jaimin</dc:creator>
      <dc:date>2016-04-30T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123490#M86234</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10104/shankarbagewadi.html" nodeid="10104"&gt;@Shankar B&lt;/A&gt;&lt;P&gt;On your ambari server, edit the nagios config file in this location: 
/var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/&lt;/P&gt;&lt;P&gt;This is the location where ambari stores the configuration files for nagios.&lt;/P&gt;&lt;P&gt;Once you have edited the file, restart the ambari-server process. This will push your new nagios changes to your nagios server. Then in ambari, restart the nagios service. You should now see your changes in the Nagios Admin UI.&lt;/P&gt;&lt;P&gt;We had a similiar case where we needed more than one contact in nagios. Updating the contacts.cfg.j2 on the ambari server pushed the new contacts into the nagios config and everything worked like a charm.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 03:00:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123490#M86234</guid>
      <dc:creator>Jonathan_M_Maes</dc:creator>
      <dc:date>2016-05-05T03:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123491#M86235</link>
      <description>&lt;P&gt;Thanks a lot! This helped me a lot&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 03:09:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123491#M86235</guid>
      <dc:creator>shankar_bagewad</dc:creator>
      <dc:date>2016-05-05T03:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123492#M86236</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 03:09:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123492#M86236</guid>
      <dc:creator>shankar_bagewad</dc:creator>
      <dc:date>2016-05-05T03:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is overiding the config change</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123493#M86237</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 03:10:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-is-overiding-the-config-change/m-p/123493#M86237</guid>
      <dc:creator>shankar_bagewad</dc:creator>
      <dc:date>2016-05-05T03:10:05Z</dc:date>
    </item>
  </channel>
</rss>

