script
Simple Backup Script with logrotate
A simple backup script using logrotate to save multiple backups. I use a NFS storage mounted via autofs as backup location. Database Backup is optional. #!/bin/bash # Backup Target (Network Share mostly via autofs) BACKUP_DIR=“/tmp/foo“ # Number of Backups BACKUP_NUM=3 # Directories to backup SOURCE_DIRS=“/var/www /var/log /etc“ # Backup savelog -n -l -q -c $BACKUP_NUM […]
Monitoring an Coldfusion server with Cacti
Da ich leider keine Coldfusion Templates für Cacti gefunden habe, habe ich hier mal kurz selber eines erstellt. Für die Abfrage wird cfstat benutzt. Cacti und Coldfusion laufen in dieser Konfiguration unter Linux.I don’t found a coldfusion template for Cacti so i created one. It uses cfstat. I use Cacti and coldfusion on Debian Linux. […]