true}] [1] health.0: [1624145989.305575360, {"alive"=>true}] [2] health.0: [1624145990.306498573, {"alive"=>true}] [3] health.0: [1624145991.305595498, {"alive"=>true}]"> true}] [1] health.0: [1624145989.305575360, {"alive"=>true}] [2] health.0: [1624145990.306498573, {"alive"=>true}] [3] health.0: [1624145991.305595498, {"alive"=>true}]"> true}] [1] health.0: [1624145989.305575360, {"alive"=>true}] [2] health.0: [1624145990.306498573, {"alive"=>true}] [3] health.0: [1624145991.305595498, {"alive"=>true}]">
[INPUT]
    Name          health
    Host          127.0.0.1
    Port          80
    Interval_Sec  1
    Interval_NSec 0

[OUTPUT]
    Name   stdout
    Match  *
---
[0] health.0: [1624145988.305640385, {"alive"=>true}]
[1] health.0: [1624145989.305575360, {"alive"=>true}]
[2] health.0: [1624145990.306498573, {"alive"=>true}]
[3] health.0: [1624145991.305595498, {"alive"=>true}]

구성

[INPUT]
    Name health
    Host 127.0.0.1 # 호스트 이름
    Port 80 # 호스트 포트
    Interval_Sec 1 # 요청 간격(초)
    Interval_NSec 100 # 요청 간격(나노초)
    Alert true | false # 활성화 시 서비스 다운 상태에만 메세지 생성