Skip to content
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

Add Swap utilization detector #467

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jmapro
Copy link
Contributor

@jmapro jmapro commented Apr 6, 2023

No description provided.

@jmapro jmapro marked this pull request as ready for review April 6, 2023 16:06
Copy link
Contributor

@JMHAUTBOIS-Claranet JMHAUTBOIS-Claranet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default value for swap_disabled is null, which means swap detector will be enabled, considering the coalesce function.
All platforms are not the same regarding swap, maybe we should prevent swap alerts to pop-up inadvertently ? (i.e. have default = false ?)

@jmapro
Copy link
Contributor Author

jmapro commented Apr 11, 2023

This detector is called swap, but it is also applicable to windows page file as the splunk agent use the same metric for both OS.

@Poil
Copy link
Contributor

Poil commented Apr 11, 2023

Monitoring swap usage is useless if it's not correlated to memory usage, Kernel will always try to move low priority to Swap.
We should monitors pages in and out of swap space, and system free memory.
Also what to do when you trigger swap is full ? Disable swap and enable it again ?

Good article : https://support.cpanel.net/hc/en-us/articles/360060508193-My-server-is-continuously-using-large-amounts-of-swap-space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants