监控系统 - mk-livestatus

/usr/bin/unixcat
/usr/lib64/check_mk/livestatus.o
/etc/xinetd.d/livestatus
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 
}
broker_module=/usr/lib64/check_mk/livestatus.o /var/nagios/rw/live log_file=/var/log/nagios/livestatus.log debug=1

你可能感兴趣的:(status)