-
Notifications
You must be signed in to change notification settings - Fork 204
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane teambugSomething isn't workingSomething isn't working
Description
While investigating #6049 I tried to set the failure_threshold using fleet override API, however this is parsed as a float64 by agent which is not supported at the moment, for example:
PUT kbn:/api/fleet/agent_policies/<policy_id>
{
"name": <policy_name>,
"namespace": "default",
"overrides": {
"agent": {
"monitoring": {
"failure_threshold": 5
}
}
}
}
Optionally figure out how to reset the failure_threshold to default from fleet, agent should probably check if there's a monitoring section coming from fleet but no failure_threshold key and reset its monitoring failure_threshold
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane teambugSomething isn't workingSomething isn't working