[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Nicolas DUPEUX nicolas.dupeux at arkea.com
Tue Feb 28 22:21:12 UTC 2012


The following commit has been merged in the debian/master branch:
commit 2d57c467f1806ecd188775a0fc883744446c7a0f
Author: Nicolas DUPEUX <nicolas.dupeux at arkea.com>
Date:   Thu Feb 16 17:47:09 2012 +0100

    Remove useless code

diff --git a/shinken/modules/nsca.py b/shinken/modules/nsca.py
index f924e76..113b359 100644
--- a/shinken/modules/nsca.py
+++ b/shinken/modules/nsca.py
@@ -90,19 +90,6 @@ class NSCA_arbiter(BaseModule):
         self.rng = random.Random(password)
         self.max_packet_age = max_packet_age
 
-
-    #Ok, main function that is called in the CONFIGURATION phase
-    def get_objects(self):
-        print "[Dummy] ask me for objects to return"
-        r = {'hosts' : []}
-        h = {'name' : 'dummy host from dummy arbiter module',
-             'register' : '0',
-             }
-
-        r['hosts'].append(h)
-        print "[Dummy] Returning to Arbiter the hosts:", r
-        return r
-
     def send_init_packet(self, socket):
         '''
         Build an init packet

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list