mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Fix typo
This commit is contained in:
parent
2c0f5a12f9
commit
fae8b92be9
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class LogStash::Outputs::NagiosNsca < LogStash::Outputs::Base
|
|||
# syntax: echo '<server>!<nagios_service>!<status>!<text>' | \
|
||||
# /usr/sbin/send_nsca -H <nagios_host> -d '!' -c <nsca_config>"
|
||||
|
||||
cmd = [@send_nsca_bin, "-H", "@host", "-p", "@port", "-d", "~"]
|
||||
cmd = [@send_nsca_bin, "-H", @host, "-p", @port, "-d", "~"]
|
||||
cmd = cmd + ["-c", @send_nsca_config] if @send_nsca_config
|
||||
message = "#{nagios_host}~#{nagios_service}~#{status}~#{msg}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue