This small tool publishes Archiver Appliance status as EPICS PVs by polling Archiver Appliance BPL metrics with HTTP/JSON data format.
This software is developed and tested in the following environment,
-
Python 3.11.1
-
pcaspy 0.8.0
archiver_status.py
: it can be used for either single node or cluster deployment of Archiver Appliance.
- Create
customized_config.py
based oncustomized_config_example.py
to setappliances
as list of dictionary which includesurl
andidentity
of an appliance node, and add one element toappliances
for single node and multiple elements for cluster.
- MTEST:status
- MTEST:MGMT_uptime
- MTEST:pvCount
- MTEST:connectedPVCount
- MTEST:disconnectedPVCount
- MTEST:dataRateGBPerDay
- MTEST:sts_total_space
- MTEST:sts_available_space
- MTEST:sts_available_space_percent
- MTEST:mts_total_space
- MTEST:mts_available_space
- MTEST:mts_available_space_percent
- MTEST:lts_total_space
- MTEST:lts_available_space
- MTEST:lts_available_space_percent
If the cluster includes two nodes with the idenntity appliance_01 and appliance_02 respectively.
- MTEST:appliance_01:status
- MTEST:appliance_01:MGMT_uptime
- MTEST:appliance_01:pvCount
- MTEST:appliance_01:connectedPVCount
- MTEST:appliance_01:disconnectedPVCount
- MTEST:appliance_01:dataRateGBPerDay
- MTEST:appliance_01:sts_total_space
- MTEST:appliance_01:sts_available_space
- MTEST:appliance_01:sts_available_space_percent
- MTEST:appliance_01:mts_total_space
- MTEST:appliance_01:mts_available_space
- MTEST:appliance_01:mts_available_space_percent
- MTEST:appliance_01:lts_total_space
- MTEST:appliance_01:lts_available_space
- MTEST:appliance_01:lts_available_space_percent
- MTEST:appliance_02:status
- MTEST:appliance_02:MGMT_uptime
- MTEST:appliance_02:pvCount
- MTEST:appliance_02:connectedPVCount
- MTEST:appliance_02:disconnectedPVCount
- MTEST:appliance_02:dataRateGBPerDay
- MTEST:appliance_02:sts_total_space
- MTEST:appliance_02:sts_available_space
- MTEST:appliance_02:sts_available_space_percent
- MTEST:appliance_02:mts_total_space
- MTEST:appliance_02:mts_available_space
- MTEST:appliance_02:mts_available_space_percent
- MTEST:appliance_02:lts_total_space
- MTEST:appliance_02:lts_available_space
- MTEST:appliance_02:lts_available_space_percent
Traditional CS-Studio
Phoebus
Traditional CS-Studio
Phoebus
MIT license