lib/sermont.rb in xinuc-sermont-0.2.5 vs lib/sermont.rb in xinuc-sermont-0.2.6
- old
+ new
@@ -123,10 +123,10 @@
@raw ? "In Trouble\n" : bold + on_red + white + "In Trouble" + clear + "\n"
end
end
def handle_host(servername, ip)
- host_str(servername) + host_status(self.ping ip)
+ host_str(servername) + host_status(self.ping(ip))
end
def service_str(service)
if @raw
" #{service} is " + dotspace(service, 5, 10)
\ No newline at end of file