amazon's micro instance isn't suitable for airtime
you can use a tool for monitoring, or maybe creating a daemon checking server's status each minute. You can extract loadavg, and free mem in a easy way through a bash script
sudo apt-get install nagios3
root: your_address
command[check_apache]=/usr/lib/nagios/plugins/check_procs -c 0:40 -w 5:25 -a 'apache2'
command[check_liquidsoap]=/usr/lib/nagios/plugins/check_procs -c 0: -w 1:10 -a 'liquidsoap'
command[check_media_monitor]=/usr/lib/nagios/plugins/check_procs -c 0:150 -w 10:120 -a 'media_monitor'
command[check_rabbitmq]=/usr/lib/nagios/plugins/check_procs -c 0: -w 1:10 -a 'rabbitmq'
define service{
use generic-service
host_name dtphsairtimeakghp
service_description Airtime stream less than -20db
check_command check_json!-H 10.0.70.120 -P 8321 --key_equals silenceDuration,0:3 -c silenceDuration,4 -m silenceDuration
check_interval 1
}
The -m adds performance data on the silenceDuration field.
It looks like you're new here. If you want to get involved, click one of these buttons!