mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- add todo to replace system() with IO.popen or something similar
This commit is contained in:
parent
21b1ce5019
commit
696c433c80
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue