Skip to content

Deactivating Host Service from Service Set doesn't create Activity Log entry due to missing Hash Change  #2911

@Wintermute2k6

Description

@Wintermute2k6

Expected Behavior

Most host/service changes in the director module create viewable traceable/change in the activity log.
This is for debugging reasons great also for debugging.

Current Behavior

Creating a Service => hash change in Activity log
Creating a Service Set => hash chnage in Activity log
Deactivating service on host from service sest => no trace from that action in the activity log

Possible Solution

creating a hash for the 'deactivating' and create an traceable entry in the activity log ?

Steps to Reproduce (for bugs)

  • fresh icinga2 & icingaweb2 or icingadb and icingadb-web install and latest director module.
  • create testhost
  • create service set + testservice
  • apply service set to testhost
  • view for the three steps before the activity log entries
  • deactivate service on testhost
  • no activity log entry created

Your Environment

  • Director version (System - About):
    Icinga Web 2 Version | 2.12.1
    cd2daeb2cb8537c633d343a29eb76c54cd2ebbf2
    7.4.3-4ubuntu2.23
    2023-11-15
    Icinga Web 2 Version 2.12.1
    Git commit cd2daeb2cb8537c633d343a29eb76c54cd2ebbf2
    PHP Version 7.4.3-4ubuntu2.23
    Git commit date 2023-11-15
    Loaded Libraries
    icinga/icinga-php-library 0.14.1
    icinga/icinga-php-thirdparty 0.12.1
    Loaded Modules
    director 1.11.1
    incubator 0.22.0
    monitoring 2.12.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions