diff --git a/check_hpacucli/check_hpacucli.py b/check_hpacucli/check_hpacucli.py index 571fcbc..1dd5dde 100644 --- a/check_hpacucli/check_hpacucli.py +++ b/check_hpacucli/check_hpacucli.py @@ -164,7 +164,7 @@ def run_hpacucli(run_type='controllers', controller=None): else: end() return - command = command % (subcommand, identifier) + command = command % (identifier, subcommand) debug(command) if sudo: command = "sudo " + command