A Fast and Simple Way to Send Push Notifications to Your Mobile Device.
Download our Pager app for free and start receiving push notifications on your device.
Enter the following link on the browser.
https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=MESSAGE
You need to download and install wget to be able to send notifications on the command line. Once installed, you can run below command.
wget 'https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=MESSAGE'
You can use the curl command on Linux-based systems
curl 'https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=MESSAGE'
From the Pager app, you can define custom alerts with it's own vibration pattern and ringtone. Then use this alert when sending messages by including &alert_tag=ALERT_TAG on the API call. Make sure to change ALERT_TAG with the tag name of the alert you created.
curl 'https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=MESSAGE&alert_tag=ALERT_TAG'
Additional optional parameters that you can use are from and subject
curl 'https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=The database server is currently down!&subject=Server Down&from=IT Team'
You can setup a monitoring system for your server and get notified whenever there is a downtime.
See example below that monitors google.com
#!/bin/bash
# A script that check for server connectivity
# and sends a notification message when the server connectivity is lost
count=$(ping -c 4 google.com | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
if [ $count -eq 0 ]; then
curl 'https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=Lost connectivity to the server!&subject=Server Offline&from=IT Team'
sleep 3
fi
This can be scheduled to run repeatedly for a certain period, like every minute. See example below that schedules this using cron on Linux. Save the above shell script and save it as cron_server_check.sh, then use below code on your cron to execute the script every minute. Change path_to_script to the correct path of your script file.
*/1 * * * * bash /path_to_script/cron_server_check.sh
Get notified when a long running task has completed.
Example below is a task that does a full backup. Once the backup has completed, you will get a notification on the completion status.
#!/bin/bash
rsync -aq SOURCE DEST
curl 'https://notification.tercero-ainuler.com/?action=send&to=DEVICE_KEY&message=Backup of Files have been completed!&subject=Maintenance&from=IT Team'
Receive notifications regarding leave, roster, and self-service request approvals.
Use the following steps to enable integration with HRIMS