Enhancement #3254

Execute initial commit of Nagios configuration

Added by Davide Principi almost 6 years ago. Updated almost 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-adagios
Target version:v6.6
Resolution: NEEDINFO:No

Description

Perform a ``git commit`` of the inital Nagios configuration, at the end of the YUM transaction where nethserver-adagios is installed.


Related issues

Related to NethServer 6 - Enhancement #3250: OCS Inventory LDAP authentication CLOSED
Related to NethServer 6 - Bug #3255: Adagios: the admin contact is not defined CLOSED

Associated revisions

Revision 8cd7c077
Added by Davide Principi almost 6 years ago

Execute git commit on nagios configuration directory at the end of YUM transaction.

This allows other packeges to generate .cfg files for Nagios and
partecipate to the initial state of Nagios configuration.

Revision 951667a9
Added by Davide Principi almost 6 years ago

Fixed nethserver-adagios-firstcommit action. Refs #3254

Revision 8916c41a
Added by Davide Principi almost 6 years ago

Hotfix Release 1.0.1-2

Limit nagios recursive chown to /etc/nagios/.git. Refs #3254

History

#1 Updated by Davide Principi almost 6 years ago

  • Status changed from TRIAGED to MODIFIED
  • % Done changed from 20 to 60

MODIFIED

https://github.com/NethServer/nethserver-adagios/commit/8cd7c077f6b739729c8ac74471a506f3ecd155be

Test case

After installing the modified version from scratch

  • move into /etc/nagios/ dir
  • git log should report the Initial commit only

#2 Updated by Davide Principi almost 6 years ago

#3 Updated by Davide Principi almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing/6.6:
nethserver-adagios-1.0.0-1.2.g8cd7c07.ns6.noarch.rpm
nethserver-adagios-1.0.0-1.3.g951667a.ns6.noarch.rpm

#4 Updated by Giacomo Sanchietti almost 6 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

After installing the package:

[root@localhost ~]# cd /etc/nagios/
[root@localhost nagios]# git log
commit 04df2431415d21d94ab99f4b49f98da82fbcd381
Author: root <root@localhost.localdomain>
Date:   Thu Apr 2 06:40:03 2015 +0000

    Initial commit on installation

#6 Updated by Davide Principi almost 6 years ago

  • Related to Bug #3255: Adagios: the admin contact is not defined added

#7 Updated by Giacomo Sanchietti almost 6 years ago

Release in nethserver-updates:
  • nethserver-adagios-1.0.1-1.ns6.noarch.rpm

#8 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Also available in: Atom PDF