Uptime


Uptime Install Instructions
Installation Instructions

  1. You must have AOLserver, Postgres, and nspostgres modules installed.

    You can find AOLserver installation documentation from AOLserver or OpenACS.

  2. Grab the uptime distribution http://uptime.openacs.org/uptime/docs/

  3. Decieded where you want to install the software, I use /web, create the directory and extract the tar ball.
    # mkdir /web (as root)
    # chown nsadmin:web /web
    # chmod 700 /web
    # su - nsadmin
    nsadmin@uptime: cd /tmp
    nsadmin@uptime: wget http://uptime.openacs.org/uptime/doc/uptime-pg-current.tar.gz
    nsadmin@uptime: cd /web
    nsadmin@uptime: gzip -dc /tmp/uptime-pg-current.tar.gz| tar xvf -
    

  4. Edit the following files:

    • /web/uptime/etc/uptime.tcl
    • /web/uptime/tcl/backup.tcl
    • /web/uptime/tcl/uptime-defs.tcl

  5. Create the postgres database
    # su - postgres
    postgres@uptime: createuser nsadmin (answer yes to both questions)
    postgres@uptime: exit
    # su - nsadmin
    nsadmin@uptime: createdb uptime
    nsadmin@uptime: psql -f /web/uptime/www/uptime/doc/sql/postgres.sql uptime
    nsadmin@uptime: psql -f /web/uptime/www/uptime/doc/sql/data-model.sql uptime
    

Start the AOLserver for uptime and everything should be running.

Included are some crontab entries uptime.crontab. You may choose to use them if you want.


uptime@alal.com