#!/usr/bin/ruby ## send_host_up : send_nsca wrapper # @server='dev.atlbbs.com' @host='nil' @send='/usr/sbin/send_nsca' IO.popen("#{@send} -H #{@server}", "w") do |f| f << "#{@host}\t0\tだいじょうぶ\n" end