You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tmpAccessKey="%s"%str(raw_input(bcolor.GREEN+"Please provide the Probe Access Key as defined on the PRTG Core ["+default+"]: "+bcolor.END)).rstrip().lstrip()
211
-
ifnottmpAccessKey=="":
232
+
ifnot (tmpAccessKey=="") ornot (default==""):
233
+
if (tmpAccessKey=="") andnot (default==""):
234
+
tmpAccessKey=default
212
235
returntmpAccessKey
213
236
else:
214
237
printbcolor.YELLOW+"You have not provided the Probe Access Key as defined on the PRTG Core."+bcolor.END
probe_config_exists="%s"%str(raw_input(bcolor.YELLOW+"A config file was already found. Do you want to reconfigure [y/N]: "+bcolor.END)).rstrip().lstrip()
330
353
ifprobe_config_exists.lower() =="y":
331
-
get_config()
354
+
config_old=read_config(path)
355
+
get_config(config_old)
332
356
else:
333
357
print""
334
358
uninstall="%s"%str(raw_input(bcolor.YELLOW+"Do you want to Uninstall or Restart the service [u/R]: "+bcolor.END)).rstrip().lstrip()
0 commit comments