![]() This helps to work correctly with, for instance, a wrapping (overflow) of 32-bit SNMP counters. If the current value is smaller than the previous value, Zabbix discards that difference (stores nothing) and waits for another value. ![]() This setting is extremely useful to get speed per second for a constantly growing value. Value - current value prev_value - previously received value time - current timestamp prev_time - timestamp of previous value. Only one change operation per item is allowed.Ĭalculate the value change (difference between the current and previous value) speed per second.Įvaluated as ( value- prev_value)/( time- prev_time), where This setting can be useful to measure a constantly growing value. Value - current value prev_value - previously received value The macros must resolve to an integer or a floating-point number.Ĭalculate the difference between the current and previous value. Supported: scientific notation, for example, 1e+70 (since version 2.2) user macros and LLD macros (since version 4.0) strings that include macros, for example, (since version 5.2.3) '0.9' will become '0') before the custom multiplier is applied. Note that if the item type of information is Numeric (unsigned), incoming values with a fractional part will be trimmed (i.e. Otherwise Zabbix cannot correctly set prefixes (K, M, G etc). ![]() Use this option to convert values received in KB, MBps, etc into B, Bps. Multiply the value by the specified integer or floating-point value. Similar value formatting options as in the SNMP walk value step are available. You may use this preprocessing step for SNMP OID discovery. Field values will be populated by values in the specified SNMP OID path. Specify a field name in the JSON and the corresponding SNMP OID path. ![]() In bit strings longer than 8 bytes, consequent bytes will be ignored.Ĭonvert SNMP values to JSON. "1A 2B 3C 4D") into a 64-bit unsigned integer. Integer from BITS - convert the first 8 bytes of a bit string expressed as a sequence of hex characters (e.g. MAC from hex-STRING - validate hex-string as MAC address and return a proper MAC address string (where ' ' are replaced by ':') UTF-8 from hex-STRING - convert hex-string to UTF-8 string Unchanged - return hex-string as unescaped hex string Number(/document/item/value) will extract 10 from will extract 10 from Įxtract value or fragment from JSON data using JSONPath functionality.įor more information, see: CSV to JSON preprocessing.įor more information, see: Serialization rules.Įxtract value by the specified OID/MIB name and apply formatting options: Remove specified characters from the beginning of the value.Įxtract value or fragment from XML data using XPath functionality.įor this option to work, Zabbix server must be compiled with libxml support. Remove specified characters from the end of the value. Remove specified characters from the beginning and end of the value. Escaping of line breaks, carriage return, tabs is automatically done during low-level discovery. It is possible to use escape sequences to search for or replace line breaks, carriage return, tabs and spaces "\n \r \t \s" backslash can be escaped as "\\" and escape sequences can be escaped as " The replacement string may also be empty effectively allowing to delete the search string when found. Replacement - the string to replace the search string with. Search string - the string to find and replace, case-sensitive (required) All occurrences of the search string will be replaced. In case of a failed preprocessing step, the item will not become unsupported if the option to discard the value or set a specified value is selected.įind the search string and replace it with another (or nothing). If you mark the Custom on fail checkbox, it is possible to select custom error-handling options: either to discard the value, set a specified value, or set a specified error message. Please refer to regular expressions section for some existing examples. A \0 escape sequence is replaced with the matched text. An \N (where N=1…9) escape sequence is replaced with the Nth matched group. Failure to match the input value will make the item unsupported. The regular expression supports extraction of maximum 10 captured groups with the \N sequence. Match the value to the regular expression and replace value with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |