Lines Matching +full:application +full:- +full:default +full:- +full:credentials
5 # Will only stop running if the Canary application itself has an issue - in which case it Canary ap…
16 # TODO - Using subprocess may not work on Windows for starting/stopping the application thread.
22 command_parser.add_argument("--canary_executable", type=str, required=True,
24 command_parser.add_argument("--canary_arguments", type=str, default="",
26 command_parser.add_argument("--s3_bucket_name", type=str, default="canary-wrapper-folder",
27 …help="(OPTIONAL, default=canary-wrapper-folder) The name of the S3 bucket where success logs will …
28 command_parser.add_argument("--s3_bucket_application", type=str, required=True,
29 …help="(OPTIONAL, default=canary-wrapper-folder) The S3 URL to monitor for changes MINUS the bucket…
30 command_parser.add_argument("--s3_bucket_application_in_zip", type=str, required=False, default="",
31 …help="(OPTIONAL, default="") The file path in the zip folder where the application is stored. Will…
32 command_parser.add_argument("--lambda_name", type=str, default="iot-send-email-lambda",
33 help="(OPTIONAL, default='CanarySendEmailLambda') The name of the Lambda used to send emails")
38 # NOTE - These should likely be replaced with futures or similar for better thread safety.
42 # The local file path (and extension) of the Canary application that the wrapper will manage
47 print ("ERROR - required canary_executable is empty!")
55 # The "Git Repo" name to use for metrics and dimensions. Is hard-coded since this is a 24/7 canary …
61 # The S3 bucket name to monitor for the application
65 canary_s3_bucket_name = "canary-wrapper-folder"
66 # The file in the S3 bucket to monitor (The application filepath and file. Example: "canary/canary_…
70 print ("ERROR - required s3_bucket_application is empty!")
77 # The name of the email lambda. If an empty string is set, it defaults to 'iot-send-email-lambda'
79 command_parser_arguments.lambda_name = "iot-send-email-lambda"
82 canary_region_stub = "us-east-1"
86 # How long (in seconds) to run the Application thread loop. Should be shorter or equal to the Canar…
89 # For testing - set both to 30 seconds
115 print ("INFO - Stopping application due to error caused by credentials")
116 print ("Please fix your credentials and then restart this application again")
141 data_snapshot.register_dashboard_widget("Process CPU Usage - Percentage", ["total_cpu_usage"], 60)
142 data_snapshot.register_dashboard_widget("Process Memory Usage - Percentage", ["total_memory_usage_p…
156 print ("INFO - Stopping application due to error caused by credentials")
157 print ("Please fix your credentials and then restart this application again")
167 print ("INFO - Stopping application due to error caused by credentials")
168 print ("Please fix your credentials and then restart this application again")
171 # Make the application monitor
180 print ("INFO - Stopping application due to error caused by credentials")
181 print ("Please fix your credentials and then restart this application again")
198 # Stop the application
199 print ("[Debug] Stopping application monitor...")
203 # Start the application
204 print ("[Debug] Starting application monitor...")
222 print ("[Debug] Application monitor error occurred!")
231 # Start the application going
237 …4/7 Canary Wrapper has started. This will run and continue to test new MQTT5 application builds as"
260 print ("ERROR - S3 monitor stopped due to internal error!")
281 # We do not need to cut a ticket here - it's cut by the snapshot monitor!
282 print ("ERROR - Snapshot monitor stopped due to metric in alarm!")
285 …finished_email_body += "\nNOTE - this shouldn't occur in the 24/7 Canary! If it does, then the wra…
288 print ("ERROR - Snapshot monitor stopped due to internal error!")
306 # Application Monitor
309 print ("INFO - Stopping application due to error caused by credentials")
310 print ("Please fix your credentials and then restart this application again")
322 …ticket_description="The 24/7 Canary exited with a non-zero exit code! This likely means something …
323 ticket_reason="The 24/7 Canary exited with a non-zero exit code",
331 … finished_email_body += "Failure due to MQTT5 application exiting with a non-zero exit code!"
332 … finished_email_body += " This means something in the Canary application itself failed"
349 …finished_email_body += "Failure due to MQTT5 application stopping and not automatically restarting…
353 print ("ERROR - 24/7 Canary stopped due to unknown reason!")
394 exit (-1)
397 # Start the application!