nixos-module/collectd/dhcpcount.rb: bump INTERVAL to 300
script generates considerable load :(
This commit is contained in:
parent
c0781ea212
commit
b2913f2d8e
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
require 'date'
|
require 'date'
|
||||||
|
|
||||||
INTERVAL = 10
|
INTERVAL = 300
|
||||||
TIMEOUT = ARGV[0].to_i
|
TIMEOUT = ARGV[0].to_i
|
||||||
hostname = IO::readlines("/proc/sys/kernel/hostname").join.strip
|
hostname = IO::readlines("/proc/sys/kernel/hostname").join.strip
|
||||||
STDOUT.sync = true
|
STDOUT.sync = true
|
||||||
|
|
Loading…
Reference in New Issue