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
Next revision Both sides next revision
manual:config:items:itemtypes:zabbix_agent [2021/01/28 15:46]
127.0.0.1 external edit
manual:config:items:itemtypes:zabbix_agent [2021/04/16 19:21]
martins-v fixing typo
Line 82: Line 82:
 | ||||| | |||||
 ^net.tcp.port[<​ip>,​port] ​ ^^^^^ ^net.tcp.port[<​ip>,​port] ​ ^^^^^
-^ |Checks if it is possible to make TCP connection to specified port.  |0 - cannot connect\\ \\ 1 - can connect ​ |**ip** - IP address ​(default is 127.0.0.1)\\ **port** - port number ​ |Example:\\ => net.tcp.port[,​80] -> can be used to test availability of web server running on port 80.\\ \\ For simple TCP performance testing use net.tcp.service.perf[tcp,<​ip>,<​port>​]\\ \\ Note that these checks may result in additional messages in system daemon logfiles (SMTP and SSH sessions being logged usually). \\ \\ Old naming: //​check_port[*]//​|+^ |Checks if it is possible to make TCP connection to specified port.  |0 - cannot connect\\ \\ 1 - can connect ​ |**ip** - IP or DNS name (default is 127.0.0.1)\\ **port** - port number ​ |Example:\\ => net.tcp.port[,​80] -> can be used to test availability of web server running on port 80.\\ \\ For simple TCP performance testing use net.tcp.service.perf[tcp,<​ip>,<​port>​]\\ \\ Note that these checks may result in additional messages in system daemon logfiles (SMTP and SSH sessions being logged usually). \\ \\ Old naming: //​check_port[*]//​|
 | ||||| | |||||
 ^net.tcp.service[service,<​ip>,<​port>​] ​ ^^^^^ ^net.tcp.service[service,<​ip>,<​port>​] ​ ^^^^^
Line 209: Line 209:
 | ||||| | |||||
 ^vfs.file.exists[file,<​types_incl>,<​types_excl>​] ​ ^^^^^ ^vfs.file.exists[file,<​types_incl>,<​types_excl>​] ​ ^^^^^
-^ |Checks if file exists. ​ |0 - not found\\ \\ 1 - file of the specified type exists ​ |**file** - full path to file\\ **types_incl** - list of file types to include, possible values: //file// (regular file, default (if types_excl is not set)), //dir// (directory),​ //sym// (symbolic link), //sock// (socket), //bdev// (block device), //cdev// (characer ​device), //fifo// (FIFO), //dev// (synonymous with %%"​bdev,​cdev"​%%),​ //all// (all mentioned types, default if types_excl is set).\\ **types_excl** - list of file types to exclude, see types_incl for possible values (by default no types are excluded) |Multiple types must be separated with a comma and the entire set enclosed in quotes %%""​%%.\\ On Windows the double quotes have to be backslash '​\'​ escaped and the whole item key enclosed in double quotes when using the command line utility for calling zabbix_get.exe or agent2.\\ \\ If the same type is in both <​types_incl>​ and <​types_excl>,​ files of this type are excluded.\\ \\ Examples:\\ => vfs.file.exists[/​tmp/​application.pid]\\ => vfs.file.exists[/​tmp/​application.pid,​%%"​file,​dir,​sym"​%%]\\ => vfs.file.exists[/​tmp/​application_dir,​dir]\\ \\ The file size limit depends on [[manual:​appendix:​items:​large_file_support|large file support]].\\ \\ The ''​types_incl'',​ ''​types_excl''​ parameters are supported since Zabbix 5.0.2.\\ Note that the item may turn unsupported in Windows if a directory is searched within a non-existing directory, e.g. vfs.file.exists[C:​\no\dir,​dir] (where '​no'​ does not exist). ​ |+^ |Checks if file exists. ​ |0 - not found\\ \\ 1 - file of the specified type exists ​ |**file** - full path to file\\ **types_incl** - list of file types to include, possible values: //file// (regular file, default (if types_excl is not set)), //dir// (directory),​ //sym// (symbolic link), //sock// (socket), //bdev// (block device), //cdev// (character ​device), //fifo// (FIFO), //dev// (synonymous with %%"​bdev,​cdev"​%%),​ //all// (all mentioned types, default if types_excl is set).\\ **types_excl** - list of file types to exclude, see types_incl for possible values (by default no types are excluded) |Multiple types must be separated with a comma and the entire set enclosed in quotes %%""​%%.\\ On Windows the double quotes have to be backslash '​\'​ escaped and the whole item key enclosed in double quotes when using the command line utility for calling zabbix_get.exe or agent2.\\ \\ If the same type is in both <​types_incl>​ and <​types_excl>,​ files of this type are excluded.\\ \\ Examples:\\ => vfs.file.exists[/​tmp/​application.pid]\\ => vfs.file.exists[/​tmp/​application.pid,​%%"​file,​dir,​sym"​%%]\\ => vfs.file.exists[/​tmp/​application_dir,​dir]\\ \\ The file size limit depends on [[manual:​appendix:​items:​large_file_support|large file support]].\\ \\ The ''​types_incl'',​ ''​types_excl''​ parameters are supported since Zabbix 5.0.2.\\ Note that the item may turn unsupported in Windows if a directory is searched within a non-existing directory, e.g. vfs.file.exists[C:​\no\dir,​dir] (where '​no'​ does not exist). ​ |
 | ||||| | |||||
 ^vfs.file.md5sum[file] ​ ^^^^^ ^vfs.file.md5sum[file] ​ ^^^^^