Skip navigation

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.

How to set the channel accessibility monitoring?

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  custom.ini file in  /var/www/stalker_portal/server/ and add API login and password.

api_auth_login = stalker
api_auth_password = stalker
enable_api_log = true

2. Specify the parameters in the  /var/www/stalker_portal/monitoring/check_channels.sh
file:  

  • 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  check_channels.sh
command and a regular IPTV channels checking.

Please notice that it is a required for IPTV channels to set the vlc player on server.

4. Open the tab IPTV channels.

5. Choose Channels.

6. Focus on the channel and press How to set the channel accessibility monitoring?. Choose Edit.

How to set the channel accessibility monitoring?

8. Focus again on the streaming link, press How to set the channel accessibility monitoring? and choose Edit.

How to set the channel accessibility monitoring?

9. Unfold the Monitoring tabfill in the fields and press Save.

How to set the channel accessibility monitoring?

- put How to set the channel accessibility monitoring? for URL availability check.
- enter the direct link to the stream.

10. Press Save.

To get more information about the configuration of channels' monitoring, click here.



Need Help

Cindy is an expert on the Ministra TV platform and the author of this article.

Was this article helpful?

Yes No

Sorry to hear that.
How can we improve this article?

We use cookies in order to optimise our website, provide you with the best possible user experience and help us promote our products. Please read our Cookie Policy to find out how we use cookies and how you can control cookies.
By using this website or closing this message, you acknowledge our Privacy Policy and agree to our use of cookies as described in our Cookie Policy.