poun 发表于 2015-9-9 07:37:59

监控系统

service livestatus  {
  type      = UNLISTED
  port      = 6557
  socket_type = stream
  protocol    = tcp
  wait      = no
  disable   = no
  
  # limit to 100 connections per second. Disable 3 secs if above.
  cps             = 100 3
  
  # set the number of maximum allowed parallel instances of unixcat.
  # Please make sure that this values is at least as high as
  # the number of threads defined with num_client_threads in
  # etc/mk-livestatus/nagios.cfg
  instances       = 500
  
  # limit the maximum number of simultaneous connections from
  # one source IP address
  per_source      = 250
  
  # Disable TCP delay, makes connection more responsive
  flags         = NODELAY
  user            = nagios
  server          = /usr/bin/unixcat
  server_args   = /var/nagios/rw/live
  
  # configure the IP address(es) of your Nagios server here:
  # only_from       = 127.0.0.1 10.0.20.1 10.0.20.2
  }
页: [1]
查看完整版本: 监控系统