Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Merge pull request #35 from fbardella-zd/patch-1
Browse files Browse the repository at this point in the history
Update nagsrv
  • Loading branch information
ripienaar committed Feb 12, 2015
2 parents afc06a1 + 6d43809 commit 17cfdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/nagsrv
Expand Up @@ -44,7 +44,7 @@
# Force checks for selected services
#
# --acknowledge
# Ackknowledge services without sending notifies
# Acknowledge services without sending notifies
#
# --delete-comments
# Delete the comments for selected services
Expand Down Expand Up @@ -140,7 +140,7 @@ OptionParser.new do |opts|
action = "[${tstamp}] SCHEDULE_FORCED_SVC_CHECK;${host};${service};${tstamp}"
end

opts.on("--ackknowledge", "Ackknowledge services without sending notifies") do
opts.on("--acknowledge", "Acknowledge services without sending notifies") do
action = "[${tstamp}] ACKNOWLEDGE_SVC_PROBLEM;${host};${service};1;0;1;#{ENV['USER']};Acknowledged from CLI"
end

Expand Down

0 comments on commit 17cfdaa

Please sign in to comment.