1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2026-02-05 22:55:17 +01:00

Bugfix, whitespace in eva system name fixed by Martin Hauke

This commit is contained in:
Pall Sigurdsson
2011-08-22 16:07:54 +00:00
parent 09530634de
commit 6f533c756c
2 changed files with 31 additions and 7 deletions

View File

@@ -203,11 +203,11 @@ def run_sssu(system=None, command="ls system full"):
commands.append(continue_on_error)
commands.append(login)
if system != None:
commands.append("select SYSTEM %s" % system)
commands.append('select SYSTEM "%s"' % system)
commands.append(command)
commandstring = "sssu "
for i in commands: commandstring = commandstring + '"%s" '% i
for i in commands: commandstring = commandstring + "'%s' " % i
global server_side_troubleshooting
if server_side_troubleshooting == True:
commandstring = 'cat "debug/%s"' % command