[OpenSIPS-Devel] [OpenSIPS/opensips] cb2c6b: [clusterer] add reporting on the shared tag state ...

Bogdan Andrei IANCU noreply at github.com
Thu May 12 15:09:55 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cb2c6b290956d7b204dc9ecf13091941bec0de0c
      https://github.com/OpenSIPS/opensips/commit/cb2c6b290956d7b204dc9ecf13091941bec0de0c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml
    M modules/clusterer/sharing_tags.c
    M modules/clusterer/sharing_tags.h

  Log Message:
  -----------
  [clusterer] add reporting on the shared tag state changes

The E_CLUSTERER_SHARING_TAG_CHANGED event is raised.
Also such events are logged via the status/report "sharing_tags" identifier

(opensips-cli): mi sr_list_reports clusterer
[
    {
        "Name": "sharing_tags",
        "Reports": [
            {
                "Timestamp": 1652367224,
                "Date": "Thu May 12 17:53:44 2022",
                "Log": "TAG <vip>, cluster 1, became backup due to cluster broadcast from 2"
            },
            {
                "Timestamp": 1652367326,
                "Date": "Thu May 12 17:55:26 2022",
                "Log": "TAG <vip>, cluster 1, became active due to MI command"
            }
        ]
    }
]





More information about the Devel mailing list