Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Jun 24, 2014
1 parent 3dfe8e9 commit 65af91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstash/outputs/nagios_nsca.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def receive(event)
# 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}"

Expand Down

0 comments on commit 65af91d

Please sign in to comment.