Simple Acknowledge class diagram :
Simple Action class diagram :
Simple AutoSlots class diagram :
Simple BaseModule class diagram :
Simple Borg class diagram :
Simple Brok class diagram :
Simple CherryPyBackend class diagram :
Simple Comment class diagram :
Simple ComplexExpressionFactory class diagram :
Simple ComplexExpressionNode class diagram :
Simple ContactDowntime class diagram :
Simple Daemon class diagram :
Simple Daterange class diagram :
Simple DB class diagram :
Simple declared class diagram :
Simple DependencyNode class diagram :
Simple DependencyNodeFactory class diagram :
Simple Dispatcher class diagram :
Simple Downtime class diagram :
Simple DummyCommandCall class diagram :
Simple ExternalCommand class diagram :
Simple ExternalCommandManager class diagram :
Simple Graph class diagram :
Simple HTTPClient class diagram :
Simple HTTPDaemon class diagram :
Simple Load class diagram :
Simple Log class diagram :
Simple memoized class diagram :
Simple Message class diagram :
Simple ModulesContext class diagram :
Simple ModulesManager class diagram :
Simple ModulePhases class diagram :
Simple Property class diagram :
Simple SatelliteLink class diagram :
Simple Scheduler class diagram :
Simple SortedDict class diagram :
Simple Timerange class diagram :
Simple Worker class diagram :
Simple WSGIREFBackend class diagram :
Allows you to acknowledge the current problem for the specified service. By acknowledging the current problem, future notifications (for the same servicestate) are disabled.
Bases: shinken.satellitelink.SatelliteLink
Bases: shinken.satellitelink.SatelliteLinks
alias of ArbiterLink
The AutoSlots Class is a MetaClass: it manages how other classes are created (Classes, not instances of theses classes). Here it’s role is to create the __slots__ list of the class with all properties of Class.properties and Class.running_properties so we do not have to add manually all properties to the __slots__ list when we add a new entry
This python module contains the class BaseModule that shinken modules will subclass
Bases: object
This is the base class for the shinken modules. Modules can be used by the different shinken daemons/services for different tasks. Example of task that a shinken module can do:
- load additional configuration objects.
- recurrently save hosts/services status/perfdata informations in different format.
- ...
The manager is None on android, but a true Manager() elsewhere Create the shared queues that will be used by shinken daemon process and this module process. But clear queues if they were already set before recreating new one.
For external modules only: implement in this method the body of you main loop
Called just before the module will exit Put in this method all you need to cleanly release all open resources used by your module
Handle this module “post” init ; just before it’ll be started. Like just open necessaries file(s), database(s), or whatever the module will need.
Request the module to manage the given brok. There a lot of different possible broks to manage.
module “main” method. Only used by external modules.
This file is to be imported by every Shinken service component: Arbiter, Scheduler, etc. It just checks for the main requirement of Shinken.
Bases: shinken.satellitelink.SatelliteLink
TODO: Add some comment about this class for the doc
Bases: shinken.satellitelink.SatelliteLinks
TODO: Add some comment about this class for the doc
alias of BrokerLink
Bases: shinken.action.Action
ODO: Add some comment about this class for the doc
return a copy of the check but just what is important for execution So we remove the ref and all
Bases: shinken.commandcall.DummyCommandCall
This class is use when a service, contact or host define a command with args.
We want to get the command and the args with ! splitting. but don’t forget to protect against the ! to do not split them
Bases: object
Bases: shinken.daterange.Daterange
Bases: shinken.daterange.Daterange
Bases: shinken.daterange.Daterange
Bases: shinken.daterange.Daterange
Bases: shinken.daterange.Daterange
Bases: shinken.daterange.Daterange
Bases: object
DB is a generic class for SQL Database
Create a INSERT query in table with all data of data (a dict)
Bases: shinken.db.DB
DBMysql is a MySQL access database class
Bases: shinken.db.DB
Manage connection and query execution against Oracle databases.
This is the class of the dispatcher. Its role is to dispatch configurations to other elements like schedulers, reactionner, pollers, receivers and brokers. It is responsible for high availability part. If an element dies and the element type has a spare, it sends the config of the dead one to the spare
- (
- ) (
- ___...(——-)-....___
.-“” ) ( “”-.
.-‘``’|-._ ) _.-|
/ .–.| “”—...........—”“ |
/ / | | | | | |
_..—”“` /`“”—.._
.-‘ / ‘-.
: `-.__ __.-‘ : : ) “”—...—”” ( :
‘._ “–...___...–” _.’
Bases: shinken.action.Action