Elettra Alarm Server

Hello Team

I have successfully configured the device server for elettra alarm system.
Could you please share the link of GUI for the same ?

Thanks and Regards
Anshul Soni

Added the link to the project page.

In any case it’s the following:
http://www.tango-controls.org/media/filer_public/d0/74/d074c093-1d5a-4308-aec3-2ac0baab7647/alarm-guitar.gz

Graziano

Hi Graziano

Thanks. I also want to use Elettra Alarm.

after make alarm-gui , i can’t get how to configure mysql user to access alarm database. as i run(alarm/test/1 is Alarm class’s device name):

$ alarm alarm/test/1 --log-database-host localhost 1>/$HOME/alarmlog/alarm-panel-$HOSTNAME.log 2>&1

it report error as follow, so i can’t get history alarms from database.

Can't establish connection with db "alarm" on host log:
Access denied for user 'alarm-client'@'localhost' (using password: NO) QMYSQL: Unable to connect

so i want to know how to configure mysql user and password for alarm-gui app.

Thanks

Hello Team

I have configured the alarm-srv device servers. It seems, i have to configure the alarmtest-srv device server too as mentioned in the README of alarm-gui.
Please share the package of alarmtest-srv device server.

Also I have attached the error screenshot while opening the Alarm-GUI.

Thanks and regards
Anshul Soni

Hello Team

Any Updates on the above issue ?

Thanks and Regards
Anshul Soni

[quote=“Anshul”]Hello Team

Any Updates on the above issue ?

Thanks and Regards
Anshul Soni[/quote]
Hi,
I’ve uploaded the sources of alarmtest:
http://www.tango-controls.org/media/filer_public/bf/e2/bfe2d3ed-d284-4cd1-9f48-7bed2a809321/alarmtesttar.gz

At the moment the mysql db user for the history is hardcoded in alarm-gui: you have to create an alarm-client user without password for the alarm database.

Graziano

Hello Graziano

I have created the user ‘alarm-client’ for ‘alarm’ database without password.

But I have to define DbPasswd device property for alarm-srv device servers.
When i kept DbUser=alarm-client,
DbPasswd=

and run the device server, it is giving the below error:
Error: not all necessary properties are defined. Exiting…

Attached is the screenshot of error

Hello All

Any suggestions for above issue ?

Hi,
you have to use a R/W user for the device server with a password, while for the GUI it is alarm-client without password (and that can be a read only user).

Graziano

Hello Team

The above link provided for alarm-test.tar.gz is broken.

Please provide the link from where I can download the alarmtest sources file.

I try to copy and past again:
http://www.tango-controls.org/media/filer_public/bf/e2/bfe2d3ed-d284-4cd1-9f48-7bed2a809321/alarmtesttar.gz

but in any case it is taken from http://www.tango-controls.org/community/projects/alarm-system/ under “Downloads”

Hi,

the link works for me. Thanks!

Andy

Hello all

I am getting errors while opening alarm-gui.
I have configured the alarm,alarmtest device server and alarm-gui.
I may have configured it wrong.

Please find the attached Jive configurations for alarm and alarm-test device server and the errors which come while opening alarm-gui.

Thanks and Regards
Anshul Soni

You are specifying in the command line that your alarmtest device is in ecrfpsa/alarmtest/0.
Do you have configured in jive the device with that name and launched it ?
In any case it is needed only to test event subsystem in the “Test” tab.
Apart from that it looks ok, you can try to add the configuration of a new alarm and test that.

Graziano

I have configured the alarmtest device in jive as ecrfpsa/alarmtest/0. I have attached the image of the same above.
Where is the place to add new alarm ?
Could you please share your device server configurations?
Could you please share your alarm-configurations/rules for exploring purpose ?
Also what are the pre-requisites to load alarm gui ?

Thanks and Regards
Anshul

The configuration of the device properties of alarmtest is wrong: it has no device property
But in any case this is not the reason it is not working.
I cannot see from your screenshot if you have launched the alarmtest device server before launching the gui:
“alarmtest-srv alarmtestsrv” looking at your configuration.

To load a new alarm you have to execute the Load command with a configuration string like:
“ecrfpsa/alarmtest/0/fault (ecrfpsa/alarmtest/0/state == FAULT) 0 fault -1 gr_all "AlarmTest fault" ;”
if you want to configure an alarm when the State of ecrfpsa/alarmtest/0 for example is in FAULT

Graziano