Zabbix Agent 2 Day1 P5
30 Questions
1 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 default value for EnablePersistentBuffer in Zabbix agent 2?

  • 100
  • 1
  • 0 (correct)
  • 5
  • How many workers can each plugin have in Zabbix agent 2?

  • 100 (correct)
  • 5
  • 1
  • 10
  • What is the value of BufferSend in Zabbix agent 2 if the buffer is full?

  • 0
  • 100
  • Immediately (correct)
  • 1h
  • What is the maximum number of values in a memory buffer in Zabbix agent 2?

    <p>100</p> Signup and view all the answers

    What type of engine does the buffer using SQLite in Zabbix agent 2 use?

    <p>SQLite</p> Signup and view all the answers

    In Zabbix agent 2, how often does the persistent buffer send data to the Zabbix server or proxy?

    <p>Every 1 hour</p> Signup and view all the answers

    What is the default value for BufferSize in Zabbix agent 2?

    <p>100</p> Signup and view all the answers

    What are the specific parameters supported by named sessions in Zabbix Agent 2?

    <p>Uri, User, and Password</p> Signup and view all the answers

    What happens if an authentication parameter is not specified for a named session in Zabbix Agent 2?

    <p>A hardcoded default value will be used</p> Signup and view all the answers

    Which of the following is not supported in named sessions of Zabbix Agent 2?

    <p>Embedded URI credentials</p> Signup and view all the answers

    What are the integrated plugins and templates available out-of-the-box for Zabbix Agent 2?

    <p>MySQL, PostgreSQL, Oracle, Redis, Docker, and Memcached</p> Signup and view all the answers

    What are the new built-in keys for Zabbix Agent 2?

    <p>Docker, MySQL, PostgreSQL, Oracle, Memcached, Redis, and systemd</p> Signup and view all the answers

    What is a potential risk of using Zabbix Agent 2?

    <p>Collecting sensitive information from configuration files, log files, and password files</p> Signup and view all the answers

    How can Zabbix Agent 2 execute remote commands?

    <p>Using the system.run[] item key and Zabbix frontend scripts</p> Signup and view all the answers

    What is the correct order of rules for AllowKey and DenyKey?

    <p>AllowKey=vfs.file.<em>[/var/log/myapp/</em>], AllowKey=vfs.file.<em>[/var/log/mydb/</em>], DenyKey=vfs.file.<em>[</em>]</p> Signup and view all the answers

    What happens if 'DenyKey=*' is specified first in the list?

    <p>No other rules take effect</p> Signup and view all the answers

    What action is taken as soon as an item key matches Allow or Deny rule?

    <p>It is either allowed or denied</p> Signup and view all the answers

    What does 'Pattern match Allow Rule ignored' imply?

    <p>The matching pattern is allowed and the rule is ignored</p> Signup and view all the answers

    What is the significance of the correct order of rules in Zabbix?

    <p>It determines the precedence and behavior of rule matching</p> Signup and view all the answers

    What is the behavior if 'DenyKey=*' is not specified first in the list?

    <p>Other rules take effect normally</p> Signup and view all the answers

    What is the consequence of specifying incorrect order for AllowKey and DenyKey?

    <p>It may lead to unexpected rule behavior</p> Signup and view all the answers

    What does 'Rules are checked in the order in which they have been specified' imply?

    <p>The order of rule specification determines the evaluation sequence</p> Signup and view all the answers

    What is the impact of the order of rule checking in Zabbix?

    <p>It determines the outcome of rule evaluation</p> Signup and view all the answers

    How many workers can operate in parallel for each Zabbix Agent 2 plugin?

    <p>100 workers</p> Signup and view all the answers

    What is the purpose of the ForceActiveChecksOnStart parameter in Zabbix Agent 2?

    <p>To perform active checks immediately after restart</p> Signup and view all the answers

    How are Zabbix Agent 2 plugins activated for monitoring?

    <p>They are activated when monitoring a metric provided by a plugin</p> Signup and view all the answers

    What is the purpose of Named Sessions in Zabbix Agent 2?

    <p>To specify DB connection encryption parameters</p> Signup and view all the answers

    How are Zabbix Agent 2 plugins represented?

    <p>As Go packages</p> Signup and view all the answers

    What is the purpose of the StatusPort parameter in Zabbix Agent 2?

    <p>To view the status of a running agent via a web browser</p> Signup and view all the answers

    How are Zabbix Agent 2 plugins configured?

    <p>Using the 'Plugins.*' parameter in 'zabbix_agent2.conf'</p> Signup and view all the answers

    Study Notes

    Zabbix Agent 2 Components

    • Zabbix Agent 2 components include connectors that communicate with the Zabbix server and have their own result cache
    • The scheduler manages tasks based on schedule and concurrency settings, with all tasks managed by a single process
    • Plugins perform data collection based on individual queues, with each plugin having up to 100 workers operating in parallel

    Zabbix Agent 2 Plugins

    • Zabbix Agent 2 plugins are Go packages that collect metrics by implementing plugin interfaces
    • These plugins are inactive by default and are activated only when monitoring a metric provided by a plugin
    • They provide an option to extend Zabbix's monitoring capabilities and are specific to Zabbix Agent 2

    Installing Zabbix Agent 2 on Linux

    • Zabbix Agent 2 installation involves installing the official Zabbix repository or the Zabbix Agent 2 package separately
    • Configuration of zabbix_agent2.conf is similar to the C-based agent, with specific parameters for passive and active checks
    • The agent is started using systemctl commands and can be set to auto-start

    Zabbix Agent 2 Command-line Options

    • Zabbix Agent 2 has similar command-line options to Zabbix Agent, including runtime commands for remote control interface

    Plugin Settings

    • Available metrics are divided into plugin sections with parameters for active, capacity, concurrent checks, and tasks
    • If no metrics are collected for 24 hours, a plugin becomes inactive

    Status View

    • The status of a running agent can be viewed via a web browser by setting the "StatusPort" parameter and accessing the status page using HTTP protocol

    Plugin Configuration

    • All plugins are configured using the "Plugins.*" parameter in "zabbix_agent2.conf," with specific parameters and syntax
    • The number of concurrent checks within one plugin can be limited, and some plugins have specific parameters

    Force Active Check in Start

    • Zabbix Agent 2 can check all active checks on start, with the first data collection for active checks scheduled at a conditionally random time
    • The ForceActiveChecksOnStart parameter, introduced since 6.0.2, can be used to perform active checks immediately after restart

    Agent 2 Named Sessions

    • Named sessions represent an additional level of plugin parameters and are required to specify DB connection encryption parameters

    Studying That Suits You

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

    Quiz Team

    Related Documents

    ZCP_day_1_slides_Part5.pdf

    Description

    Test your knowledge of Zabbix Agent 2 components, plugins, installation on Linux, command-line options, plugin settings, status view, plugin configuration, force active check in start, and named sessions with this quiz.

    More Like This

    Use Quizgecko on...
    Browser
    Browser