Child pages
  • Monitoring Setup and Configuration
Skip to end of metadata
Go to start of metadata


Rudimentary monitoring of core server data is done using a combination of a set of Perl scripts from AWS and CloudWatch.  In addition to these EC2 instance key metric checks, full end-to-end testing of Shibboleth is accomplished using webisoget which is available from

The steps necessary to install and configure these tools is described below.

Prerequisite Perl Script Tasks

On AWS Linux

yum -y install perl-Switch perl-Sys-Syslog perl-LWP-Protocol-https


yum -y install ftp

cd /root

<log in as anonymous>
cd pub/CPAN/authors/id/G/GA/GAAS
get libwww-perl-5.837.tar.gz

cd libwww-perl
perl Makefile.PL
make install

Perl Script Installation

For both AWS Linux and RHEL

cd /root
cd aws-scripts-mon
cp awscreds.template awscreds
Edit and insert proper credentials
Then, as root, 'crontab -e' and add the following to root's crontab:

# Send key instance statistics to cloudwatch every 5 minutes
*/5 * * * * /root/aws-scripts-mon/ --aws-credential-file=/root/aws-scripts-mon/awscreds --disk-path=/ --disk-space-util --mem-util --swap-util --from-cron
  • No labels