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
printbcolor.YELLOW+"You have not provided an IP/DNS name of the PRTG Core Server."+bcolor.END
214
228
returnget_config_ip()
215
229
216
-
defget_config_port(default="443"):
230
+
defget_config_port(default):
217
231
tmpPort="%s"%str(raw_input(bcolor.GREEN+"Please provide the port the PRTG web server is listening to (IMPORTANT: Only SSL is supported)["+default+"]: "+bcolor.END)).rstrip().lstrip()
218
232
ifnottmpPort=="":
219
233
returntmpPort
220
234
else:
221
235
returndefault
222
236
223
-
defget_config_base_interval(default="60"):
237
+
defget_config_base_interval(default):
224
238
tmpInterval="%s"%str(raw_input(bcolor.GREEN+"Please provide the base interval for your sensors ["+default+"]: "+bcolor.END)).rstrip().lstrip()
225
239
ifnottmpInterval=="":
226
240
returntmpInterval
227
241
else:
228
242
returndefault
229
243
230
-
defget_config_access_key(default=""):
244
+
defget_config_access_key(default):
231
245
tmpAccessKey="%s"%str(raw_input(bcolor.GREEN+"Please provide the Probe Access Key as defined on the PRTG Core ["+default+"]: "+bcolor.END)).rstrip().lstrip()
tmpDebug="%s"%str(raw_input(bcolor.GREEN+"Do you want to enable debug logging ("+bcolor.YELLOW+"can create massive logfiles!"+bcolor.GREEN+") [y/N]: "+bcolor.END)).rstrip().lstrip()
264
278
iftmpDebug.lower() =="y":
265
279
tmpDebug1="%s"%str(raw_input(bcolor.YELLOW+"Are you sure you want to enable debug logging? This will create massive logfiles [y/N]: "+bcolor.END)).rstrip().lstrip()
0 commit comments