HEX
Server: LiteSpeed
System: Linux s3.sitechai.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: workzeni (2217)
PHP: 8.1.32
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: //lib/netdata/conf.d/health.d/streaming.conf
# ---------------------------------------------------------------------------------------------------------------------
# Alert when there are permanent nodes which never connected (during this session)

# If these nodes nodes should actually be ephemeral, run:
#
#   netdatacli mark-stale-nodes-ephemeral ALL_NODES
#
# or if you want to delete all the archived nodes, run:
#
#   netdatacli remove-stale-node ALL_NODES
#

     template: streaming_never_connected
           on: netdata.streaming_inbound
        class: Availability
         type: Streaming
    component: Streaming
 chart labels: type=permanent
         calc: ${stale archived}
        units: nodes
        every: 10s
         warn: $netdata.uptime.uptime > 30 * 60 AND $this > 0
        delay: up 5m down 5m multiplier 1.5 max 30m
      summary: Permanent streaming nodes never connected
         info: Permanent child nodes never connected to this parent. \
               If these nodes should actually be ephemeral, run: \
               netdatacli mark-stale-nodes-ephemeral ALL_NODES
           to: silent

# ---------------------------------------------------------------------------------------------------------------------
# Alert when there are permanent nodes which disconnected (during this session)

# If nodes are expected to disconnect, mark them as ephemeral, by editing their netdata.conf
# and setting:
#
# [global]
#    is ephemeral node = yes
#
# and then restarting netdata

     template: streaming_disconnected
           on: netdata.streaming_inbound
        class: Availability
         type: Streaming
    component: Streaming
 chart labels: type=permanent
         calc: ${stale disconnected}
        units: nodes
        every: 10s
         warn: $netdata.uptime.uptime > 30 * 60 AND $this > 0
        delay: up 5m down 5m multiplier 1.5 max 30m
      summary: Permanent streaming nodes disconnected
         info: Permanent child nodes disconnected from this parent. \
               If nodes are expected to disconnect, mark them as ephemeral, by editing their netdata.conf \
               and setting: [global].is ephemeral node = yes
           to: silent