Hello Yusaku,
I’m using ambari 1.6. i will try your recomendation and modify the nagios.cfg.j2 file in the directory /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates. Let you know about the result.
Thanks, really appreciated.