> I don't see the acknowledge command messages being received by kafka using the monitor_topic.sh command.
Make sure you monitor the ..Command topic. Assuming your alarm configuration root is "Accelerator", then
monitor_topic.sh Accelerator
should show the status changes, including a channel entering the alarm state.
Looks like that part works fine because your UI also indicates alarms.
In a second terminal,
monitor_topic.sh AcceleratorCommand
should show the acknowledgement, something like
command:/Accelerator/DemoSystem/SomePV: {"user":"xxx","host":"xxx.site.org","command":"acknowledge"}
If the UI shows the alarms, then it should also write to the appropriate ..Command topic.
But it's possible that the Accelerator, AcceleratorCommand and AcceleratorTalk topics weren't properly configured in Kafka.
Run
list_topics.sh
to see if they are.
auto.create.topics.enable=false
and instead use the script
create_alarm_topics.sh Accelerator
to create Accelerator, AcceleratorCommand and AcceleratorTalk as necessary, with the first one 'compacted' etc.
-Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Geoffrey Savage via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, May 26, 2022 4:20 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] kafka alarm server does not acknowledge
Hi,
We have setup the kafka based alarm server from phoebus. We receive alarms in all three UIs but are unable to acknowledge the alarms.
I don't see the acknowledge command messages being received by kafka using the monitor_topic.sh command.
Any idea if this is a kafka configuration issue or I don't understand how alarm acknowledgement works?
Geoff
|