Zabbix 6 Day2 P5
30 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the classic way of working with filesystems in Zabbix agent?

  • Using vfs.fs.discovery to create dependent low-level discovery rule
  • Using vfs.fs.discovery to create dependent items processed by Zabbix server using preprocessors
  • Using vfs.fs.get to create dependent low-level discovery rule
  • Using vfs.fs.discovery to create normal Zabbix items for every metric (correct)
  • Using vfs.fs.get as a master item to collect metrics in bulk
  • Which item key is used in the new way of working with filesystems to collect metrics in bulk?

  • perf_instance.discovery
  • vfs.fs.get (correct)
  • perf_counter_en
  • vfs.fs.discovery
  • What is the purpose of using JSONPath in the new way of working with filesystems?

  • To offload Zabbix server using preprocessors
  • To process the collected data and extract specific values (correct)
  • To distribute load among Zabbix proxies
  • To create dependent items processed by Zabbix server
  • What is the main difference between the classic way and the new way of working with filesystems in Zabbix agent?

    <p>The classic way offloads Zabbix server, while the new way processes everything using preprocessors</p> Signup and view all the answers

    When using Low-level Discovery macros in JSONPath preprocessing, which characters are considered for escaping?

    <p>Only backslash () and double quote (&quot;)</p> Signup and view all the answers

    What is the purpose of using db.odbc.discovery in Zabbix?

    <p>To perform discovery of databases via SQL queries</p> Signup and view all the answers

    If a resolved macro value contains backslash and double quote characters, how are they handled in JSONPath preprocessing?

    <p>Each of them is escaped with a backslash</p> Signup and view all the answers

    How are results transformed when using LLD via SQL queries in Zabbix?

    <p>Results are transformed into JSON using JSONPath</p> Signup and view all the answers

    In JSONPath preprocessing, if the backslash and double quote characters are already escaped with a backslash, how are they treated?

    <p>It is not considered as escaping</p> Signup and view all the answers

    What should be used to define the macro names in SQL queries to avoid becoming not supported?

    <p>Column aliases</p> Signup and view all the answers

    When should special characters be enclosed in square brackets and double quotes in JSONPath?

    <p>If they are used in the path</p> Signup and view all the answers

    What is the recommended way to work with multi-instance performance counters in Zabbix?

    <p>Using perf_instance.discovery</p> Signup and view all the answers

    What should be used to enclose a Low-level Discovery macro value in JSONPath?

    <p>Double quotes</p> Signup and view all the answers

    What can cause spikes in data processing when using the classic way of working with filesystems?

    <p>More frequent requests to the agent</p> Signup and view all the answers

    In JSONPath, what is the correct expression for a special macro value after substitution?

    <p>$.[.(@.value == &quot;special &quot;value&quot;&quot;)]</p> Signup and view all the answers

    What is the purpose of using vfs.fs.get as a master item in Zabbix agent?

    <p>To collect metrics in bulk</p> Signup and view all the answers

    If macros have special characters, what should be used to enclose the LLD macro value in JSONPath?

    <p>Double quotes</p> Signup and view all the answers

    What is the correct JSONPath expression if special characters are used in the path?

    <p>$.[&quot;{#MACRO}&quot;].value</p> Signup and view all the answers

    What is the correct JSONPath expression for the LLD macro value 'c:\temp'?

    <p>$.[.(@.value == &quot;c:\temp&quot;)]</p> Signup and view all the answers

    What are the rules for escaping special characters in Low-level Discovery macros used in JSONPath preprocessing?

    <p>Backslash and double quote characters are escaped with a backslash</p> Signup and view all the answers

    What is the purpose of context-based macros in Zabbix 6.0?

    <p>To allow overriding default values for different conditions</p> Signup and view all the answers

    Where can context macros be created in Zabbix 6.0?

    <p>On a template, host, or global level</p> Signup and view all the answers

    What is the benefit of using LLD macros in triggers in Zabbix 6.0?

    <p>Accomplishing more flexible thresholds in trigger expressions</p> Signup and view all the answers

    What is a specific feature of Low-level Discovery (LLD) for Linux systemd services in Zabbix 6.0?

    <p>Return data in JSON format</p> Signup and view all the answers

    How are LLD macros used to discover Windows services in Zabbix?

    <p>Returning data in macros like service name, display name, description, state, startup type, and more</p> Signup and view all the answers

    What is the method used for LLD for WMI queries in Zabbix?

    <p>WQL queries, automatically transformed into a JSON object for discovery</p> Signup and view all the answers

    What type of keys are introduced for Linux systemd services in Zabbix 6.0?

    <p>Low-level Discovery (LLD) keys</p> Signup and view all the answers

    What is the main focus of the Zabbix 6.0 documentation regarding macros and discovery?

    <p>Detailed information on the usage of context-based macros, LLD for Linux systemd services, Windows services, and WMI queries</p> Signup and view all the answers

    What is the practical setup for context-based macros in Zabbix 6.0?

    <p>Creating new macros and trigger prototypes, executing file systems discovery rules, and resolving problems</p> Signup and view all the answers

    How can LLD macros be used in prototypes in Zabbix 6.0?

    <p>To discover Linux systemd services and provide examples of systemd keys</p> Signup and view all the answers

    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.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    ZCP_day_2_slides2_Part5.pdf

    Description

    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.

    More Like This

    Zabbix 6 Day1 P1
    24 questions

    Zabbix 6 Day1 P1

    SpellboundTropicalIsland avatar
    SpellboundTropicalIsland
    Zabbix 6 Day3 P2
    30 questions

    Zabbix 6 Day3 P2

    SpellboundTropicalIsland avatar
    SpellboundTropicalIsland
    Zabbix 6 Day3 P5
    30 questions
    Use Quizgecko on...
    Browser
    Browser