常青树 发表于 2018-9-1 12:35:57

Powershell + Nagios 监控 VEEAM 备份状态

define command {  
   command_namecheck_veeamjob
  
   command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c $ARG1$ -a $ARG2$
  
}
  

  
define host{
  
      use             windows-server;
  
      host_name       DRVBR01 ;
  
      alias         DRVBR01    ;
  
      address         10.9.1.74       ;
  
      parents         SYD3750COLO
  
         }
  

  
define service{
  
      use                     generic-service
  
      host_name               DRVBR01
  
      servicegroups         windows-services
  
      service_description   VEEAM REPLICATION JOB - Finance
  
      check_command         check_veeamjob!financejob!'Finance Servers - Replication'
  
      }


页: [1]
查看完整版本: Powershell + Nagios 监控 VEEAM 备份状态