Shinken v2.2 Release Notes

Release Date: 2015-01-16 // over 9 years ago
  • CORE ENHANCEMENT
    Add : Bottle - HTTP_X_FORWARDED_PROTO support (for WebUI)
    Add : BpRules - Expands bp_rules t flag from tags
    Add : BpRules - Use standard macros expansion in bp_rules output
    Add : Broks - new type unknown_check_result_brok (included in the previous add)
    Add : CLI - update command for the shinken.io install
    Add : Contact - new parameter expert. For UI purpose
    Add : Escalations - Time properties for host and service escalations
    Add : External Command - Implement SCHEDULE_HOSTGROUP_HOST_DOWNTIME and SCHEDULE_HOSTGROUP_SVC_DOWNTIME
    Add : External Commands - Reload-config function
    Add : External Commands - support for reset modify attribute
    Add : HTTP API - get_start_time call returning timestamp
    Add : HTTP API - Inner stats can be sent to shinken.io
    Add : LogEvent - Output key to properties dict
    Add : LogEvent - Pattern for FLAPPING events
    Add : Receiver - Accept passive results from host or service not in configuration
    Add : Realms - Handle properly multi level of realms
    Add : SchedulingItem - callbacks for HOSTDOWNTIME and SERVICEDOWNTIME macros
    Add : SchedulingItem - Parameter to remove host-service dependency
    Add : Service Escalation - wildcard service_description
    Add : Service - method  get_service_tags (for WebUI)
    Add : Snapshots  - Feature to get more output when we have a bad state
    
    Del : Move WebUI image and template to the good repo
    Del : Pack Distribution tuning (hosts where fixd on the same scehduler between reload) - causing more damage in load balancing that it solve problems
    
    Enh : CLI now exit with a real system return code when fail to install
    Enh : Config - Module name formatting in config files
    Enh : Config parsing - Refactoring to pythonize at object creation. Attribute have correct type very early.
    Enh : Config parsing - Refactoring to reduce parse time, and scope code to ease future evolutions
    Enh : Daemon - Refactor bailout and edit message
    Enh : Datarange - Better datarange parsing
    Enh : Deamon - additional call to  os.setgroups to drop privileges
    Enh : Doc - A lot of typo and improvments!
    Enh : External Command - Moved manager initialization to init
    Enh : Imports - use importlib when available to import module properly.
    Enh : Init scripts - Refactoring script. Add LSB standard functions
    Enh : Logger - Only use time rotated file handler for regular files
    Enh : Logger - Refactoring logger class to inherit from standard logger class.
    Enh : Logger - Use lazy logger syntax to enhance performances
    Enh : Perfdata - Better internal parsing
    Enh : Realm - Code refactoring
    Enh : Scheduler - use a lock to acces put_result
    Enh : SchedulingItem - use return_code attribute to remember plugin return code so that it is available in broks.
    Enh : Tests - better Jenkins and Travis integration and Coverall support
    Enh : Tests - Code cleaning
    Enh : Tests - Use assert function from unittest2
    Enh : Triggers - Try except statement when executing them
    
    
    CORE FIXES
    Fix : BpRules - '+' was causing segfault in some cases
    Fix : Broker - Crash when sub process goes down
    Fix : Config parsing - Unknown members list is common to all items
    Fix : Daemon - Proper https URL
    Fix : Daemons - Timeout and data timeout for scheduler connexion
    Fix : Daemon - When replacing a daemon kill all processes in the group instead of one pid
    Fix : Datamanager -  Service totals and host totals computation
    Fix : Discovery - Linux hosts with recent nmap versions
    Fix : HTTP API - Code stabilization
    Fix : HTTP API - Realm not displayed in get-all-states call
    Fix : Init scripts - Use last python version
    Fix : Logs - Manage pre-daemon logs.
    Fix : Macroresolver - Move output_macros definition to avoid error in WebUI (eltdetail template)
    Fix : Notifications - Master notifications must not be sent to reactionner so that we scatter them.
    Fix : Passive reactionners are now working
    Fix : Scheduler - Pack size for multi-schedulers environnements. Reduce memory consumption and boot time in big setup.
    Fix : Scheduler - Segfault with circular service dependency loop
    Fix : Scheduler - Skip compensate if daemon is not init
    Fix : SchedulingItem - Bad behavior for use_aggressive_host_checking.
    Fix : SchedulingItem - Up state for a host generates a recovery if necessary
    Fix : SSL - Crash under Windows
    Fix : Timeperiods - remove bad modulo calculation for months
    Fix : Sub-sub-realms where not assigned to higer realms brokers/reactionners
    Fix : Add callbacks for HOSTDOWNTIME and SERVICEDOWNTIME macros