-
Incident report
-
Resolution: Fixed
-
Minor
-
None
-
2.0.16
-
Ubuntu Linux 14.04
Kernel: 3.13.0-68-generic x86_64
According to the manual the default item "system.swap.size" supports specifying a swap device as the first parameter. For example:
system.swap.size[/dev/xvdb,total]
Them manual explicitly says that this variant is available on Linux (on Linux systems). But unfortunately this doesn't work. Zabbix agent returns ZBX_NOTSUPPORTED.
root@ubuntu:~# cat /proc/swaps Filename Type Size Used Priority /dev/xvdb partition 1048572 3128 -1 /swapfile file 1048572 0 -2 root@ubuntu:~# zabbix_agent -t 'system.swap.size[/dev/xvdb,total]' system.swap.size[/dev/xvdb,total] [m|ZBX_NOTSUPPORTED] root@ubuntu:~# zabbix_agent -t 'system.swap.size[/swapfile,total]' system.swap.size[/swapfile,total] [m|ZBX_NOTSUPPORTED] root@ubuntu:~# zabbix_agent -t 'system.swap.size[,total]' system.swap.size[,total] [u|2147475456] root@ubuntu:~# zabbix_agent -V Zabbix agent v2.0.16 (revision 56692) (12 November 2015) Compilation time: Nov 13 2015 07:37:08