nagios监测dbbak

2018-07-12

nagios配置

 

1、数据库

ll crm_bak/expdp_all_exclude_big_2018-07-12-02.00.dmp
-rw-r----- 1 oracle oinstall 5521711104 Jul 12 02:21 crm_bak/expdp_all_exclude_big_2018-07-12-02.00.dmp

2、nrpe.cfg

command[check_bak]=/usr/local/nagios/libexec/check_file_age -w 172800 -c 345600 -W 107147264 -C 100000624 -f "/data1/backup/talk99_core_bak/expdp_coredb_`date -d yesterday +%Y-%m-%d-12.00`.dmp"

3、define service{
use                     generic-service
host_name               0db-172.20.1.189
service_description     crmdb bak
check_command           check_nrpe!check_bak
}

分类:数据库 | 标签: |

相关日志

评论被关闭!