Configuration Flashcards

1
Q

What port does the zabbix agent use when configured in passive mode?

A

The zabbix server poller process connects to the agent via port 10050.

Option: ListenPort (zabbix agent config)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What port does the Zabbix server and proxy listen on?

A

The Zabbix server and proxy listens on port 10051.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What port does the Zabbix Java gateway listen on?

A

The Zabbix Java gateway listens on port 10052.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What port does the Zabbix web service listen on?

A

The Zabbix web service listens on port 10053.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many Zabbix agent processes can be started in passive mode?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How many instances of the trapper processes can be started?

A

The active Zabbix agent can be configured to have between 0-1000 trapper instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What Zabbix frontend field is used to accept incoming requests from active zabbix agents?

A

Only the host name field is used to accept incoming requests from active zabbix agents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When are the host interfaces not used?

A

The host interfaces are not used for active checks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the three ways to specify a hostname?

A
  1. Hostname
  2. HostnameItem; this is ignored if Hostname is defined
  3. 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What configuration option is used to define the interval for active checks?

A

The RefreshActiveChecks option specifies how often active checks are processed; the default value is 120 seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the default value of the active zabbix agent RefreshActiveChecks option?

A

The default RefreshActiveChecks value is 120 seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What active Zabbix agent configuration option specifies the frequency to send collected values to the zabbix server or proxy?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the default value of the BufferSend option?

A

The default BufferSend value is 5 seconds.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the UserParameter option used for?

A

The UserParameter allows shell commands and custom scripts to collect data, where the predefined checks are not provided by Zabbix.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Where are UserParameters configured and executed?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How many UserParameters can be configured for each agent?

A

Multiple include files can be specified with different sets of parameters.

All keys per agent must be unique.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Is it possible to specifiy a working directory for UserParameter scripts?

A

Yes, the UserParameterDir option can be used specify a working directory; the agent will change to this working directory to execute UserParameter commands.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

When are new UserParameter item keys available in Zabbix?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What option is responsible for the preprocessing queue?

A

The Zabbix agent StartPreprocessors option defines the amount of preprocessing workers will be started.

Between 1-1000 preprocessors can be started.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What options can be configured to support the pre-processing “custom on fail” scenarios?

A

Custom on fail offers three options:
* Discard value
* Set value to
* Set error to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the syntax of an expression in Zabbix 6.0?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What fileds are mandatory when configuring a trigger?

A

The trigger name and the expression are mandatory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What additional properties can be configured with a trigger?

A

Tags and Dependencies for the trigger can be configured.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How many severity classifications can be configured?

A

There are 6 severity classifations:

Not classified, Information. Warning, Average, High. Disaster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Where can the default trigger severity names and colours be configured?

A

In the frontend under Administration > General > Trigger displaying options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What authentication methods can be used for SSH agent checks?

A

A username/password pair or a key-file (public/private key pair) can be used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What syntax does the SSH item have?

A

ssh.run[unique description,<ip>,<port>,<encoding>]

28
Q

What is the result of the SSH item key ssh.run[httpd.count]

A

The host interface and the default ssh port (22) will be used.

29
Q

What are the two types of SNMP trap items?

A
  • snmptrap[regexp]
  • snmptrap.fallback
30
Q

Can you create new inventory fields?

A

No, the fields in the inventory tab are hard coded.

31
Q

What are the three modes available under the Inventory tab?

A
  • Disabled: default
  • Manual: all fields must be filled manally
  • Automatic: some fields are filled by items, other manually
32
Q

From where is the default host inventory mode configurable?

A

The default (global) inventory mode is configurable under:
Administration > General > Other

33
Q

How does changing the default inventory affect existing hosts?

A

It does not affect them; the change only affects new hosts.

For existing hosts, the mode must be switched manually per host or using mass update.

34
Q

How are are inventory fields populated in automatic mode?

A

An item must be configured to fill an inventory field.

The field can be selected within the host Item tab using the “Populates host inventory field” dropdown.

35
Q

How does the inventory automatic mode treat new data it recieves?

A
  • Proprocessing step “discarded values will not be used” will cause values not to be used.
  • History storage period “do not keep history” the inventory is populated.
36
Q

Where is inventory data located in the Zabbix front end?

A

Under the menu item:
Inventory >
overview:
can be used to report the total hosts that have the same value e.g. contact e.q. SysAdmin
Hosts can be used to search for specific hosts based on fields e.g. location e.q. server room 1408

37
Q

What information is provided in the inventory overview of a host?

A
  • Host name
  • Agent Interfaces
  • Populated inventory fields e.g. technical information such as OS, hardware
  • Monitoring pages e.g. latest data, problems
  • Configuration pages e.g. host, items, triggers
