瀏覽代碼

monitoring host

master
n 5 年之前
父節點
當前提交
c2407ce0bf
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      dump_mysql.sh
  2. 1
    1
      zfsync.sh

+ 1
- 1
dump_mysql.sh 查看文件

@@ -2,7 +2,7 @@

BACKUPDIR=/home/mysql_backup
LOGFILE=${BACKUPDIR}/my_dump_mysql.log
SENDNSCA=/usr/local/sbin/send_nsca\ -H\ 192.168.X.X\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
SENDNSCA=/usr/local/sbin/send_nsca\ -H\ <nagios_host>\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
HOSTNAME=`/bin/hostname -f | /usr/bin/cut -d '.' -f 1,2`
backup_success=1


+ 1
- 1
zfsync.sh 查看文件

@@ -11,7 +11,7 @@
bro="small"
pools="ftp mail web"

SENDNSCA=/usr/local/sbin/send_nsca\ -H\ 192.168.3.3\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
SENDNSCA=/usr/local/sbin/send_nsca\ -H\ <nagios_host>\ -d\ ';;'\ -c\ /usr/local/etc/nagios/send_nsca.cfg
HOSTNAME=`/bin/hostname -f | /usr/bin/cut -d '.' -f 1,1`
SERVICENAME=zfsync
LOGFILE=/tmp/zfsync.log

Loading…
取消
儲存