Merge pull request #1361 from bpennypacker/nagios-rawcommand-fix

monitoring/nagios bug: nagios/icinga error due to extraneous space at end of command string
reviewable/pr18780/r1
Brian Coca 9 years ago
commit b51a662258

@ -873,7 +873,7 @@ class Nagios(object):
pre = '[%s]' % int(time.time()) pre = '[%s]' % int(time.time())
post = '\n' post = '\n'
cmdstr = '%s %s %s' % (pre, cmd, post) cmdstr = '%s %s%s' % (pre, cmd, post)
self._write_command(cmdstr) self._write_command(cmdstr)
def act(self): def act(self):

Loading…
Cancel
Save