Merge pull request #1361 from bpennypacker/nagios-rawcommand-fix
monitoring/nagios bug: nagios/icinga error due to extraneous space at end of command string
This commit is contained in:
commit
b51a662258
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ class Nagios(object):
|
|||
pre = '[%s]' % int(time.time())
|
||||
|
||||
post = '\n'
|
||||
cmdstr = '%s %s %s' % (pre, cmd, post)
|
||||
cmdstr = '%s %s%s' % (pre, cmd, post)
|
||||
self._write_command(cmdstr)
|
||||
|
||||
def act(self):
|
||||
|
|
Loading…
Reference in a new issue