Bug 1107997 - [Nagios] - nagios_server.conf gets overridden when updating nagios server and nodes with the latest rpms.
Summary: [Nagios] - nagios_server.conf gets overridden when updating nagios server and...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nagios-addons
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.0.3
Assignee: Ramesh N
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-11 09:15 UTC by RamaKasturi
Modified: 2015-05-13 17:41 UTC (History)
4 users (show)

Fixed In Version: gluster-nagios-addons-0.1.11-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Cause: TBD Consequence: TBD Workaround (if any): Result:
Clone Of:
Environment:
Last Closed: 2015-01-15 13:47:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1115392 0 high CLOSED [Nagios] - When nagios-server-addons rpm is updated, email and snmp config files gets overriden. 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:0039 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update #3 2015-01-15 18:46:40 UTC

Internal Links: 1115392

Description RamaKasturi 2014-06-11 09:15:14 UTC
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:

Comment 1 Ramesh N 2014-07-02 07:26:33 UTC
Upstream patch : http://review.gluster.org/#/c/8221/

Comment 2 RamaKasturi 2014-07-14 05:36:44 UTC
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.

Comment 3 Ramesh N 2014-07-17 07:19:27 UTC
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.

Comment 6 RamaKasturi 2014-10-17 05:41:01 UTC
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.

Comment 7 RamaKasturi 2014-11-12 09:50:50 UTC
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.

Comment 8 Ramesh N 2014-11-24 07:23:13 UTC
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).

Comment 10 errata-xmlrpc 2015-01-15 13:47:57 UTC
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


Note You need to log in before you can comment on or make changes to this bug.