]> arthur.barton.de Git - netdata.git/blobdiff - conf.d/health.d/net.conf
added families lines to disk and network alarm templates
[netdata.git] / conf.d / health.d / net.conf
index f969f17b9c47cbe0e2f109392e9656d6311ebfad..11f7c43e7bf9480c5b2ffbd09b6dfd7cc21fedb5 100644 (file)
@@ -3,6 +3,7 @@
 
 template: interface_last_collected_secs
       on: net.net
+families: *
     calc: $now - $last_collected_t
    units: seconds ago
    every: 10s
@@ -22,6 +23,7 @@ template: interface_last_collected_secs
 
 template: 1hour_packet_drops_inbound
       on: net.drops
+families: *
   lookup: sum -1h unaligned absolute of inbound
    units: packets
    every: 1m
@@ -32,6 +34,7 @@ template: 1hour_packet_drops_inbound
 
 template: 1hour_packet_drops_outbound
       on: net.drops
+families: *
   lookup: sum -1h unaligned absolute of outbound
    units: packets
    every: 1m
@@ -42,6 +45,7 @@ template: 1hour_packet_drops_outbound
 
 template: 1hour_packet_drops_ratio_inbound
       on: net.packets
+families: *
   lookup: sum -1h unaligned absolute of received
     calc: (($1hour_packet_drops_inbound != nan AND $this > 0) ? ($1hour_packet_drops_inbound * 100 / $this) : (0))
    units: %
@@ -54,6 +58,7 @@ template: 1hour_packet_drops_ratio_inbound
 
 template: 1hour_packet_drops_ratio_outbound
       on: net.packets
+families: *
   lookup: sum -1h unaligned absolute of sent
     calc: (($1hour_packet_drops_outbound != nan AND $this > 0) ? ($1hour_packet_drops_outbound * 100 / $this) : (0))
    units: %
@@ -75,6 +80,7 @@ template: 1hour_packet_drops_ratio_outbound
 
 template: 1hour_fifo_errors
       on: net.fifo
+families: *
   lookup: sum -1h unaligned absolute
    units: errors
    every: 1m
@@ -95,6 +101,7 @@ template: 1hour_fifo_errors
 
 template: 1m_received_packets_rate
       on: net.packets
+families: *
   lookup: average -1m of received
    units: packets
    every: 10s
@@ -102,6 +109,7 @@ template: 1m_received_packets_rate
 
 template: 10s_received_packets_storm
       on: net.packets
+families: *
   lookup: average -10s of received
     calc: $this * 100 / (($1m_received_packets_rate < 1000)?(1000):($1m_received_packets_rate))
    every: 10s