Zabbix Documentation 4.0

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:appendix:triggers:functions

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:appendix:triggers:functions [2019/01/10 07:27]
martins-v fixing typo
manual:appendix:triggers:functions [2019/03/17 14:34] (current)
dimir add link to passive checks description
Line 39: Line 39:
 ^ |||| ^ ||||
 |**fuzzytime** (sec) ^^^^ |**fuzzytime** (sec) ^^^^
-^ |Checking how much an item value (as timestamp) differs from the Zabbix server time.  |**sec** - seconds ​ |Supported value types: float, int\\ \\ Returns:\\ 1 - difference between item value (as timestamp) and Zabbix server timestamp is less than or equal to T seconds\\ 0 - otherwise\\ \\ Usually used with the '​system.localtime'​ item to check that local time is in sync with the local time of Zabbix server. //Note// that '​system.localtime'​ must be configured as a passive check.\\ Can be used also with vfs.file.time[/​path/​file,​modify] key to check that file didn't get updates for long time.\\ \\ Example:\\ => fuzzytime(60)=0 -> detect a problem if time difference is over 60 seconds ​ |+^ |Checking how much an item value (as timestamp) differs from the Zabbix server time.  |**sec** - seconds ​ |Supported value types: float, int\\ \\ Returns:\\ 1 - difference between item value (as timestamp) and Zabbix server timestamp is less than or equal to T seconds\\ 0 - otherwise\\ \\ Usually used with the '​system.localtime'​ item to check that local time is in sync with the local time of Zabbix server. //Note// that '​system.localtime'​ must be configured as a [[:​manual:​appendix:​items:​activepassive#​passive_checks|passive check]].\\ Can be used also with vfs.file.time[/​path/​file,​modify] key to check that file didn't get updates for long time.\\ \\ Example:\\ => fuzzytime(60)=0 -> detect a problem if time difference is over 60 seconds ​ |
 ^ |||| ^ ||||
 |**iregexp** (<​pattern>,<​sec<​nowiki>​|</​nowiki>#​num>​) ​ ^^^^ |**iregexp** (<​pattern>,<​sec<​nowiki>​|</​nowiki>#​num>​) ​ ^^^^