Configuration Flashcards
What port does the zabbix agent use when configured in passive mode?
The zabbix server poller process connects to the agent via port 10050.
Option: ListenPort (zabbix agent config)
What port does the Zabbix server and proxy listen on?
The Zabbix server and proxy listens on port 10051.
What port does the Zabbix Java gateway listen on?
The Zabbix Java gateway listens on port 10052.
What port does the Zabbix web service listen on?
The Zabbix web service listens on port 10053.
How many Zabbix agent processes can be started in passive mode?
The StartAgent option supports a range from 0-100.
If set to 0, passive checks are disabled and the agent will not listen on any TCP port.
How many instances of the trapper processes can be started?
The active Zabbix agent can be configured to have between 0-1000 trapper instances.
What Zabbix frontend field is used to accept incoming requests from active zabbix agents?
Only the host name field is used to accept incoming requests from active zabbix agents.
When are the host interfaces not used?
The host interfaces are not used for active checks.
What are the three ways to specify a hostname?
- Hostname
- HostnameItem; this is ignored if Hostname is defined
- ServerActive; usually just one server address is used however if more than one is configured, the agent will report data to all Zabbix servers listed.
What configuration option is used to define the interval for active checks?
The RefreshActiveChecks option specifies how often active checks are processed; the default value is 120 seconds.
What is the default value of the active zabbix agent RefreshActiveChecks option?
The default RefreshActiveChecks value is 120 seconds.
What active Zabbix agent configuration option specifies the frequency to send collected values to the zabbix server or proxy?
The BufferSend option specifies how often data should be sent to the server or proxy; data should not be keept longer than N seconds in buffer.
What is the default value of the BufferSend option?
The default BufferSend value is 5 seconds.
What is the UserParameter option used for?
The UserParameter allows shell commands and custom scripts to collect data, where the predefined checks are not provided by Zabbix.
Where are UserParameters configured and executed?
The UserParameters must be configured in the agent config file of each agent where they they will be used.
The commands are executed using the OS service user configured to run the agent.
How many UserParameters can be configured for each agent?
Multiple include files can be specified with different sets of parameters.
All keys per agent must be unique.
Is it possible to specifiy a working directory for UserParameter scripts?
Yes, the UserParameterDir option can be used specify a working directory; the agent will change to this working directory to execute UserParameter commands.
When are new UserParameter item keys available in Zabbix?
New item keys are only available in the Zabbix configuration after restarting the Zabbix agent service (all operation systems) or executing the userparameter_reload zabbix agent command (Linux only).
What option is responsible for the preprocessing queue?
The Zabbix agent StartPreprocessors option defines the amount of preprocessing workers will be started.
Between 1-1000 preprocessors can be started.
What options can be configured to support the pre-processing “custom on fail” scenarios?
Custom on fail offers three options:
* Discard value
* Set value to
* Set error to
What is the syntax of an expression in Zabbix 6.0?
function(/host/key,<additional>)<operator><constant></constant></operator></additional>
Example:max(/Zabbix agent/zabbix[host,agent,available],)=0
Function: max
(
Host: /Zabbix agent
Key: /zabbix[host,agent,available]
,
Parameters: {$AGENT.TIMEOUT}
)
Operator: =
Constant: 0
The referenced item key must exist on the host or template
What fileds are mandatory when configuring a trigger?
The trigger name and the expression are mandatory.
What additional properties can be configured with a trigger?
Tags and Dependencies for the trigger can be configured.
How many severity classifications can be configured?
There are 6 severity classifations:
Not classified, Information. Warning, Average, High. Disaster
Where can the default trigger severity names and colours be configured?
In the frontend under Administration > General > Trigger displaying options
What authentication methods can be used for SSH agent checks?
A username/password pair or a key-file (public/private key pair) can be used.