Legacy Dev Forum Posts

 View Only

Sign Up

Edge event missing online & health status

  • 1.  Edge event missing online & health status

    Posted 06-05-2025 19:00

    manuka | 2022-01-14 11:33:46 UTC | #1

    Hey,

    I recently set up the EventBridge integration as a test for monitoring edge device online status; I'm using the 'v2.telephony.providers.edges.{id}' topic and the integration seems to be working as intended; I have a rule set up on the AWS end that logs all of the events and saves them.

    The issue I'm facing is the schema of the event - it's different from what's shown on the https://developer.genesys.cloud/api/rest/v2/notifications/available_topics page. The schema does have the statusCode variable (ACTIVE | INACTIVE etc.) along with a ton of other variables, but it seems to be missing the onlineStatus key that's shown on the available topics page schema.

    Is there something I'm missing - it seems like the integration is working as intended and the schema is incorrect. If that's the case, is there a way to display the onlineStatus and healthStatus keys that are normally found in the '/api/v2/telephony/providers/edges/{edgeId}' API endpoint?


    John_Carnell | 2022-01-14 18:09:31 UTC | #2

    Hi Manu,

    I talked with our product manager and that data should be present. If the data is missing, I would open a ticket with our CARE group and they can make the item gets routed to the appropriate engineering team for research and resolution. A ticket with CARE can be opened here.

    Thanks, John Carnell Manager, Developer Engagement


    Kelvin_Lau | 2022-03-21 14:00:03 UTC | #3

    I also faced the same issue. The actual event pattern is different from the documented schema. I am getting this, no "onlineStatus" field exists.

    |Colum|

    @ingestionTime

    1647866782259

    @log

    593786780432:/aws/events/edge-alert

    @logStream

    9094dc1f-d1e2-3a98-9d69-6e4d3f12941e

    @message

    {"version":"0","id":"13b15775-c28d-55ee-f077-c4e0b3d36d77","detail-type":"v2.telephony.providers.edges.{id}","source":"aws.partner/genesys.com/cloud/7a01f782-f07a-43f2-85db-6fb3df51464d/yflife-uat","account":"593786780432","time":"2022-03-21T12:46:21Z","region":"ap-northeast-1","resources":[],"detail":{"topicName":"v2.telephony.providers.edges.edf6a5e8-276d-4f57-b166-4e97131c4978","version":"2","eventBody":{"id":"edf6a5e8-276d-4f57-b166-4e97131c4978","name":"UAT","version":"81","dateCreated":"2021-11-16T08:04:08.262Z","dateModified":"2022-03-21T12:46:21.412Z","createdBy":"3c81ab76-ff0a-4934-b7c6-d237e33a9c68","interfaces":[{"type":"ip","ipAddress":"192.168.94.211","name":"Port 1 (WAN)","macAddress":"94:40:c9:45:62:5c","ifName":"eno1","addressFamilyId":"2"},{"type":"ip","ipAddress":"192.168.92.5","name":"Port 2","macAddress":"94:40:c9:45:62:5d","ifName":"eno2","addressFamilyId":"2"},{"type":"ip","ipAddress":"10.225.154.73","name":"Port 3","macAddress":"94:40:c9:45:62:5e","ifName":"eno3","addressFamilyId":"2"},{"type":"ip","ipAddress":"192.168.1.20","name":"Port 4","macAddress":"94:40:c9:45:62:5f","ifName":"eno4","addressFamilyId":"2"}],"model":"","softwareVersion":"1.0.0.11160","softwareVersionTimestamp":"2202270550","softwareVersionPlatform":"l64","softwareVersionConfiguration":"release","fullSoftwareVersion":"edgebin-1.0.0.11160.2202270550-l64r","osName":"Linux","pairingId":"H2MC8-7M4TG-42WMV-PGH63-QFRJR","fingerprintHint":"912d1a0604","statusCode":"INACTIVE","edgeGroup":{"id":"a518f472-6f0d-46dc-a917-4311f5ced388"},"site":{"id":"2c3a5019-bfd9-4937-ac38-98c7954b5890"}},"metadata":{"action":"update","CorrelationId":"69189f63-7138-4ea8-a305-6c6d962f281b"},"timestamp":"2022-03-21T12:46:21.428Z"}}

    @timestamp

    1647866781000

    account

    593786780432

    detail-type

    v2.telephony.providers.edges.{id}

    detail.eventBody.createdBy

    3c81ab76-ff0a-4934-b7c6-d237e33a9c68

    detail.eventBody.dateCreated

    2021-11-16T08:04:08.262Z

    detail.eventBody.dateModified

    2022-03-21T12:46:21.412Z

    detail.eventBody.edgeGroup.id

    a518f472-6f0d-46dc-a917-4311f5ced388

    detail.eventBody.fingerprintHint

    912d1a0604

    detail.eventBody.fullSoftwareVersion

    edgebin-1.0.0.11160.2202270550-l64r

    detail.eventBody.id

    edf6a5e8-276d-4f57-b166-4e97131c4978

    detail.eventBody.interfaces.0.addressFamilyId

    2

    detail.eventBody.interfaces.0.ifName

    eno1

    detail.eventBody.interfaces.0.ipAddress

    192.168.94.211

    detail.eventBody.interfaces.0.macAddress

    94:40:c9:45:62:5c

    detail.eventBody.interfaces.0.name

    Port 1 (WAN)

    detail.eventBody.interfaces.0.type

    ip

    detail.eventBody.interfaces.1.addressFamilyId

    2

    detail.eventBody.interfaces.1.ifName

    eno2

    detail.eventBody.interfaces.1.ipAddress

    192.168.92.5

    detail.eventBody.interfaces.1.macAddress

    94:40:c9:45:62:5d

    detail.eventBody.interfaces.1.name

    Port 2

    detail.eventBody.interfaces.1.type

    ip

    detail.eventBody.interfaces.2.addressFamilyId

    2

    detail.eventBody.interfaces.2.ifName

    eno3

    detail.eventBody.interfaces.2.ipAddress

    10.225.154.73

    detail.eventBody.interfaces.2.macAddress

    94:40:c9:45:62:5e

    detail.eventBody.interfaces.2.name

    Port 3

    detail.eventBody.interfaces.2.type

    ip

    detail.eventBody.interfaces.3.addressFamilyId

    2

    detail.eventBody.interfaces.3.ifName

    eno4

    detail.eventBody.interfaces.3.ipAddress

    192.168.1.20

    detail.eventBody.interfaces.3.macAddress

    94:40:c9:45:62:5f

    detail.eventBody.interfaces.3.name

    Port 4

    detail.eventBody.interfaces.3.type

    ip

    detail.eventBody.name

    UAT

    detail.eventBody.osName

    Linux

    detail.eventBody.pairingId

    H2MC8-7M4TG-42WMV-PGH63-QFRJR

    detail.eventBody.site.id

    2c3a5019-bfd9-4937-ac38-98c7954b5890

    detail.eventBody.softwareVersion

    1.0.0.11160

    detail.eventBody.softwareVersionConfiguration

    release

    detail.eventBody.softwareVersionPlatform

    l64

    detail.eventBody.softwareVersionTimestamp

    2202270550

    detail.eventBody.statusCode

    INACTIVE

    detail.eventBody.version

    81

    detail.metadata.action

    update

    detail.metadata.CorrelationId

    69189f63-7138-4ea8-a305-6c6d962f281b

    detail.timestamp

    2022-03-21T12:46:21.428Z

    detail.topicName

    v2.telephony.providers.edges.edf6a5e8-276d-4f57-b166-4e97131c4978

    detail.version

    2

    id

    13b15775-c28d-55ee-f077-c4e0b3d36d77

    region

    ap-northeast-1

    source

    aws.partner/genesys.com/cloud/7a01f782-f07a-43f2-85db-6fb3df51464d/yflife-uat

    time

    2022-03-21T12:46:21Z

    version

    0


    John_Carnell | 2022-03-21 16:46:29 UTC | #4

    Hi Kelvin,

    I would open a ticket with our Care. I am also referencing our product manager @Becky_Powell as she owns the overall EventBridge application.

    Thanks, John Carnell


    This post was migrated from the old Developer Forum.

    ref: 13217