Astra allows you to export monitoring events with the status of incoming streams or DVB-adapters.
The address of the monitoring server can be specified in the web interface: Settings -> General -> Monitoring:
Address has the following parameters:
For example with address http://example.com/api#interval=60&total=1
astra sends HTTP POST request to the http://example.com/api
every minute, request containing JSON with summary statistics for one minute of stream monitoring.
Stream properties Astra send only once on stream startup.
[
{
"channel": {
"type": "spts",
"name": "Channel Name",
"id": "a002",
...
},
"timestamp": 1677687308,
"hostname": "astra"
}
]
[
{
"count": 0,
"timestamp": 1677687310,
"channel_id": "a002",
"input_id": 1,
"current": true,
"onair": false,
"scrambled": false,
"bitrate": 3013,
"packets": 2005,
"cc_error": 0,
"sc_error": 0,
"pes_error": 0,
"pcr_error": 15
}
]
This list describes the parameters that provide information about the stream workflow:
This data is transmitted in JSON format as an array of several elements, with each element representing one second of observations. The number of elements in the array is determined by the frequency of statistics transmission. If statistics aggregation is enabled, then there is only one element in the array, which contains the total number of errors and the average bitrate for the period equal to the statistics transmission frequency.
Adapter properties Astra send only once on adapter startup.
[
{
"dvb": {
"name": "11034V @ 13E",
"id": "a001",
....
},
"timestamp": 1677687308,
"hostname": "astra"
}
]
[
{
"dvb_id": "a0dj",
"timestamp": 1677687310,
"status": 31,
"signal": 76,
"signal_db": -2488,
"snr": 60,
"snr_db": 902,
"unc": 0,
"ber": 0,
"bitrate": 1938
}
]
This list describes the parameters that provide information about the adapter workflow:
dBm * 100
dB * 100
Signal status describe the state of the tuner, described in 5-bit number:
If the tuner configured successfully and signal is locked, the status parameter will be set to 31