# check if an interface is dropping packets
# the alarm is checked every 1 minute
-# and examines the last hour of data
+# and examines the last 10 minutes of data
-template: 1hour_packet_drops_inbound
+template: inbound_packets_dropped
on: net.drops
families: *
- lookup: sum -1h unaligned absolute of inbound
+ lookup: sum -10m unaligned absolute of inbound
units: packets
every: 1m
warn: $this > 0
- delay: down 30m multiplier 1.5 max 1h
- info: interface inbound dropped packets in the last hour
+ delay: down 1h multiplier 1.5 max 2h
+ info: interface inbound dropped packets in the last 10 minutes
to: sysadmin
-template: 1hour_packet_drops_outbound
+template: outbound_packets_dropped
on: net.drops
families: *
- lookup: sum -1h unaligned absolute of outbound
+ lookup: sum -10m unaligned absolute of outbound
units: packets
every: 1m
warn: $this > 0
- delay: down 30m multiplier 1.5 max 1h
- info: interface outbound dropped packets in the last hour
+ delay: down 1h multiplier 1.5 max 2h
+ info: interface outbound dropped packets in the last 10 minutes
to: sysadmin
-template: 1hour_packet_drops_ratio_inbound
+template: inbound_packets_dropped_ratio
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))
+ lookup: sum -10m unaligned absolute of received
+ calc: (($inbound_packets_dropped != nan AND $this > 0) ? ($inbound_packets_dropped * 100 / $this) : (0))
units: %
every: 1m
warn: $this > 0.5
crit: $this > 3
- delay: down 30m multiplier 1.5 max 1h
- info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last hour
+ delay: down 1h multiplier 1.5 max 2h
+ info: the ratio of inbound dropped packets vs the total number of received packets of the network interface, during the last 10 minutes
to: sysadmin
-template: 1hour_packet_drops_ratio_outbound
+template: outbound_packets_dropped_ratio
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))
+ lookup: sum -10m unaligned absolute of sent
+ calc: (($outbound_packets_dropped != nan AND $this > 0) ? ($outbound_packets_dropped * 100 / $this) : (0))
units: %
every: 1m
warn: $this > 0.5
crit: $this > 3
- delay: down 30m multiplier 1.5 max 1h
- info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last hour
+ delay: down 1h multiplier 1.5 max 2h
+ info: the ratio of outbound dropped packets vs the total number of sent packets of the network interface, during the last 10 minutes
to: sysadmin
# check if an interface is having FIFO
# buffer errors
# the alarm is checked every 1 minute
-# and examines the last hour of data
+# and examines the last 10 minutes of data
-template: 1hour_fifo_errors
+template: 10min_fifo_errors
on: net.fifo
families: *
- lookup: sum -1h unaligned absolute
+ lookup: sum -10m unaligned absolute
units: errors
every: 1m
warn: $this > 0
- delay: down 30m multiplier 1.5 max 1h
- info: interface fifo errors in the last hour
+ delay: down 1h multiplier 1.5 max 2h
+ info: interface fifo errors in the last 10 minutes
to: sysadmin
units: %
warn: $this > (($status >= $WARNING)?(200):(1000))
crit: $this > (($status >= $WARNING)?(1000):(2000))
+options: no-clear-notification
info: the % of the rate of received packets in the last 10 seconds, compared to the rate of the last minute
- to: silent
+ to: sysadmin