How to conduct the radio station monitoring?
To conduct the radio station monitoring you should set up the monitoring in configuration files and add the radio station to the monitoring in the administrative interface.
Monitoring status can have one of the following values: No errors or Errors occurred.
Setting up the monitoring of radio stations
1. Create the file custom.ini in configuration files directory /var/www/stalker_portal/server and add there login and password of API:
api_auth_login = stalker api_auth_password = stalker enable_api_log = true
2. Specify the following parameters in the file check_channels.sh (/var/www/stalker_portal/monitiring/check_channels.sh)
- API_URL parameter - login and password from custom.ini file and server
API_URL=http://api_auth_login:api_auth_password@127.0.0.1/stalker_portal/api/monitoring_links/
- MONITORING_TYPE parameter - radio
MONITORING_TYPE='radio'
3. Set the task cron in server setting to launch the command check_channels.sh and regular check of radio station list.
4. Open the tab Radio.
5. Focus on the radio station and press .
6. Choose Edit.
7. Put in the filed Monitoring
8. Press Save.
Please notice that the obligatory condition for radio station monitoring is an installed VLC player on the server.