Distributed System Monitoring zabbix Presentation 4 visualization-technology flow Ken

Source: Internet
Author: User
Graphics Overview

As a large amount of monitoring data is collected to zabbix, it is easier to view what is happening in a visualized manner than simply displaying a number.

The following figure shows how to set the image. Graphs can clearly understand the data flow direction and associate problems, and report when something starts or becomes a problem event.

Zabbix provides the following graphics:

  • Built-in simple graphs for Metric item data;
  • Possible creation of a more complex custom image custmomised graphs;
  • In the latest data, you can use a specific figure ad-hoc graphs to quickly access the data comparison of several metric items.

 

1. simple graphics Overview

Zabbix provides a simple graph to visually display the data collected by monitoring metrics. You can view simple images without configuration. This is provided free of charge by zabbix.

PassMonitoring → latest dataClick the Graphic Link of each Metric item to display the image.

Time period Selector

Pay attention to the time period selector above the graph. It allows you to easily select the desired time period.

The sliding speed in the time period selector can be dragged back and forth, and scaled to change the display time period more effectively. The link on the left allows you to select some common predefined time periods (above the sliding area), and click the time range link to move back and forth (below the sliding area ). Click the time link on the right to display the calendar to set the specific start/end time.

In the lower-right cornerFixed/dynamicThe link has the following effects:

  • Determines whether the time period remains unchanged when the start time or end time is changed in the calendar pop-up window;
  • WhenFixedClick the time segment Link (? 1 m 7d 1D 12 H 1 H 5 M | 5 M 1 H 12 h 1D 7d 1 m ?) The slider will be moved without changing the size of the slider. The time period will move forward or backward with the time and will not change the time period. When you selectDynamicClick the time segment link in the lower left corner to zoom in the slider along with the time segment link in the left to the right.
  • WhenFixedWhen you click the slider<And>The button will move the slider without changing its size.DynamicClick<Button>The slider is zoomed in to the left or right direction along with the left and right directions. Each click is moved in the unit of 1 day.

Another way to control the display of the selected time period is to press and hold the left mouse button to select the area to be displayed in the image. The area is highlighted. When the left mouse button is released, the image is enlarged to the highlighted area.

You can use a simple graph for numeric metric items. For text-type metric items, you can use Monitoring → latest data. Latest and historical data

For the latest data, draw a join by each received valueSingleLine. To have at least one horizontal pixel that can be used for a value, a single line is drawn.

For historical data, the plot is connected to three lines. The dark green lines show the average value, while the dark pink and light green show the maximum and minimum values of the time point, the middle part of the maximum and minimum values is filled with a yellow background.

The Working Hours (workdays) are displayed as a white background in the image, and the non-working hours are displayed as gray (the topic used by the front end is the default dark blue ).

The work time is automatically displayed for a simple image, and the custom image needs to be configured by the user. If the graph displays data for more than three months, the working time is not displayed.

Generate historical/trend data Graphs

Graphs are generated based on historical and trend data. The gray title below the graph shows where the data comes from.

The following factors affect the use of historical data or trend data:

  • Historical metric item data. For example, historical metric data is retained for only 14 days. At this time, if you view the data after 14 days, the trend data is drawn.
  • Data in the image is crowded. If the horizontal pixel of the graph exceeds 3600/16, zabbix uses trend data (even if the historical data of the metric item is still available in the same period ).
  • If trend data is disabled and historical metric data is available for the same period, the graph is constructed using the historical metric data. This is supported since zabbix2.2.1 (if trend data is disabled before zabbix2.2.1, only a blank figure is displayed even if the historical data of the metric item is available ).
Switch to original value

The drop-down menu in the upper-right corner of the page allows you to switch from a simple imageValue/the most recent 500 values. This can be used to view the value of the build image.

Here the value represents the original value, that is, the unit or post-processing value is not used. However, value ing is applied.

 

2. Custom images Overview

Custom images, as the name implies, provide customized functions.

Although simple graphs are useful for viewing the data of a single metric item, they do not provide configuration functions.

Therefore, if you want to change the style of the image, display the line, or compare multiple metrics. For example, a custom image is required to display the received and sent traffic in a single graph.

Custom images are manually configured.

You can create custom images for a single host, multiple hosts, and a single template.

Configure custom Images

Follow these steps to create a custom image:

  • ClickConfiguration → hosts (or templates);
  • Click next to the host or template of the image to be createdGraphs;
  • Click on the graphic screenCreate Graph;
  • Edit the graphic attributes.

