30 Questions
What is the classic way of working with filesystems in Zabbix agent?
Using vfs.fs.discovery to create normal Zabbix items for every metric
Which item key is used in the new way of working with filesystems to collect metrics in bulk?
vfs.fs.get
What is the purpose of using JSONPath in the new way of working with filesystems?
To process the collected data and extract specific values
What is the main difference between the classic way and the new way of working with filesystems in Zabbix agent?
The classic way offloads Zabbix server, while the new way processes everything using preprocessors
When using Low-level Discovery macros in JSONPath preprocessing, which characters are considered for escaping?
Only backslash () and double quote (")
What is the purpose of using db.odbc.discovery in Zabbix?
To perform discovery of databases via SQL queries
If a resolved macro value contains backslash and double quote characters, how are they handled in JSONPath preprocessing?
Each of them is escaped with a backslash
How are results transformed when using LLD via SQL queries in Zabbix?
Results are transformed into JSON using JSONPath
In JSONPath preprocessing, if the backslash and double quote characters are already escaped with a backslash, how are they treated?
It is not considered as escaping
What should be used to define the macro names in SQL queries to avoid becoming not supported?
Column aliases
When should special characters be enclosed in square brackets and double quotes in JSONPath?
If they are used in the path
What is the recommended way to work with multi-instance performance counters in Zabbix?
Using perf_instance.discovery
What should be used to enclose a Low-level Discovery macro value in JSONPath?
Double quotes
What can cause spikes in data processing when using the classic way of working with filesystems?
More frequent requests to the agent
In JSONPath, what is the correct expression for a special macro value after substitution?
$.[.(@.value == "special "value"")]
What is the purpose of using vfs.fs.get as a master item in Zabbix agent?
To collect metrics in bulk
If macros have special characters, what should be used to enclose the LLD macro value in JSONPath?
Double quotes
What is the correct JSONPath expression if special characters are used in the path?
$.["{#MACRO}"].value
What is the correct JSONPath expression for the LLD macro value 'c:\temp'?
$.[.(@.value == "c:\temp")]
What are the rules for escaping special characters in Low-level Discovery macros used in JSONPath preprocessing?
Backslash and double quote characters are escaped with a backslash
What is the purpose of context-based macros in Zabbix 6.0?
To allow overriding default values for different conditions
Where can context macros be created in Zabbix 6.0?
On a template, host, or global level
What is the benefit of using LLD macros in triggers in Zabbix 6.0?
Accomplishing more flexible thresholds in trigger expressions
What is a specific feature of Low-level Discovery (LLD) for Linux systemd services in Zabbix 6.0?
Return data in JSON format
How are LLD macros used to discover Windows services in Zabbix?
Returning data in macros like service name, display name, description, state, startup type, and more
What is the method used for LLD for WMI queries in Zabbix?
WQL queries, automatically transformed into a JSON object for discovery
What type of keys are introduced for Linux systemd services in Zabbix 6.0?
Low-level Discovery (LLD) keys
What is the main focus of the Zabbix 6.0 documentation regarding macros and discovery?
Detailed information on the usage of context-based macros, LLD for Linux systemd services, Windows services, and WMI queries
What is the practical setup for context-based macros in Zabbix 6.0?
Creating new macros and trigger prototypes, executing file systems discovery rules, and resolving problems
How can LLD macros be used in prototypes in Zabbix 6.0?
To discover Linux systemd services and provide examples of systemd keys
Study Notes
Zabbix 6.0 Certified Professional Day 2 Training Summary
- Zabbix 6.0 introduces context-based macros in user macros to allow overriding default values for different conditions.
- Context-based macros can be created on a template, host, or global level, extending the user macro with the context to match different conditions.
- Context macros can be used in triggers to accomplish more flexible thresholds in trigger expressions based on the values retrieved by Low-level Discovery.
- A practical setup for context-based macros involves creating new macros and trigger prototypes, executing file systems discovery rules, and resolving problems.
- Zabbix 6.0 introduces specific Low-level Discovery (LLD) keys for Linux systemd services, which can be discovered using Zabbix agent 2 and return data in JSON format.
- LLD macros are used in prototypes to discover Linux systemd services, and examples of systemd keys are provided.
- Zabbix agent can discover Windows services using LLD, returning data in macros like service name, display name, description, state, startup type, and more.
- LLD for WMI queries in Zabbix is done using WQL queries, which are automatically transformed into a JSON object for discovery.
- The Zabbix 6.0 documentation provides detailed information on the usage of context-based macros, LLD for Linux systemd services, Windows services, and WMI queries.
Test your knowledge of Zabbix 6.0's advanced features with this quiz on context-based macros, Low-level Discovery (LLD) for Linux systemd services, Windows services, and WMI queries. Dive into practical setups and examples to enhance your Zabbix skills.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free