1
I Use This!
Inactive

Commits : Listings

Analyzed about 3 hours ago. based on code collected about 23 hours ago.
Oct 21, 2024 — Oct 21, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Just code clean for broker name to instance.
nap
More... almost 16 years ago
*Code of module is now in modulesmanager to be factorized. So now Broker do not know how modules are managed. He just add for queue or to manage broks.
nap
More... almost 16 years ago
Begin to change 'broker' of module to a better name : module instance. Also add a properties to module, htat is add to instances too.
nap
More... almost 16 years ago
Very little code clean
nap
More... almost 16 years ago
*Change in the modules capabilities : now they can be in their own directory, in addition to the old simple file. It's cleaner to do this : the import thing is done with the __init__.py file, that try to import the code of the other .py (an send None if import failed like with bad dependancies). So bigger modules can be written : it can be more than one file in a module directory, so now we can make trully clean module code :) *So I move current module to this new way. *The modulemanager now catch error of bad import of such directories (Warning).
nap
More... almost 16 years ago
*Add try/catch for status file creation *Now broker check avery sec for dead sub process. If so, close the queue, terminate the process and remove the module.
nap
More... almost 16 years ago
Patch from Gerhard : the status file is writen to a temp file, then move to the status.dat
nap
More... almost 16 years ago
*change the way status.dat is generated : now it's an external broker module. *External modules need more work to be good, now there is a mix in modulemanager and external. It's not clean. *There can be a problem is the broker is restart (or go to the spare) : it do not have it's data anymore. We must think about a way to 'resend' initial_broks every Xsec. This is useful only if we use a module that is stateful (no database to remember previous status), so the option must be diable by default, such modules should not be too use, and even use, it's when a broker is restarted that the problem occurs. Maybe such a demand can be something the broker ask to scheduler when it first connect??
nap
More... almost 16 years ago
*Now Broker get broks every 1s and put broks into self.broks. Then loop on it with manage+wait_conf(0sec).
nap
More... almost 16 years ago
Add doc about the future way of broker module
nap
More... almost 16 years ago
Add escalation object, but just the def/link part.
nap
More... almost 16 years ago
*Add a true check of correct conf. *Now groups are 'fill_defaulted' *Now, when the configuration is incorrect, the arbiter quits.
nap
More... almost 16 years ago
From Gerhard : fix-the-HARD-SOFT-attempts-logic
nap
More... almost 16 years ago
*Patch from Gerhard : host were in 2 realms! Thanks Gerhard. *Bug fix : a realm without schduler do no more cause a big crash.
nap
More... almost 16 years ago
Bug: duration_sec was exported in broker
nap
More... almost 16 years ago
*Some good Gerhard patchs : **add-host-macros-TOTALHOSTSERVICES-LASTHOST-HOSTD **add-service-macros-LASTSERVICE-SERVICEDURATION **bugfix-in-pack-creation-for-realm-load-balancing **handle-non-existing-retention-file
nap
More... almost 16 years ago
Add a get_next_invalid_time_from_t in timeperiod so now the exclude is well managed (no more slow).
nap
More... almost 16 years ago
Add a first version of exclude support in timeperiod. It's a very dump an slow one (jump from one minute to one minute for testing...)
nap
More... almost 16 years ago
Export Daterange from timeperiod.py to daterange.py
nap
More... almost 16 years ago
Add a host perfdata module.
nap
More... almost 16 years ago
*Rename plugins into modules
nap
More... almost 16 years ago
*Add the merlin db support in sqlite *Bug : a copy in not enough in couchdb, need deepcopy.
nap
More... almost 16 years ago
Add resultmodulations for host and services. Replace the critical_is_warning, inverse_ok_critical and hot_period
nap
More... almost 16 years ago
*Patchs from Gerhard: **allow hostgroup definitions without a members attribute **allow servicegroup definitions without members attribute **a non-existing members attribute is pythonized to an empty list
nap
More... almost 16 years ago
*Add a first couchdb plugin. Couchdb is a document database server. A document here is an object like service or host. The code is not optimal, but not so slow. It is quite easy to read. *it does not use creadential (becasue I do not use credential in my test env for the moment..) *add the instance_name from scheduler_name in configurations send to schedulers.
nap
More... almost 16 years ago
Remove unused debug function
nap
More... almost 16 years ago
Data driven creation in config too
nap
More... almost 16 years ago
*Again great patchs from Gerhard Lausser. Thanks again :) **create a member attribute if it does not exist in itemgroup objets **check if rec_tag exists bevore deleting it in servicegroup **changed tmp_sg to tmp_cg in contactgroup.py (typo) **allow "same host" dependency by copying host_name to dependent_host_name
nap
More... almost 16 years ago
*Add a hot_period in host/service (implicit inheritance) : if set, in this period, the critical_is_warning property is not apply. It can be use for low production system : You've got a financial server used only in the last week of the month. You do not want critical alert in all others weeks. Now you can set critical_is_warning in the host, so all services that do not set it will inherit it, and you set hot_period in the last week : now services for this host in the last week will be Critical (if return ==2). In all others weeks, it will be just Warning.
nap
More... almost 16 years ago
No more pygraph dependancies :)
nap
More... almost 16 years ago