Zabbix Documentation 4.2

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

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
Next revision Both sides next revision
manual:appendix:triggers:functions [2019/01/10 07:28]
martins-v fixing typos
manual:appendix:triggers:functions [2019/03/17 14:35]
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>​) ​ ^^^^