Bug 35265 - Migrate nagios services to UCS 4
Migrate nagios services to UCS 4
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
UCS 4.0
Other Linux
: P5 enhancement (vote)
: UCS 4.0
Assigned To: Alexander Kramer
Felix Botner
: interim-1
: 37672 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-06 16:28 CEST by Stefan Gohmann
Modified: 2015-09-15 10:26 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-07-06 16:28:59 CEST
The following packages should be migrated to UCS 4:

 univention-nagios
 univention-nagios-ad-connector
 univention-nagios-raid
 univention-nagios-servicechecks
 univention-nagios-smart
 univention-nagios-virtualization

Please consider the package migration list:

https://hutten.knut.univention.de/mediawiki/index.php/UCS-4.0_Univention_Package_Update
Comment 1 Alexander Kramer univentionstaff 2014-08-21 13:35:39 CEST
Migrated alle packages.

Some information about the adpated ucr templates:

./univention-nagios/conffiles/etc/init.d/nagios3
# I added the check()-method and extended the case block instead of renaming the status()-method. Looked like both are needed in wheezy

./univention-nagios/conffiles/etc/init.d/nagios-nrpe-server
# I adapted the case block and kept the univention specific part

./univention-nagios/conffiles/etc/nagios3/apache2.conf
# I added the index.php at second place, because I found it in /usr/share/nagios3/htdocs. But i'm unsure about it.

I didn't touch all 'univention' specific conffiles and also not:
./univention-nagios/conffiles/etc/security/access-nagios.conf and
./univention-nagios/conffiles/etc/pam.d/nagios
Comment 2 Alexander Kramer univentionstaff 2014-08-21 14:49:16 CEST
Successful build
Package: univention-nagios
Version: 8.0.0-1.266.201408211358

Package: univention-nagios-ad-connector
Version: 4.0.0-1.21.201408211406

Package: univention-nagios-raid
Version: 4.0.0-1.25.201408211413

Package: univention-nagios-servicechecks
Version: 4.0.0-1.29.201408211419

Package: univention-nagios-virtualization
Version: 3.0.0-1.10.201408211431

Package: univention-nagios-smart
Version: 4.0.0-2.26.201408211440
Comment 3 Stefan Gohmann univentionstaff 2014-08-25 08:32:23 CEST
I've added a changelog for all migrated packages: r52983
Comment 4 Felix Botner univentionstaff 2014-08-27 11:25:11 CEST
FAIL - univention-nagios-raid, /usr/lib/nagios/plugins/check_linux_raid is 
       no longer part of nagios-plugins-standard (maybe we have to use
       /usr/lib/nagios/plugins/check_raid from nagios-plugins-contrib?)

OK - univention-nagios
OK - univention-nagios-ad-connector
OK - univention-nagios-servicechecks
OK - univention-nagios-smart
OK - univention-nagios-virtualization

OK - Changelog
Comment 5 Alexander Kramer univentionstaff 2014-09-02 10:08:54 CEST
Adapted univention-nagios-raid as suggested:

r53224
Version: 4.0.0-2
   * Using check_raid from nagios-plugins-contrib
   * instead of check_linux_raid (Bug #35265)

Successful build
Package: univention-nagios-raid
Version: 4.0.0-2.26.201409020951
Comment 6 Felix Botner univentionstaff 2014-09-02 10:44:12 CEST
OK - univention-nagios-raid
Comment 7 Alexander Kramer univentionstaff 2014-09-11 09:05:02 CEST
r53588:
I increased the join script version number:

Successful build
Package: univention-nagios-raid
Version: 4.0.0-3.27.201409110850
Branch: ucs_4.0-0
Comment 8 Stefan Gohmann univentionstaff 2014-11-26 06:54:37 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

If this error occurs again, please use "Clone This Bug".
Comment 9 Daniel Tröder univentionstaff 2015-09-15 10:26:50 CEST
*** Bug 37672 has been marked as a duplicate of this bug. ***