Graphic attributes

Parameters Description
Name The image name (unique ).
From zabbix 2.2, you can use the value of the metric item in the name by using the standard{host:key.func(param)}Simple macro of the parameter. This macro only supportsAVG,Last,Max,MinThese functions take seconds as the parameter. Macro {Host. Host <1-9>} can be used in this macro, and hosts such as the first, second, and third are introduced in the image, such{{HOST.HOST1}:key.func(param)}.
Width The width of the graph, in pixels (used only to preview the pie/explosion exploded graph ).
High The height of the image, in pixels.
Graph type Graphics type:
Normal-A normal image is displayed as a line.
Layer product-Stacked chart, displayed by filling Area
Pie Chart-Pie Chart
Explosion-"Explosion" pie chart, partially displayed as a cut-out pie chart
View legend Set the display of the graphic legend.
View working hours If selected, the non-work time is displayed as a gray background. This option is not applicable to pie charts and explosion pie charts.
View triggers If selected, the trigger will display a red line in the background. This option is not applicable to pie charts and explosion pie charts.
Percentage line (left) The percentage is displayed on the Y axis on the left. For example, if the value of the percentage line is set to 95%, the percentage line is located at the level of the value of 95% and displayed as a bright green line. This option is only applicable to normal images.
Percentage line (right) The percentage is displayed on the right Y axis. For example, if the value of the percentage line is set to 95%, the percentage line is located at the level of the value of 95% and is displayed as a bright red line. This option is only applicable to normal images.
Minimum value of Y axis Minimum value of Y axis:
Computable-Automatically calculates the minimum value of the Y axis.
Fixed-The minimum value of the Y axis is fixed. This option is not applicable to pie charts and explosion pie charts.
Metrics-The last value of the metric item is the minimum value.
Maximum Value of Y axis Maximum Value of Y axis:
Computable-Automatically calculates the maximum value of the Y axis.
Fixed-The maximum value of the Y axis is fixed. This option is not applicable to pie charts and explosion pie charts.
Metrics-The last value of the metric item is the maximum value.
3D view Enable 3D style. This option is only applicable to an explosion pie chart.
Metrics Monitoring item, which constitutes the data source of the image.
Configure custom Images

Add a metric item to display data in the graph.GraphicsOn the page, click the "add" option of "Metric items", select the corresponding metric items, and set the properties of metric item data display.

Properties displayed for monitoring metrics:

Parameters Description
Sorting order (0 → 100) Draw order. The metric items whose order is 0 will be processed first. It can be used to draw a line or area to fill the back (or front) with another one. \ You can drag the icon in the metric item header up or down to set their order.
Name The name of a metric, which is used to display its data.
Type Type (this option applies only to pie charts and explosion pie charts ):
Simple-Display the metric item values in proportion.
Total number of images-The value of the metric item occupies the entire pie chart.
Note: The color of the "Total number of images" Metric item is only visible within the range not occupied by "proportional" Metric items.
Function When there are multiple values in a metric item, why is the value displayed:
All-All values (minimum, average, and maximum)
Minimum-Only display the minimum value
Average-Show average only
Max-Only display the maximum value
Drawing style Drawing style (this option only applies to normal graphics; For stacked graphics, always show as filled areas ):
Line-Draw lines
Filled Area-Draw a Filled Area
Coarse line-Draw as a thick line
Point-Draw as a point
Dotted Line-Draw as dotted line
Y axis position The Y axis is left or right.
Color The RGB color is a hexadecimal character.
Image Preview

InPreviewThe configuration chart preview is displayed, so that you can view the created content immediately.

Note that preview does not display any template metric data.

 

3 special graphics Overview

Although a simple graph is very suitable for viewing the data of a metric item, and a custom graph provides custom options, neither of them allows quick creation of comparison graphs for multiple metric item data, small workload and no maintenance.

To solve this problem, you can quickly create ad hoc graphs for multiple metric items from zabbix 2.4.

Configuration

To create a special image, follow these steps:

  • Jump to the front-end pageUnder monitoringLatest data;
  • Use the filter to select the metric to be displayed;
  • Select the check box for the metric to be drawn;
  • ClickDisplay stacked Data graphOrShow Data graphButton.

The created image is displayed as follows:

