lib/riemann/tools/ntp.rb in riemann-tools-1.10.0 vs lib/riemann/tools/ntp.rb in riemann-tools-1.11.0
- old
+ new
@@ -7,9 +7,11 @@
module Tools
class Ntp
include Riemann::Tools
def initialize
+ super
+
@hostname = `hostname`.chomp
@ostype = `uname -s`.chomp.downcase
abort 'WARNING: macOS not explicitly supported. Exiting.' if @ostype == 'darwin'
end