This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:config:items:itemtypes:zabbix_agent [2016/12/07 09:21] martins-v example for using system.localtime[local] |
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\\ \\ //Note//: When several processes use shared memory, the sum of memory used by processes may result in large, unrealistic values. | | + | ^ |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. |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 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>] ^^^^^ |