Skip to content

centreon-stream-connectors lib 3.0.0-1

Compare
Choose a tag to compare
@tanguyvda tanguyvda released this 12 May 07:06
· 192 commits to master since this release
df97466

Features

This release is an overhaul of the metric system for the stream connectors. The purpose is to handle the new metric format provided by the Centreon plugins

UPDATING TO THIS VERSION REQUIRES YOU TO UPDATE YOUR splunk-metrics-apiv2.lua STREAM CONNECTOR.
This is a breaking change !
Note that this stream connector will send more data than before. Previously, it was sending one event for a service, now it sends an event for each metric of the service.

  • sc_common: add a dumper method (a17b4f3)
  • sc_metric: add a new build_metric method
  • sc_params: add new parameters to handle new metric system. metric_name_regex, metric_replacement_character
  • sc_params: add a new parameter to handle event output. use_long_output
  • sc_event; there is now a short_output and long_output entry in the event table. The output entry in the event table will now be the long output or short_output depending on the value of the use_long_output parameter

bug fix

  • sc_metric fix an issue with host perfdata that were always dropped no matter what

Documentation

  • add documentation for the aformentioned new methods and new parameters