Your message dated Sun, 11 Dec 2016 19:03:24 +0000
with message-id <[email protected]>
and subject line Bug#846875: fixed in djagios 0.1.3+dfsg-8
has caused the Debian Bug report #846875,
regarding djagios: Don't depend on nagios3 which has been removed from unstable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
846875: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846875
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: djagios
Version: 0.1.3+dfsg-7
Severity: normal
Tags: patch
User: [email protected]
Usertags: nagios3-rm

Dear Maintainer,

Please update your package to deal with the nagios3 removal from Debian
(#845765).

Consider applying the attached patch.

Kind Regards,

Bas
diff -Nru djagios-0.1.3+dfsg/debian/changelog djagios-0.1.3+dfsg/debian/changelog
--- djagios-0.1.3+dfsg/debian/changelog	2016-09-24 23:58:51.000000000 +0200
+++ djagios-0.1.3+dfsg/debian/changelog	2016-12-03 22:09:12.000000000 +0100
@@ -1,3 +1,10 @@
+djagios (0.1.3+dfsg-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't depend on nagios3 which has been removed from Debian.
+
+ -- Bas Couwenberg <[email protected]>  Sat, 03 Dec 2016 22:08:53 +0100
+
 djagios (0.1.3+dfsg-7) unstable; urgency=medium
 
   * debian/control:
diff -Nru djagios-0.1.3+dfsg/debian/control djagios-0.1.3+dfsg/debian/control
--- djagios-0.1.3+dfsg/debian/control	2016-09-24 23:58:51.000000000 +0200
+++ djagios-0.1.3+dfsg/debian/control	2016-12-03 22:08:49.000000000 +0100
@@ -20,7 +20,7 @@
          python-mysqldb | python-pysqlite2 | python-psycopg2
 Recommends: apache2,
             libapache2-mod-wsgi | libapache2-mod-python
-Suggests: nagios3
+Suggests: icinga
 XB-Python-Version: ${python:Versions}
 Description: tool to help configure nagios written in Django
  Djagios is an open source Nagios web based configuration tool with a complete
diff -Nru djagios-0.1.3+dfsg/debian/patches/icinga.patch djagios-0.1.3+dfsg/debian/patches/icinga.patch
--- djagios-0.1.3+dfsg/debian/patches/icinga.patch	1970-01-01 01:00:00.000000000 +0100
+++ djagios-0.1.3+dfsg/debian/patches/icinga.patch	2016-12-03 22:08:43.000000000 +0100
@@ -0,0 +1,103 @@
+Description: Update default paths for icinga on Debian.
+Author: Bas Couwenberg <[email protected]>
+
+--- a/djagios/core/models.py
++++ b/djagios/core/models.py
+@@ -1172,23 +1172,23 @@ class NagiosCfg(NagiosObject, models.Mod
+     FILE_NAME = 'nagios.cfg'
+     server_name = models.CharField(max_length=255, default='localhost', unique=True)
+     log_file = models.ForeignKey(CfgPath, related_name='NC_lf_CP',\
+-            default=lambda : CfgPath.get('/var/log/nagios/nagios.log').id)
++            default=lambda : CfgPath.get('/var/log/icinga/icinga.log').id)
+     cfg_file = models.ManyToManyField(CfgPath, related_name='NC_cfg_file_CP',\
+             blank=True,null=True)
+     cfg_dir = models.ManyToManyField(CfgPath, related_name='NC_cfg_dir_CP',\
+             blank=True,null=True)
+     object_cache_file = models.ForeignKey(CfgPath, related_name='NC_ocf_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/objects.cache').id)
++            default=lambda : CfgPath.get('/var/cache/icinga/objects.cache').id)
+     precached_object_file = models.ForeignKey(CfgPath, related_name='NC_pof_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/objects.precache').id)
++            default=lambda : CfgPath.get('/var/cache/icinga/objects.precache').id)
+     resource_file = models.ForeignKey(CfgPath, related_name='NC_rf_CP',\
+-            default=lambda : CfgPath.get('/etc/nagios/resource.cfg').id)
++            default=lambda : CfgPath.get('/etc/icinga/resource.cfg').id)
+     temp_file = models.ForeignKey(CfgPath, related_name='NC_tf_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/nagios.tmp').id)
++            default=lambda : CfgPath.get('/var/cache/icinga/icinga.tmp').id)
+     temp_path = models.ForeignKey(CfgPath, related_name='NC_tp_CP',\
+             default=lambda : CfgPath.get('/tmp').id)
+     status_file = models.ForeignKey(CfgPath, related_name='NC_sf_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/status.dat').id)
++            default=lambda : CfgPath.get('/var/lib/icinga/status.dat').id)
+     status_update_interval = models.IntegerField(default=1)
+     nagios_user = models.CharField(max_length=20, default='nagios')
+     nagios_group = models.CharField(max_length=20, default='nagios')
+@@ -1200,19 +1200,19 @@ class NagiosCfg(NagiosObject, models.Mod
+     enable_event_handlers = models.NullBooleanField(blank=True,null=True)
+     log_rotation_method = models.CharField(max_length=1, choices=LOG_ROTATION_METHODS, default='n')
+     log_archive_path = models.ForeignKey(CfgPath, related_name='NC_laf_CP',\
+-            default=lambda : CfgPath.get('/var/log/nagios/archives').id)
++            default=lambda : CfgPath.get('/var/log/icinga/archives').id)
+     check_external_commands = models.NullBooleanField(blank=True,null=True)
+     command_check_interval = models.IntegerField(default=1)
+     command_file = models.ForeignKey(CfgPath, related_name='NC_cf_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/rw/nagios.cmd').id)
++            default=lambda : CfgPath.get('/var/lib/icinga/rw/icinga.cmd').id)
+     external_command_buffer_slots = models.IntegerField(default=512)
+     check_for_updates = models.NullBooleanField(blank=True,null=True)
+     bare_update_checks = models.NullBooleanField(default=False)
+     lock_file = models.ForeignKey(CfgPath, related_name='NC_lckf_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/rw/nagios.cmd').id)
++            default=lambda : CfgPath.get('/var/lib/icinga/rw/icinga.cmd').id)
+     retain_state_information = models.NullBooleanField(blank=True,null=True)
+     state_retention_file = models.ForeignKey(CfgPath, related_name='NC_srf_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/retention.dat').id)
++            default=lambda : CfgPath.get('/var/cache/icinga/retention.dat').id)
+     retention_update_interval = models.IntegerField(default=60)
+     use_retained_program_state = models.NullBooleanField(blank=True,null=True)
+     use_retained_scheduling_info = models.NullBooleanField(blank=True,null=True)
+@@ -1242,7 +1242,7 @@ class NagiosCfg(NagiosObject, models.Mod
+     check_result_reaper_frequency = models.IntegerField(default=10)
+     max_check_result_reaper_time = models.IntegerField(default=60)
+     check_result_path = models.ForeignKey(CfgPath, related_name='NC_crp_CP',\
+-            default=lambda : CfgPath.get('/var/nagios/spool/checkresults').id)
++            default=lambda : CfgPath.get('/var/lib/icinga/spool/checkresults').id)
+     max_check_result_file_age = models.IntegerField(default=3600)
+     # users can insert a choice or a proper value. This is why we keep it as a charfield
+     host_inter_check_delay_method = models.CharField(max_length=6)
+@@ -1329,7 +1329,7 @@ class NagiosCfg(NagiosObject, models.Mod
+             choices=(('0','basic'),('1','detailed'),('1','extreme')))
+     max_debug_file_size = models.IntegerField(default=1000000)
+     p1_file = models.ForeignKey(CfgPath, related_name='NC_p1f_CP',\
+-            default=lambda : CfgPath.get('/usr/bin/p1.pl').id)
++            default=lambda : CfgPath.get('/usr/lib/icinga/p1.pl').id)
+     daemon_dumps_core = models.NullBooleanField(default=False)
+     bare_update_check = models.NullBooleanField(default=False)
+ 
+--- a/djagios/common/utils.py
++++ b/djagios/common/utils.py
+@@ -52,9 +52,9 @@ class Exporter():
+         # creating the objects dir
+         if not os.path.exists(os.path.join(path, 'objects')):
+             os.mkdir(os.path.join(path, 'objects'))
+-        # removing previous nagios.cfg
+-        if os.path.exists(os.path.join(path, 'nagios.cfg')):
+-            os.remove(os.path.join(path, 'nagios.cfg'))
++        # removing previous icinga.cfg
++        if os.path.exists(os.path.join(path, 'icinga.cfg')):
++            os.remove(os.path.join(path, 'icinga.cfg'))
+         OBJECT_LIST = (Host, HostGroup, Service, ServiceGroup, Command, TimePeriod,\
+                 Contact, ContactGroup,)
+         for o in OBJECT_LIST:
+--- a/djagios/import.py
++++ b/djagios/import.py
+@@ -759,7 +759,7 @@ if __name__ == '__main__':
+                     help="Submit the server name for the config"),
+         make_option("-p", "--path",
+                     action="store", dest="path",
+-                    default='/etc/nagios/nagios.cfg',
++                    default='/etc/icinga/icinga.cfg',
+                     help="Path of the main configuration file."),
+         make_option("-d", "--debuglevel",
+                     action="store", dest="debuglevel",
diff -Nru djagios-0.1.3+dfsg/debian/patches/series djagios-0.1.3+dfsg/debian/patches/series
--- djagios-0.1.3+dfsg/debian/patches/series	2015-11-09 12:25:05.000000000 +0100
+++ djagios-0.1.3+dfsg/debian/patches/series	2016-12-03 22:00:33.000000000 +0100
@@ -1 +1,2 @@
 0001-Remove-version-from-jquery.min.js-include.patch
+icinga.patch

--- End Message ---
--- Begin Message ---
Source: djagios
Source-Version: 0.1.3+dfsg-8

We believe that the bug you reported is fixed in the latest version of
djagios, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Giovani Augusto Ferreira <[email protected]> (supplier of updated djagios 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 11 Dec 2016 15:17:44 -0200
Source: djagios
Binary: djagios
Architecture: source all
Version: 0.1.3+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Giovani Augusto Ferreira <[email protected]>
Changed-By: Giovani Augusto Ferreira <[email protected]>
Description:
 djagios    - tool to help configure nagios written in Django
Closes: 846875
Changes:
 djagios (0.1.3+dfsg-8) unstable; urgency=medium
 .
   * Don't depend on nagios3 which has been removed from Debian.
     Thank's to Bas Couwenberg <[email protected]> for the patch.
     (Closes: #846875)
   * debian/control:
       - Bumped to DH 10.
       - Replaced nagios3 to icinga in Suggests field.
   * debian/patches/icinga.patch
       - Created to set default paths for icinga in Debian.
Checksums-Sha1:
 85c477d3b9577ff09b679b25a5742d539081b78c 1921 djagios_0.1.3+dfsg-8.dsc
 9bd005ebd4f702b638d1bc44533a214d1d08f336 4772 
djagios_0.1.3+dfsg-8.debian.tar.xz
 bf99a67846336feac0e5e048cffc0a25d9bbd06d 38148 djagios_0.1.3+dfsg-8_all.deb
 7d1c451cade1c41edc68ce2947250fbad319d64b 5309 
djagios_0.1.3+dfsg-8_amd64.buildinfo
Checksums-Sha256:
 f2baf77e5475c13415ace8fe63d82997968eac95587024f5152b5f5a1249b2ae 1921 
djagios_0.1.3+dfsg-8.dsc
 b62a0b8793a566fd57d4e2a8963abd0bdb06499e99dd3972f7d54d5e77cc79ce 4772 
djagios_0.1.3+dfsg-8.debian.tar.xz
 6d908122548fd2c0817883b32988d91f26665ef7831bea83f5b6b8658e94fa53 38148 
djagios_0.1.3+dfsg-8_all.deb
 d0a274f3922e9e12780ea9c5c10702c1345f5c4262243a8e71356e773e0f3c37 5309 
djagios_0.1.3+dfsg-8_amd64.buildinfo
Files:
 c43c883f5f71495a7b2ff39a862b8c07 1921 admin optional djagios_0.1.3+dfsg-8.dsc
 54707e166ac2bcea3104038ef607a819 4772 admin optional 
djagios_0.1.3+dfsg-8.debian.tar.xz
 edb9f22f40e63d1fd4309e1269911cbe 38148 admin optional 
djagios_0.1.3+dfsg-8_all.deb
 d29a9054e1dc80ecea81fb19b9d26478 5309 admin optional 
djagios_0.1.3+dfsg-8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEs/UaJxJhnD7NdLjheElO9yN1pmwFAlhNmWMACgkQeElO9yN1
pmzOfRAAznuiwaxL/y82lpDVv8U/56sm8s8/jo0xBXm3fZ13Hn71i2nAJCzNSYB7
mnWxy73uOm8eygYbdnUiep4c8aGQWPg+PZXBdrsAoIhBUInURRR19JMeaHVk8+dZ
wMM9UKZ5gWhFjGqBALuwgCw/dCJG9+V45qsX90uQI+WHkk3PVxBQ5DbYLj25rXy/
w09ffPozNArJJLUTy6bNfEsMTrVfrmOskfM7tENFOP2aSh+JvMsx+DQQbGOwd0up
i8LE9cAxBVAZF0OzMHmLpeGh/iF3gpMhtvxAdOpxgiuolzYY69jGVkMuM3/2gUfo
wsdZ7yHfQ2pkqyXSSSiHeGiHw+RrWSmKI+Gn/tq4xsm5gkeSld0HKFk82OumbCyO
KgrX8lcsOtD9SrOstZ9meGyilM5+GZOvfM/kJPgo/oZ/ZMFj1ULkZxfvSGy+dtBX
59p+70quDb5n6aYlaQyNy5oDgqcmkrEyoK0cdyR6pqVCCjYuUN2up6Drcaq37YDz
PHJ6cxQpEyXveAKBKncJzWKyhcX6HF7mVo2BochZUVX/VkZ2VjhfkW+x7C2QwL9y
AZwxmdnk106UGgMUoIDOA1xg5iAriya2bd39lZf/8NzIobd1nWbTMeSpydajXRqJ
L0R+y//+UiI54xZ/g3Oi23y1pG6kaZGF4Psft4Wi2kaXjWvoRWE=
=RUro
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to