Skip to content

Commit

Permalink
enable event dedup by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguyvda committed Jun 14, 2021
1 parent cb44a9e commit 5070dde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/centreon-stream-connectors-lib/sc_params.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function sc_params.new(common, logger)
skip_nil_id = 1,

-- enable or disable dedup
enable_host_status_dedup = 0,
enable_service_status_dedup = 0,
enable_host_status_dedup = 1,
enable_service_status_dedup = 1,

-- communication parameters
max_buffer_size = 1,
Expand Down
4 changes: 2 additions & 2 deletions modules/docs/sc_param.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ The sc_param module provides methods to help you handle parameters for your stre
| ack_service_status | string | | | coma separated list of accepted service status for an acknowledgement event. It uses the service_status parameter by default (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN) | acknowledgement(neb) | |
| dt_host_status | string | | | coma separated list of accepted host status for a downtime event. It uses the host_status parameter by default (0 = UP, 1 = DOWN, 2 = UNREACHABLE) | downtime(neb) | |
| dt_service_status | string | | | coma separated list of accepted service status for a downtime event. It uses the service_status parameter by default (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN) | downtime(neb) | |
| enable_host_status_dedup | number | 0 | | enable the deduplication of host status event when set to 1 | host_status(neb) | |
| enable_service_status_dedup | number | 0 | | enable the deduplication of service status event when set to 1 | service_status(neb) | |
| enable_host_status_dedup | number | 1 | | enable the deduplication of host status event when set to 1 | host_status(neb) | |
| enable_service_status_dedup | number | 1 | | enable the deduplication of service status event when set to 1 | service_status(neb) | |
| accepted_authors | string | | | coma separated list of accepted authors for a comment. It uses the alias (login) of the Centreon contacts | downtime(neb), acknowledgement(neb) | |
| local_time_diff_from_utc | number | default value is the time difference the centreon central server has from UTC | | the time difference from UTC in seconds | all | |
| timestamp_conversion_format | string | %Y-%m-%d %X | | the date format used to convert timestamps. Default value will print dates like this: 2021-06-11 10:43:38 | all | (date format information)[https://www.lua.org/pil/22.1.html] |
Expand Down

0 comments on commit 5070dde

Please sign in to comment.