manual:config:items:itemtypes:zabbix_agent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:config:items:itemtypes:zabbix_agent [2016/09/16 10:58]
martins-v fixing net.dns.* parameter name: zone -> dns name
manual:config:items:itemtypes:zabbix_agent [2019/02/26 09:05]
martins-v proc.mem can return integer/float
Line 84: Line 84:
 | ||||| | |||||
 ^proc.mem[<​name>,<​user>,<​mode>,<​cmdline>​] ​ ^^^^^ ^proc.mem[<​name>,<​user>,<​mode>,<​cmdline>​] ​ ^^^^^
-^ |Memory used by process in bytes. ​ |Integer ​ |**name** - process name (default is //all processes//​)\\ **user** - user name (default is //all users//)\\ **mode** - possible values:\\ //avg//, //max//, //min//, //sum// (default)\\ **cmdline** - filter by command line  |//Example keys//:\\ proc.mem[,​root] - memory used by all processes running under the "​root"​ user\\ proc.mem[zabbix_server,​zabbix] - memory used by all zabbix_server processes running under the zabbix user\\ proc.mem[,​oracle,​max,​oracleZABBIX] - memory used by the most memory-hungry process running under oracle having oracleZABBIX in its command line  |+^ |Memory used by process in bytes. ​ |Integer ​- with ''​mode''​ as //max//, //min//, //sum//\\ \\ Float - with ''​mode''​ as //​avg// ​ ​|**name** - process name (default is //all processes//​)\\ **user** - user name (default is //all users//)\\ **mode** - possible values:\\ //avg//, //max//, //min//, //sum// (default)\\ **cmdline** - filter by command line  |//Example keys//:\\ proc.mem[,​root] - memory used by all processes running under the "​root"​ user\\ proc.mem[zabbix_server,​zabbix] - memory used by all zabbix_server processes running under the zabbix user\\ proc.mem[,​oracle,​max,​oracleZABBIX] - memory used by the most memory-hungry process running under oracle having oracleZABBIX in its command line\\ \\ //Note//: When several processes use shared memory, the sum of memory used by processes may result in large, unrealistic values. ​ |
 | ||||| | |||||
 ^proc.num[<​name>,<​user>,<​state>,<​cmdline>​] ​ ^^^^^ ^proc.num[<​name>,<​user>,<​state>,<​cmdline>​] ​ ^^^^^
Line 126: Line 126:
 | ||||| | |||||
 ^system.localtime[<​type>​] ​ ^^^^^ ^system.localtime[<​type>​] ​ ^^^^^
-^ |System time.  |Integer - with ''​type''​ as //utc//\\ \\ String - with ''​type''​ as //​local// ​ |**utc** - (default) the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds.\\ **local** - the time in the '​yyyy-mm-dd,​hh:​mm:​ss.nnn,​+hh:​mm'​ format\\ Parameters for this item supported from version 2.0.  |  |+^ |System time.  |Integer - with ''​type''​ as //utc//\\ \\ String - with ''​type''​ as //​local// ​ |**utc** - (default) the time since the Epoch (00:00:00 UTC, January 1, 1970), measured in seconds.\\ **local** - the time in the '​yyyy-mm-dd,​hh:​mm:​ss.nnn,​+hh:​mm'​ format\\ Parameters for this item supported from version 2.0.  |Example:\\ system.localtime[local] - create an item using this key and then use it to display host time in the //Clock// [[:​manual/​config/​visualisation/​screens|screen element]]. ​ |
 | ||||| | |||||
 ^system.run[command,<​mode>​] ​ ^^^^^ ^system.run[command,<​mode>​] ​ ^^^^^
Line 150: Line 150:
 | ||||| | |||||
 ^system.swap.size[<​device>,<​type>​] ​ ^^^^^ ^system.swap.size[<​device>,<​type>​] ​ ^^^^^
-^ |Swap space size in bytes or in percentage from total. ​ |Integer - for bytes\\ \\ Float - for percentage<​sup>​1</​sup> ​ |**device** - device used for swapping (default is all)\\ **type** - possible values:\\ //free// (free swap space, default), //pfree// (free swap space, in percent), //pused// (used swap space, in percent), //total// (total swap space), //used// (used swap space) ​ |//Example key//:\\ system.swap.size[,​pfree] - free swap space percentage\\ \\ Old naming: system.swap.free,​ system.swap.total |+^ |Swap space size in bytes or in percentage from total. ​ |Integer - for bytes\\ \\ Float - for percentage<​sup>​1</​sup> ​ |**device** - device used for swapping (default is all)\\ **type** - possible values:\\ //free// (free swap space, default), //pfree// (free swap space, in percent), //pused// (used swap space, in percent), //total// (total swap space), //used// (used swap space) ​ |//Example key//:\\ system.swap.size[,​pfree] - free swap space percentage\\ \\ If //device// is not specified Zabbix agent will only take into account swap devices (files), physical memory will be ignored. For example, on Solaris systems //swap -s// command includes a portion of physical memory and swap devices (unlike //swap -l//).\\ \\ Old naming: system.swap.free,​ system.swap.total |
 | ||||| | |||||
 ^system.uname ​ ^^^^^ ^system.uname ​ ^^^^^