Hello.
I'd like to monitor swap usage for performance investigation on multiple hosts.
For some reasons, system.swap.size[,used] returns [m|ZBX_NOTSUPPORTED]
There are free, pfree, pused options that works, but they are useless for performance monitoring, because depend on swap space. For example:
Let there are two same hosts with 512Mb and 4096Mb swap space with 20% swap utilisation. This mean ~100Mb for first, and 1Gb (!!!) for second. Sure, 100Mb of swaped memory mostly safe for modern systems, while 1Gb is reason for attention.
So for now, I have to calculate in mind system.swap.size[,total] * system.swap.size[,pused] to get real usage stats, and I can't setup alerts for group of hosts like 'warn admins if hosts with IDE drives use >100 Mb of swap.'
I'd like to monitor swap usage for performance investigation on multiple hosts.
For some reasons, system.swap.size[,used] returns [m|ZBX_NOTSUPPORTED]
There are free, pfree, pused options that works, but they are useless for performance monitoring, because depend on swap space. For example:
Let there are two same hosts with 512Mb and 4096Mb swap space with 20% swap utilisation. This mean ~100Mb for first, and 1Gb (!!!) for second. Sure, 100Mb of swaped memory mostly safe for modern systems, while 1Gb is reason for attention.
So for now, I have to calculate in mind system.swap.size[,total] * system.swap.size[,pused] to get real usage stats, and I can't setup alerts for group of hosts like 'warn admins if hosts with IDE drives use >100 Mb of swap.'
Comment