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:
Brian Coca 2015-12-11 23:21:05 -05:00
commit b51a662258

View file

@ -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):