mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 10:23:46 +01:00
This commit is contained in:
parent
802a78211c
commit
8c129c6fea
Binary file not shown.
@ -48,6 +48,8 @@ escape_newlines = False
|
|||||||
check_system = None # By default check all systems
|
check_system = None # By default check all systems
|
||||||
proxyserver = None
|
proxyserver = None
|
||||||
|
|
||||||
|
server_side_troubleshooting = False # set to true, if you do not have sssu binary handy
|
||||||
|
|
||||||
# No real need to change anything below here
|
# No real need to change anything below here
|
||||||
version="1.0"
|
version="1.0"
|
||||||
ok=0
|
ok=0
|
||||||
@ -206,7 +208,9 @@ def run_sssu(system=None, command="ls system full"):
|
|||||||
|
|
||||||
commandstring = "sssu "
|
commandstring = "sssu "
|
||||||
for i in commands: commandstring = commandstring + '"%s" '% i
|
for i in commands: commandstring = commandstring + '"%s" '% i
|
||||||
commandstring = 'cat "debug/%s"' % command
|
global server_side_troubleshooting
|
||||||
|
if server_side_troubleshooting == True:
|
||||||
|
commandstring = 'cat "debug/%s"' % command
|
||||||
|
|
||||||
#print mystring
|
#print mystring
|
||||||
#if command == "ls system full":
|
#if command == "ls system full":
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user