38
Q

Where can inventory data be used?

A
  • Inventory data can be used in filters and action conditions.
  • Inventory macros can be used in notifications and tags
  • Inventory data can be displayed on maps
39
Q

Where are media types configured?

A

Media types are configured via the administrator section:
Administration > Media types

40
Q

How many predefined media types does zabbix currently offer?

A

35

41
Q

Is it possible to create new media types in zabbix?

A

Yes, it is possible to create new custom media types using any of the supported types e.g. webhook, custom script.

42
Q

How many message types are available in the message templates of a media type?

A

There are 10 message types:
* Problem
* Problem recovery
* Problem update
* Service
* Service recovery
* Service update
* Discovery
* Autoregistration
* Internal problem
* Internal problem recovery

43
Q

What parameters (fields) are available in a message template?

A
  • Message type
  • Subject
  • Message
44
Q

What additional options does a media type have?

A
  • Concurrent sessions
  • Attempts
  • An interval between the attempts
45
Q

How many instances of the alerter processes can be started?

A

The active alerter process can be configured to have between 0-100 alerter instances.

46
Q

Where is the full storage path for media types using custom scripts located?

A

By default it is located under /usr/lib/zabbix/alertscripts and can be configured under the AlertScriptsPatch configuration option of the Zabbix server

47
Q

What user account must be used for executing custom scripts (media type: script)?

A

The custom script must be executable by the zabbix user.

48
Q

Where are user media settings defined?

A

User media settings are defined in the user profiles.

49
Q

Where are actions configured?

A

Actions are configured under:
~~~
Services > Service actions
~~~
OR
~~~
Configuration > Actions
~~~
under the appropriate sub category
* trigger actions
* discovery actions
* autoregistration actions
* internal actions

50
Q

What types of actions can be configured?

A
  • trigger actions
  • discovery actions
  • autoregistration actions
  • internal actions
51
Q

What types of actions can be defined?

A
  • Trigger events (OK and Problem)
  • Service events (OK and Problem)
  • Discovery events
  • Autoregistration events
  • Internal events
52
Q

Who recieves the notification when the “notify all involved” operation is used as an action recovery operational?

A

Every user, who has received a problem notification, will get the update or recovery message.

53
Q

What is required in an action to send escalations?

A

Operations. Only operations support escalations.

54
Q

What does an operation step contain?

A

Operation type:
* Send message
* Execute remote command

Step number in the format: from - to

Custom step duration
* 0 means the default duration is used

Message recipients
* User groups
* Users

Media used
* All media defined for all recipients
* Only single media type for all recipients

Custom message text (optional)

Event acknowledge status filter (optional)

55
Q

Is it possible to set a custom duration for operation steps within an Action?

A

It is possible to set a custom duration for some steps.

56
Q

How can the execution of an action operation be cancelled?

A
  • If the host, item or trigger causing the problem is disabled or deleted
  • If the action is disabled or deleted
57
Q

Where are executed actions displayed?

A

Reports > Action log

58
Q

What is displayed in the executed action report?

A
  • Details are available - time, action type, recipient ,message
  • Action status - executed or failed
  • For failed actions it is possible to display the source of the problem
59
Q

What should be checked if an action is not working as expected?

A
  • Action conditions are configured properly
  • User has at least read permissions on the host that generated the event
  • All necessary media templates are defined for operations
  • User media settings are correct (active hours and trigger severities)
60
Q

When troubleshooting action execution, where can you check the status of an action?

A
  • Monitoring > Problems and clicking on info for the event
  • Reports > Action log
61
Q

What modes does the Services page have?

A
  • View mode
  • Edit mode
62
Q

What is maintenance mode used for?

A

Maintenance mode is used to:
* suppress problem notifications
* suppress data collection

63
Q

How are hosts in maintenance mode identified?

A
  • Problems: an eye icon with a line through it
  • Hosts: a spanner next to the hostname
  • Dashboard or Maps: the working “in maintenance”

Problems and Hosts have a popup that provides further information such as “always in maintenance [Maintenance with data collection]

64
Q

Where is the maintenance mode configured?

A

Configuration > Maintenance

65
Q

What types of maintenance modes are supported?

A

With data collection:
* All values are collected, and problems are detected, but they will become suppressed
* Actions will react to problems depending on the Pause operations for suppressed problems setting

Without data collection:
* Values may still be collected (e.g., by proxy), but Zabbix server will discard them
* All graphs will have gaps for maintenance time
* Problems are not detected because no values are evaluated

66
Q

What timezone is used to define the maintence period?

A

The user time zone