Monitoring and Reporting Script home setup on mware

Temporary

mware is only temporarily going to be the home of these scripts. see SAK-1172 for details on the permanent home

Introduction

This page documents the setup on mware to run the monitoring and reporting scripts for smartsite.

Users

mware has local user management. To conform with this, there will be a user created for each developer, and a sakai user. Each developer user will have access to sudo to become the sakai user.

Sakai User directory layout

The sakai user will be laid out as follows:

/home/sakai/opt - Directory containing programs used in operation of the scripts(eg, groovy/java )
/home/sakai/apps - Directory contaiing various apps(Each script/runnable entity should be considered an app)
/home/sakai/common_lib - Common jars/libs for apps that may be used in the apps. apps don't have to use them, but it should be encouraged to save space.

Each app would be best to have a run.sh like script to run the script easily out of cron, but this is not a requirement.