It is worth noting that, to avoid displaying too many lines in the graph, only the average value of each Metric item is displayed (the line with the Maximum/minimum value is not displayed ). The trigger and trigger information are not displayed in the image.

In the created image window, you can use the time period selector and switch from "normal" to "stacked.

3 aggregation graphics Overview

On the zabbix aggregate graph page, you can aggregate information from various sources to quickly view the information on a single screen. Basically, an aggregate graph is a table. You can select the number of cells in each table and the elements to be displayed in the cells. The following elements are displayed:

  • Simple graphics;
  • Simple graphical prototype;
  • Custom Images;
  • Custom image prototype;
  • Topology;
  • Other aggregated images;
  • Plain text information;
  • Server Information (overview );
  • Host information (overview );
  • Trigger information (overview );
  • Host/Host group problems (trigger status );
  • System status;
  • Data Overview;
  • Clock;
  • Event History;
  • Recent action history;
  • URL(Data obtained from another location ).

Aggregate graph inUnder monitoring→ You can manage, manage, and view aggregated graphs. They can also be addedUnder monitoring→ "Favorites" section of the dashboard.

To configure the screen, you must first create it by defining its general attributes, and then add a single element to the cell.

All zabbix users (including non-administrator users) can create aggregated images. An aggregated graph has an owner-the user who created them.

Aggregated graphs can be public or private. All users can see public aggregated images.

Private aggregated graphs are only visible to their owners. The owner can share a private aggregate image with other users and user groups. Regular (non-Super administrator) users can only share with their groups and users. As long as they have the read permission for all elements in the aggregated graph, the private screen will be visible to its owner and the users who share the aggregated graph. As long as the administrator-level user has the read permission on all elements in the aggregated graph, you can view and edit the private aggregated graph, regardless of whether the owner or owner belongs to the shared user list.

 

For public and private aggregated images, you must have at least the read permission for all elements in the aggregated images to view the screen. To add an element to an aggregate graph, you must have at least the read permission on it.

 

Create an aggregated Graph

Follow these steps to create an aggregated graph:

  • Jump to the zabbix frontendMonitoring → aggregating Images;
  • Jump to all aggregated graphics pages;
  • ClickCreate an aggregate Graph.

Aggregated graphicsThe tab contains general aggregated graphic attributes:

Give your screen a unique name and set the number of columns (vertical cells) and number of rows (horizontal cells ).

ShareThe tab page contains the shared options (user group, user) for the aggregated graph type and the dedicated aggregated graph ):

Parameters Description
Owner Select the owner of the aggregated graph.
Type Select the type of the aggregated graph:
Private-Aggregated images are only visible to selected user groups and users.
Public-The aggregated image is visible to all users.
User Group sharing list Select a user group that can access aggregated images.
You can grant read-only or read/write permissions.
User Sharing list Select the user who can access the aggregated graph.
You can grant read-only or read/write permissions.

ClickAddSave the aggregated graph.

Add Element

To add elements to the screen, clickConstructor.

On the new page, you may only seeChange. Click this link to open a new page where you can set the content displayed in each cell.

On the existing aggregate graph, click an existing element to open the form. You can set the content to be displayed.

Attributes of aggregated graphic elements:

