Skip to content

wanglin86769/archiver-status

Repository files navigation

EPICS PVs for Archiver Appliance status

This small tool publishes Archiver Appliance status as EPICS PVs by polling Archiver Appliance BPL metrics with HTTP/JSON data format.

Software environment

This software is developed and tested in the following environment,

  • Python 3.11.1

  • pcaspy 0.8.0

Sources file

  • archiver_status.py: it can be used for either single node or cluster deployment of Archiver Appliance.

Configuration

  • Create customized_config.py based on customized_config_example.py to set appliances as list of dictionary which includes url and identity of an appliance node, and add one element to appliances for single node and multiple elements for cluster.

PV list for single node deployment of Archiver Appliance

  • 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

PV list for cluster deployment of Archiver Appliance

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

Screenshot for single node deployment of Archiver Appliance

Traditional CS-Studio

Alt text

Phoebus

Alt text

Screenshot for cluster deployment of Archiver Appliance

Traditional CS-Studio

Alt text

Alt text

Phoebus

Alt text

Alt text

License

MIT license

About

EPICS PVs for Archiver Appliance status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published