0

I use Zabbix to monitor my environment. The Zabbix server warns me with the following message:

"Free disk space is less than 20% on volume Shared memory"

Can someone explain "volume Shared memory" in this context?

How should I address this issue?

Dave M
  • 4,514
  • 22
  • 31
  • 30
vs06
  • 123
  • 1
  • 2
  • 8

2 Answers2

3

If you don't wish to monitor the Shared memoryon your system, you can easyly add it to the filter expression.

  • For this go to "Administration"->"General"->"Regular expressions"
  • Select the entry Storage devices for SNMP discovery entry
  • Add the Shared memoryentry to the list

At the same time you could also remove the various /run/xxx filesystems from discovery.

My current expression is:

^(Physical memory|Virtual memory|Memory buffers|Cached memory|Swap space|Shared memory|/sys/fs/cgroup|/run/lock|/dev/shm|/run/user|/run/user/0|/run)$

André Schild
  • 258
  • 3
  • 9
  • [https://support.zabbix.com/browse/ZBXNEXT-3311](https://support.zabbix.com/browse/ZBXNEXT-3311) – haba713 Apr 26 '19 at 20:14
2

/dev/shm is a temporary filesystem mounted usually under /run/shm for IPC (inter process communication) which - in my opinion - should not be monitored in your case.

David Lakatos
  • 303
  • 1
  • 10
  • When i run the command `df -h` I get the following: `none 2.0G 0 2.0G 0% /run/shm` – vs06 Dec 17 '13 at 12:18
  • 2G sounds to be not enough for general server usage. I have an Ubuntu 13.04 Server which has 20G by default. Does `ipcs -a` show any big shared memory allocation? – David Lakatos Dec 17 '13 at 14:13
  • No. The biggest have ~16Mb `ipcs -a ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x78000c05 65538 zabbix_user 600 16777216 33 ` – vs06 Dec 17 '13 at 18:03
  • I'd check the installation requirements of the installed software. Does any of it mention required minimum shared memory? Does your configuration match the requirements? I'd enlist the installed software and calculate the minimum required shared memory from the documentations' data. If the requirements are higher than your configuration, raise it a little bit. – David Lakatos Dec 17 '13 at 18:19
  • look like zabbix can detect these volumes in new kernels with snmpd, like in RHEL/Centos 7. for old systems it is not visible. – GioMac Feb 16 '15 at 00:09