-
Notifications
You must be signed in to change notification settings - Fork 206
Creates agentless troubleshooting page #6184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
349f55c
create agentless troubleshooting steps
benironside 7189d82
incorporates Omolola's comment
benironside fe3b6df
incorporates Nastasha's review and adds serverless version
benironside b1deec6
fixes typo
benironside 81ded14
Merge branch 'main' into 6044-agentless-faq-2
benironside 4921bf5
fix fleet refs
benironside 00c52d8
minor edit
benironside 747cdf7
incorporates Janeen's review and updates fleet refs in ESS version
benironside File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| [[agentless-integration-troubleshooting]] | ||
| = Agentless integrations FAQ | ||
|
|
||
| Frequently asked questions and troubleshooting steps for {elastic-sec}'s agentless CSPM integration. | ||
|
|
||
| [discrete] | ||
| == When I make a new integration, how long until the agent appears on the Integration Policies page? | ||
|
|
||
| After you create a new agentless integration, the new integration policy may show a button that says **Add agent** instead of the associated agent for several minutes during agent enrollment. No action is needed other than refreshing the page once enrollment is complete. | ||
|
|
||
| [discrete] | ||
| == How do I troubleshoot an `Offline` agent? | ||
|
|
||
| For agentless integrations to successfully connect to {elastic-sec}, your Fleet server host value must be the default. Otherwise, the agent status that appears on the Fleet page will be `Offline`, and logs will include the error `[elastic_agent][error] Cannot checkin in with fleet-server, retrying`. | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| To troubleshoot this issue: | ||
|
|
||
| . Find **Fleet** in the navigation menu or use the {kibana-ref}/introduction.html#kibana-navigation-search[global search field]. Go to the **Settings** tab. | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| . Under **Fleet server hosts**, click the **Actions** button for the policy named `Default`. This opens the Edit Fleet Server flyout. The policy named `Default` should have the **Make this Fleet server the default one** setting enabled. If not, enable it, then delete your integration and create it again. | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| NOTE: If the **Make this Fleet server the default one** setting was already enabled but problems persist, it's possible someone changed the **URL** value for your default fleet server. In this case, contact Elastic support to find out what the original **URL** value was, update the settings to match this value, then delete your integration and create it again. | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| [discrete] | ||
| == How do I troubleshoot an `Unhealthy` agent? | ||
|
|
||
| On the **Fleet** page, the agent associated with an agentless integration will have a name that begins with `agentless`. To troubleshoot an `Unhealthy` agent: | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| . Confirm that you entered the correct credentials for the cloud provider you're monitoring. The following is an example of an error log resulting from using incorrect AWS credentials: | ||
| + | ||
| ``` | ||
| [elastic_agent.cloudbeat][error] Failed to update registry: failed to get AWS accounts: operation error Organizations: ListAccounts, get identity: get credentials: failed to refresh cached credentials, operation error STS: AssumeRole, https response error StatusCode: 403, RequestID: XXX, api error AccessDenied: User: XXX is not authorized to perform: sts:AssumeRole on resource:XXX | ||
| ``` | ||
|
|
||
| For instructions on checking {fleet} logs, refer to {fleet-guide}/fleet-troubleshooting.html[Fleet troubleshooting]. | ||
|
|
||
| [discrete] | ||
| == How do I delete an agentless integration? | ||
|
|
||
| NOTE: Deleting your integration will remove all associated resources and stop data ingestion. | ||
|
|
||
| When you create a new agentless CSPM integration, a new agent policy appears on the **Agent policies** tab of the **Fleet** page, but you can't use the **Delete integration** button on this page. Instead, you must delete the integration from the CSPM Integration's **Integration policies** tab. | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| . Find **Integrations** in the navigation menu or use the {kibana-ref}/introduction.html#kibana-navigation-search[global search field], then search for and select `CSPM`. | ||
| . Open the CSPM Integration's **Integration policies** tab. | ||
benironside marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| . Find the integration policy for the integration you want to delete. Click **Actions**, then **Delete integration**. | ||
| . Confirm by clicking **Delete integration** again. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| [[agentless-integration-troubleshooting]] | ||
| = Agentless integrations FAQ | ||
|
|
||
| Frequently asked questions and troubleshooting steps for {elastic-sec}'s agentless CSPM integration. | ||
|
|
||
| [discrete] | ||
| == When I make a new integration, how long until the agent appears on the Integration Policies page? | ||
|
|
||
| After you create a new agentless integration, the new integration policy may show a button that says **Add agent** instead of the associated agent for several minutes during agent enrollment. No action is needed other than refreshing the page once enrollment is complete. | ||
|
|
||
| [discrete] | ||
| == How do I troubleshoot an `Offline` agent? | ||
|
|
||
| For agentless integrations to successfully connect to {elastic-sec}, your {fleet} server host value must be the default. Otherwise, the agent status that appears on the {fleet} page will be `Offline`, and logs will include the error `[elastic_agent][error] Cannot checkin in with fleet-server, retrying`. | ||
|
|
||
| To troubleshoot this issue: | ||
|
|
||
| . Find **{fleet}** in the navigation menu or use the {kibana-ref}/introduction.html#kibana-navigation-search[global search field]. Go to the **Settings** tab. | ||
| . Under **{fleet} server hosts**, click the **Actions** button for the policy named `Default`. This opens the Edit {fleet} Server flyout. The policy named `Default` should have the **Make this {fleet} server the default one** setting enabled. If not, enable it, then delete your integration and create it again. | ||
|
|
||
| NOTE: If the **Make this {fleet} server the default one** setting was already enabled but problems persist, it's possible someone changed the **URL** value for your default {fleet} server. In this case, contact Elastic support to find out what the original **URL** value was, update the settings to match this value, then delete your integration and create it again. | ||
|
|
||
| [discrete] | ||
| == How do I troubleshoot an `Unhealthy` agent? | ||
|
|
||
| On the **{fleet}** page, the agent associated with an agentless integration will have a name that begins with `agentless`. To troubleshoot an `Unhealthy` agent: | ||
|
|
||
| * Confirm that you entered the correct credentials for the cloud provider you're monitoring. The following is an example of an error log resulting from using incorrect AWS credentials: | ||
| + | ||
| ``` | ||
| [elastic_agent.cloudbeat][error] Failed to update registry: failed to get AWS accounts: operation error Organizations: ListAccounts, get identity: get credentials: failed to refresh cached credentials, operation error STS: AssumeRole, https response error StatusCode: 403, RequestID: XXX, api error AccessDenied: User: XXX is not authorized to perform: sts:AssumeRole on resource:XXX | ||
| ``` | ||
|
|
||
| For instructions on checking {{fleet}} logs, refer to {fleet-guide}/fleet-troubleshooting.html[{fleet} troubleshooting]. | ||
|
|
||
| [discrete] | ||
| == How do I delete an agentless integration? | ||
|
|
||
| NOTE: Deleting your integration will remove all associated resources and stop data ingestion. | ||
|
|
||
| When you create a new agentless CSPM integration, a new agent policy appears on the **Agent policies** tab of the **{fleet}** page, but you can't use the **Delete integration** button on this page. Instead, you must delete the integration from the CSPM Integration's **Integration policies** tab. | ||
|
|
||
| . Find **Integrations** in the navigation menu or use the {kibana-ref}/introduction.html#kibana-navigation-search[global search field], then search for and select `CSPM`. | ||
| . Open the CSPM Integration's **Integration policies** tab. | ||
| . Find the integration policy for the integration you want to delete. Click **Actions**, then **Delete integration**. | ||
| . Confirm by clicking **Delete integration** again. | ||
|
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.