What version of Ambari are you using?
If it’s 1.5.0 or greater, you should be modifying /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates on the Ambari Server if you are using HDP 2.0.6 or HDP 2.1. You need to restart ambari-server and then restart Nagios via the Web UI after making template file changes.
If it’s an older version of Ambari, then you need to modify the directory you mentioned, but you have to do it on the Nagios Server host.
I hope this helps.
↧
Reply To: Ambari – nagios configuration
↧