Description of problem: nagios_server.conf file gets overridden when nagios is updated. Version-Release number of selected component (if applicable): nagios-server-addons-0.1.2-1.el6rhs.x86_64 gluster-nagios-addons-0.1.2-1.el6rhs.x86_64 How reproducible: Always Steps to Reproduce: 1. Add the latest repo to the existing nagios server and nodes. 2. Do an yum install of the latest rpms. 3. Actual results: /etc/nagios/nagios_server.conf is overridden. Expected results: /etc/nagios/nagios_server.conf should not be overriden. Additional info:
Upstream patch : http://review.gluster.org/#/c/8221/
In nrpe.cfg file on the node , user can configure the warning and critical levels for the services. User configured values gets overriden when gluster-nagios-addons is updated. AFAIK, these values should not be overriden. Please let me know if you think otherwise.
I am not sure this is the suggested way to configure threshold. This configuration will be host specific if we do it nrpe.cfg. Its better to do it in the Nagios server side configurations. But currently we don't have this capability in server side too.
From kanagaraj, i understand that these bugs have been moved to on_qa by errata. Since QE has not yet received the build i am moving this bug back to assigned state. Please move it on to on_qa once builds are attached to errata.
Verified and works fine with build gluster-nagios-addons-0.1.12-1.el6rhs.x86_64. Installed nagios 3.0.2 from live. Added the 3.0.3 nagios repo Performed an yum update. /etc/nagios/nagios_server.conf does not get replaced.
Doc text not required as this issue was never faced by the customer. It applicable only during upgrade and that is fixed with the first upgrade (3.0.3).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0039.html