Fortinet black logo

User Guide

Memcache

24.1.0
Copy Link
Copy Doc ID af1daa65-c273-11ec-9fd1-fa163e15d75b:571680
Download PDF

Memcache

The Memcache plugin will allow you to monitor a number of metrics on the Memcache and Memcached services of your server. Use it to monitor if your cached items were accessible, how often they are being accessed, the number of worker threads et If you can not find this plugin in the /usr/lib/panopta-agent/plugins folder, then your version of the Agent is out of date and you should update it to gain access to this feature.

Agent Configuration

In order for the Memcache plugin to be operational, you need to add the following snippet to /etc/fm-agent/fm_agent.cfg:

[memcache]
hostname = 127.0.0.1
port = 11211

Control Panel Configuration

To add a Memcache agent resource to your server, read Add FortiMonitor Agent checks if you have not already. To use the Memcache plugin, first select “Memcache” from the monitoring catalog.

There are a number of available metrics to choose from.

Metric

Unit

Current number of items

items

Current number of open connections

connections

Number of bytes

B

Number of connection structures

structures

Number of items that have been requested and not found

items

Number of keys that have been requested and found present

keys

Number of valid items removed from cache to free memory for new items

items

Number of worker threads requested

threads

Size of pointers

bits

Total number of bytes read

B

Total number of bytes sent

B

Total number of connections opened

connections

Total number of items stored

items

Total number of retrieval requests (get operations)

requests

Total number of storage requests (set operations)

requests

Total system time

Total user time

If you would like to inspect the Memcache plugin in more detail you can find the python script for it in the /usr/lib/panopta-agent/plugins (panopta-agent) or /usr/lib/fm-agent/plugins (fm-agent) folder.

If you have any other questions, please contact our support team

Memcache

The Memcache plugin will allow you to monitor a number of metrics on the Memcache and Memcached services of your server. Use it to monitor if your cached items were accessible, how often they are being accessed, the number of worker threads et If you can not find this plugin in the /usr/lib/panopta-agent/plugins folder, then your version of the Agent is out of date and you should update it to gain access to this feature.

Agent Configuration

In order for the Memcache plugin to be operational, you need to add the following snippet to /etc/fm-agent/fm_agent.cfg:

[memcache]
hostname = 127.0.0.1
port = 11211

Control Panel Configuration

To add a Memcache agent resource to your server, read Add FortiMonitor Agent checks if you have not already. To use the Memcache plugin, first select “Memcache” from the monitoring catalog.

There are a number of available metrics to choose from.

Metric

Unit

Current number of items

items

Current number of open connections

connections

Number of bytes

B

Number of connection structures

structures

Number of items that have been requested and not found

items

Number of keys that have been requested and found present

keys

Number of valid items removed from cache to free memory for new items

items

Number of worker threads requested

threads

Size of pointers

bits

Total number of bytes read

B

Total number of bytes sent

B

Total number of connections opened

connections

Total number of items stored

items

Total number of retrieval requests (get operations)

requests

Total number of storage requests (set operations)

requests

Total system time

Total user time

If you would like to inspect the Memcache plugin in more detail you can find the python script for it in the /usr/lib/panopta-agent/plugins (panopta-agent) or /usr/lib/fm-agent/plugins (fm-agent) folder.

If you have any other questions, please contact our support team