Fortinet black logo

User Guide

Memory (Linux)

24.2.0
Copy Link
Copy Doc ID af1daa65-c273-11ec-9fd1-fa163e15d75b:87084
Download PDF

Memory (Linux)

The Memory plugin monitors how much memory (either swap or RAM) your server is using (either as a percentage or amount). This can be useful for sending out alerts when your server is using too much memory.

To add a Memory resource type to your server first see Add FortiMonitor Agent checks if you have not already.

Control Panel Configuration

First, select the Linux category from the catalog, and scroll to the Memory section.

There are a number of metrics to choose from.

Metric

Unit

Cached

kb

RAM active

kb

RAM buffer

kb

RAM inactive

kb

RAM percentage used

%

RAM used

kb

Swap cached

kb

Swap percentage used

%

Swap used

kb

The metric options will let you choose between Swap and RAM, as well as letting you choose between whether the check returns a percentage or a total used figure. The specific number that this resource returns is defined by the above options, please take this into account if you choose to change your alert thresholds for this resource.

You can monitor multiple Memory Agent resources on one server if you would like, but that is not often recommended as one should be plenty.

If you would like to inspect the Memory plugin in more detail you can find the python script for it in /usr/lib/fm-agent/plugins/memory_usage.py.

Memory (Linux)

The Memory plugin monitors how much memory (either swap or RAM) your server is using (either as a percentage or amount). This can be useful for sending out alerts when your server is using too much memory.

To add a Memory resource type to your server first see Add FortiMonitor Agent checks if you have not already.

Control Panel Configuration

First, select the Linux category from the catalog, and scroll to the Memory section.

There are a number of metrics to choose from.

Metric

Unit

Cached

kb

RAM active

kb

RAM buffer

kb

RAM inactive

kb

RAM percentage used

%

RAM used

kb

Swap cached

kb

Swap percentage used

%

Swap used

kb

The metric options will let you choose between Swap and RAM, as well as letting you choose between whether the check returns a percentage or a total used figure. The specific number that this resource returns is defined by the above options, please take this into account if you choose to change your alert thresholds for this resource.

You can monitor multiple Memory Agent resources on one server if you would like, but that is not often recommended as one should be plenty.

If you would like to inspect the Memory plugin in more detail you can find the python script for it in /usr/lib/fm-agent/plugins/memory_usage.py.