====== Redmine Info ====== ===== Background ===== The Redmine project homepage is http://www.redmine.org/ ===== Create issues automatically ===== Cronjob runs on ops01 to create daily jobs:- /var/spool/cron/redmine 00 07 * * * /opt/redmine-1.2/scripts/create_issue.sh check-daily-alerts 00 07 * * * /opt/redmine-1.2/scripts/create_issue.sh check-daily-backups ''create_issue.sh'' contains:- #!/bin/bash FLD="/opt/redmine-1.2/gib-scripts/issues" echo $FLD/test if [ ! -f "$FLD/$1" ]; then echo "Usage: ./create_issue.sh example" echo "example - a file stored in ./issues/ folder" exit 0 fi cat ${FLD}/$1 | /usr/bin/ruby /opt/redmine-1.2/extra/mail_handler/rdm-mailhandler.rb --url=https://gi-ops01.giprod.int.igt.com --key=EYq0MRk6rU2LlHv6fRG3 --project=schgib --tracker=Task --category=Other --status=New --priority=Normal $1 is check-daily-alerts This calls a file called check-daily-alerts containing :- From: fred@example.com To: scheduled@example.com Subject: Check for new alerts + Check all new mail alerts + Check Nagios for new alerts and ensure all monitors are enabled + Check Cacti for new alerts and ensure all monitors are enabled