当前位置: 首页 > 工具软件 > mk-configure > 使用案例 >

监控系统 - mk-livestatus

柯梓
2023-12-01
/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
posted on 2015-04-09 11:07 北京涛子 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/liujitao79/p/4409098.html

 类似资料: