https://prefect.io logo
#prefect-ui
Title
# prefect-ui
j

Jacob Bedard

07/13/2022, 11:34 PM
Hi Folks, I'm trying to set an alert for any downed agents using the automations panel, but I'm a bit confused with the "agent config ID" portion of this. I need to specify one in order to create an automation for this in the UI, looks like. I keep getting a parsing error when I try to execute • prefect agent local start ... --agent-config-id "whatever" , or • prefect agent local start ... --agent-config-id whatever Do I have to create the agent config id somewhere? Can I set an alert for an agent without using this config id?
1
k

Kevin Kho

07/14/2022, 3:31 AM
Hi Jacon, you create the id using the UI when you make the automation and then start the agent with it
Yes you need the config id
a

Anna Geller

07/14/2022, 11:16 AM
Exactly as Kevin said - go to https://cloud.prefect.io/?automations, create agent config, then start an agent with it:
example alert
j

Jacob Bedard

07/14/2022, 3:30 PM
aaaahhhhhh. Thanks again folks!
3 Views