Plugins.Output.Nagios
index

NagiosThread is running in the background wainting for an nagios server to connect.
If connected, check if the server is allowed to acess (defined in the health logic file).
If he's allowed, check if the nagios service he' requests for is known.
If yes, return it's vaule to nagios, if not return unknow
 
You could ajust the port on whitch gnmond is listening for ganglia

 
Modules
       
socket
threading

 
Classes
       
threading.Thread(threading._Verbose)
NagiosThread

 
class NagiosThread(threading.Thread)
    Thread waiting for incoming connection over udp
 
 
Method resolution order:
NagiosThread
threading.Thread
threading._Verbose
__builtin__.object

Methods defined here:
__init__(self, serverList, logger)
run(self)

Methods inherited from threading.Thread:
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
join(self, timeout=None)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data and other attributes inherited from threading._Verbose:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of '_Verbose' objects>
list of weak references to the object (if defined)

 
Functions
       
getName()
String getName
return my name
getThread(serverList, logger)
threading.Thread getThread(list serverList,GnmondLogger logger)
returns a thread object that will be used by Gnmond

 
Data
        PORT = 21000
services = []