- add todo to replace system() with IO.popen or something similar

This commit is contained in:
Jordan Sissel 2012-01-31 14:30:47 -08:00
parent 21b1ce5019
commit 696c433c80

View file

@ -93,6 +93,8 @@ class LogStash::Outputs::Zabbix < LogStash::Outputs::Base
@logger.debug("Running zabbix command", :command => cmd)
begin
# TODO(sissel): Update this to use IO.popen so we can capture the output and
# log it accordingly.
system(cmd)
rescue => e
@logger.warn("Skipping zabbix output; error calling zabbix_sender",