samdung 发表于 2018-9-29 07:42:14

nagios监控mysql主机,nginx,cpu,网卡流量

define service{  use                           generic-service         ; Name of service template to use
  host_name                     252
  service_description             mysql
  check_command                   check_mysql!192.168.1.252!3306!liuyu!123456
  #       notifications_enabled         0    此项定义是否发送报警信息,0为关闭,1为开启
  }
  重启nagios服务

页: [1]
查看完整版本: nagios监控mysql主机,nginx,cpu,网卡流量