From b2913f2d8ed35d40f9ff22f63ed0b51ca6503c1b Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 28 Jun 2022 03:22:14 +0200 Subject: [PATCH] nixos-module/collectd/dhcpcount.rb: bump INTERVAL to 300 script generates considerable load :( --- nix/nixos-module/collectd/dhcpcount.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/nixos-module/collectd/dhcpcount.rb b/nix/nixos-module/collectd/dhcpcount.rb index 73cb81d..094d9f0 100644 --- a/nix/nixos-module/collectd/dhcpcount.rb +++ b/nix/nixos-module/collectd/dhcpcount.rb @@ -2,7 +2,7 @@ require 'date' -INTERVAL = 10 +INTERVAL = 300 TIMEOUT = ARGV[0].to_i hostname = IO::readlines("/proc/sys/kernel/hostname").join.strip STDOUT.sync = true