How to set the channel accessibility monitoring?
Valid links monitoring can be conducted:
- for the main IPTV channels streaming links;
- for backup links (links that have less priority and are used when the main one does not work).
Monitoring status can have one of three values:
- No errors - channel works;
- There are some problems - at least one link is invalid. If monitoring shows that main link does not work, it automatically switches to the lower priority link;
- Errors occured - channel does not work.
To conduct the IPTV channel monitoring you should set monitoring in the configuration file and add channel in monitoring in the admin interface .
1. Create
api_auth_login = stalker api_auth_password = stalker enable_api_log = true
2. Specify the parameters in the
API_URL parameter - login and password from
custom.ini file and a server.
API_URL=http://api_auth_login:api_auth_password@127.0.0.1/stalker_portal/api/monitoring_links/
- parameter MONITORING_TYPE - itv
MONITORING_TYPE='itv'
3. Set the cron task in server settings to launch a
Please notice that it is a required for IPTV channels to set the vlc player on server.
5. Choose Channels.
6. Focus on the channel and press . Choose Edit.
8. Focus again on the streaming link, press
.9. Unfold the Monitoring tab, fill in the fields and press Save.
- put
10. Press Save.
To get more information about the configuration of channels' monitoring, click here.