1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Phoebus Alarm Log Can't Display History |
From: | CAOUEN Loic via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 3 Apr 2023 14:36:53 +0000 |
Hello, As Giovanni said, you must configure the alarm_logger ip and port in phoebus settings, not the elasticsearch ip and port. If you haven’t changed the default port of you alarm_logger, you must add these settings : org.phoebus.applications.alarm.logging.ui/service_uri = http://localhost:8080 org.phoebus.applications.alarm.logging.ui/results_max_size = 10000 Replace localhost by the external ip if it’s on another server. Loïc De : Tech-talk <tech-talk-bounces at aps.anl.gov>
De la part de Giovanni Savarese LNL via Tech-talk Hi, I also tried to use the phoebus alarm server and alarm logger and just recently I reached a working condition. From your message I think the problem is the port you are pointing to which should be 9000 or 8080 based on the alarm-logger version. In fact the alarm-logger service communicate with the elasticsearch server using port 9200 whereas the phoebus client execute
the GET request pointing to the alarm-logger service which expose port 900 or 8080 based on the version you used. For me the main problem was find the correct version of the services and the client to work together and consequently set org.phoebus.applications.alarm.logging.ui/service_uri
to the correct port and endpoint. In my case I mainly use docker contaneirs; so, if you want, at this repository
https://github.com/giosava94/docker-phoebus-alarm I created a docker image, based on the v4.7.1 tag of phoebus, for the alarm server and the alarm logger. Moreover I prepared a docker-compose.yml
file with the complete system configuration: zookeper, kafka, alarm-server, elasticsearch and alarm-logger (optional kibana). Let me know if you or anyone else find it useful or if there are problems (in that case I'm not an expert about these systems so I don't garantee an immediate or clear answer). Regards On 23/03/23 02:33, Han Gao - Lotus via Tech-talk wrote:
|