Forum Discussion

wiz0rd's avatar
wiz0rd
Icon for Nimbostratus rankNimbostratus
Oct 13, 2023

Streaming Telemetry Errors to Kafka

Has anyone seen errors like the following in the restnoded.log file?

Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Error: EndpointLoader.loadEndpoint: provisioning: Error: Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/provision
Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Error: EndpointLoader.loadEndpoint: bashDisabled: Error: Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/db/systemauth.disablebash
Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Error: SystemStats._loadData: provisioning (undefined): Error: Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/provision
Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Error: SystemStats._loadData: bashDisabled (undefined): Error: Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/db/systemauth.disablebash
Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Error: SystemStats._processProperty: provisioning (provisioning::items): Error: Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/provision
Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Error: SystemStats._processProperty: bashDisabled (bashDisabled::value): Error: Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/db/systemauth.disablebash
Fri, 13 Oct 2023 12:45:34 GMT - severe: [telemetry.f5telemetry_default::My_System::SystemPoller_1] Bad status code: 500 Server Error for http://localhost:8100/mgmt/tm/sys/provision

I pushed a json file similar to the following (Few fields redacted with variables)

{
"class": "Telemetry",
"schemaVersion": "1.33.0",
"My_System": {
"class": "Telemetry_System",
"systemPoller": {
"interval": 60,
"enable": true
},
"enable": true,
"host": "localhost",
"port": 8100,
"protocol": "http",
"allowSelfSignedCert": false
},
"My_Listener": {
"class": "Telemetry_Listener",
"port": 6514,
"enable": true
},
"My_Consumer": {
"class": "Telemetry_Consumer",
"type": "Kafka",
"topic": "myTopic",
"host": "myHost",
"protocol": "binaryTcpTls",
"port": 9093,
"allowSelfSignedCert": false,
"enable": true
}
}

 

---


What would be causing this? I tried turning it to debug and trace but didn't have much luck. Debug didn't show much more and I could not actually locate the trace file.

 

Thanks in advance,

Josh

 

1 Reply

  • wiz0rd's avatar
    wiz0rd
    Icon for Nimbostratus rankNimbostratus

    Wireshark pcap inspection is showing a number of API calls sourced from 127.0.0.1 destination 127.0.0.1:8100 succeeding with a Status code of 200.

     

     

    However the API calls with User Agent of Telemetry are failing with:

     

    "code" 500

    Message: "MCP Session terminated"

    ApiError: 32768003