Cron Jobs

From HISCOM

Jump to: navigation, search

Monitoring Service

  • as root on the AVH host, copy avh/check-avh-instances.pl script to /usr/local/bin
  • make sure you have the following Perl libraries installed on the AVH Host, e.g. perl -MCPAN -e 'install DBI'
    • LWP::Simple
    • DBI
    • DBI::mysql
  • install and configure sendmail
  • configure /usr/local/bin/check-avh-instances.pl by specifying the correct fields to use in the "Modify" section of the script
  • run "crontab -e" and insert this line:
    */10 * * * * /usr/local/bin/check-avh-instances.pl
Personal tools