Parameters Description
Resources Information displayed in cells:
Action Log-Recent action logs
Clock-Display the current server or local time by number or analog clock.
Data Overview-Latest data of a group of hosts
Graphics-Single custom image
Graphics prototype-Automatically discovers custom images of (LLD) Rules.
Event History-Latest events.
Host group Problems-The status of the trigger filtered by the Host group (including trigger X without event, starting from zabbix 2.2)
Host information-Advanced host information
Host Problems-Status of the trigger filtered by the host (including the trigger without event, starting from zabbix 2.2) and starting from zabbix 2.2)
Topology-Single Topology
Plain text-Plain text data
Aggregated graphics-Aggregated graph (one aggregated graph may contain other aggregated graphs)
Simple graphics-A single simple image
Simple Graphic prototype-Generate a simple metric chart based on automatic discovery (LLD.
Zabbix status-Advanced information about zabbix servers
System status-Display system status (similar to a dashboard)
Trigger Information-Information about the advanced trigger.
Trigger Overview-S: the trigger status of the Host group.
URL-Contains content from external resources.
Horizontal Alignment Possible values:
Center
Left side
Right side
Vertical Alignment Possible values:
Center
Top
Bottom
Column Span Extend cells to multiple columns in the same way as HTML columns.
Row width Expand cells to multiple rows in the same way as HTML rows.

Note the "+" and "-" controls on both sides of the table.

Click "+" at the top of the table to add a column. Click "-" below the table to delete a column.

Click "+" on the left of the table to add a row. Click "-" on the right of the table to delete a row.

If the image height is set to less than 120 pixels, no legends are displayed in the image. Dynamic Element

For some elements, there is an additional option calledDynamic metric item. First, selecting this box does not change anything.

However, once you goMonitoring-> aggregation graphics, You may realize that you now have an additional drop-down list to select a host. Therefore, you have an aggregation graph where some elements display the same information, while others display information based on the currently selected host.

The advantage of this is that you don't need to create additional screens, just because you want to see the same graph containing data from various hosts.

Dynamic metric itemThe options apply to the following aggregate graphics options:

  • Graphics (custom images );
  • Graphical prototype;
  • Simple graphics;
  • Simple graphical prototype;
  • Plain text;
  • URL.
Click a dynamic graph to view all its views. Although only the custom images and graphic prototypes supported by the default host are used currently (that is, the host is not selected in the drop-down list ). When you select another host from the drop-down list, you can use the metric data of this host to create a dynamic graph, and the generated GRAPH Cannot be clicked. Dynamic URLThe element is not displayed in Under monitoring-> Aggregated graphics, Unless the host is selected. If no host is selected, only the message "no host selected" is displayed. Slide Presentation Overview

In the slide presentation, you can configure multiple aggregate graphs to display them one by one at a specified interval.

Sometimes, you may want to switch between some configured aggregated images. Although this can be done manually, it will become very boring once or twice. Therefore, you can use the slide demonstration to automatically complete this task.

All zabbix users (including non-administrator users) can create slide presentations. Slide shows the owner-the owner is the user who created them.

Slide presentation can be public or private. A public slide presentation allows all users to access it. However, you must have the permission to read the elements (aggregated images) of the slide presentation before you can see it. To add an aggregated image to a slide, you must still have the read permission on the aggregated image.

A private slide presentation is only visible to its owner. Private slides can be shared to other users or user groups through their owners. Regular (non-Super administrator) users can only share with their groups and users. As long as they have the permission to read all contained aggregated images, their owners and users can see private slides. Administrator-level users can view and edit private slides as long as they have the permission to read all the aggregated images they contain, whether they are the owner or a list of shared users.

Configuration

Follow these steps to create a slide presentation:

  • Jump to the zabbix front-end pageMonitoring → aggregating Images;
  • SelectSlide Presentation;
  • JumpAll slide demos;
  • ClickCreate a slideshow.

The "slide" tab also contains the general slide demo attributes:

Parameters Description
Owner Select the owner of the slide presentation. Mandatory when specifying the owner.
Name The unique name of the slide presentation.
Default latency (seconds) By default, how long does one aggregate image appear and jumps to the next aggregate image. In seconds.
Slides The list of aggregated images to select. ClickAddSelect an aggregated graph.
Aggregate GraphUp/downArrows can be used to drag up or down an aggregated graph in the displayed order.
If only one aggregated image is displayed on the slide, you can directly create an aggregated image containing the image and add it here.
Aggregated graphics Name of the aggregated graph.
Latency The time, in seconds, that is, the custom value for how long the aggregate graph is displayed.
If this parameter is set to 0Default latency.
Action ClickRemoveRemove the aggregated image from the slide show.

The slides in this example are composed of two aggregated images displayed in the following sequence:

Zabbix server? Display 30 seconds? Zabbix server2? 15 seconds? Zabbix server? Display 30 seconds? Zabbix server2? In turn.

The "share" tab contains the type of the slide presentation and sharing options for private slides (user groups and users ):

Parameters Description
Type Select the type of the slide presentation:
Private-The slide presentation is only visible to selected user groups and users.
Public-The slide presentation is visible to all users.
List of User Group shares Select the user group that can be accessed by the slides.
You can set read-only or read/write permissions.
User shared list Select the users that can access the slides.
You can set read-only or read/write permissions.

ClickAddSave the slides.

Latency

You canMonitoring-> aggregation graphicsTo view the prepared slides, and then select from the drop-down listSlide PresentationAnd click the name of the slide presentation.

You can selectRefresh time multipleTo speed up or slow down the display speed:

 

Distributed System Monitoring zabbix Presentation 4 visualization-technology flow Ken

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.