Skip to content

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

@BzSpi BzSpi requested review from Tulux and haedri as code owners June 17, 2025 06:56
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.

4 participants