1、 System introduction
Wgcloud is a distributed monitoring system based on Java language. Its core modules include: server cluster monitoring, ES cluster status monitoring, CPU monitoring, memory monitoring, data monitoring, service heartbeat detection, application process management, disk IO monitoring, system load monitoring, monitoring alarm information push. Compared with ZABBIX monitoring tool, it is lighter and more user-friendly, and can easily support the monitoring of hundreds of hosts.
2、 Main functions
Login: enter the account and password to log in.
After logging in, the monitoring panel information of the host is displayed, including the number of monitoring processes, the number of data sources, the number of monitoring data tables, the total amount of data in the data tables, the number of service interfaces, the number of abnormal service interfaces, and the amount of system log data.
The pie chart shows the number of monitoring hosts and classification according to performance indicators, and the bar chart shows the number of data tables monitored recently.
Open host management and you can see the information reported by all hosts. Hosts cannot be added directly. All hosts are collected and processed through agent automatic reporting.
Click Delete to delete the host. If the agent continues to report information, the host information will appear in the list.
Click note to alias the host.
Click system information to view system information, such as number of CPUs, model, system type, disk information, etc.
Click the chart to view the change trend line chart of memory, CPU, system load and network traffic.
CPU monitoring chart
In the left menu, open the host management list and click the chart button on the right side of the list to view the CPU monitoring graphic report.
Memory monitoring chart
In the left menu, open the host management list and click the chart button on the right side of the list to view the memory monitoring graphic report.
System load monitoring chart
In the left menu, open the host management list and click the chart button on the right side of the list to view the graphical report of system load monitoring.
Network traffic monitoring chart
In the left menu, open the host management list and click the chart button on the right side of the list to view the network traffic monitoring graphical report.
Network receiving and sending packet monitoring chart
In the left menu, open the host management list and click the chart button on the right side of the list to view the graphical report of network received and sent packet quantity monitoring.
Process management refers to the monitoring of applications on the host, which can monitor the use resources of applications, such as memory and CPU, in real time.
Click the chart to view the resource occupation information of the process for a period of time.
Click add, select the host, enter the process ID, and then save.
In the process list, click add, jump to the add process page, select the monitoring host, enter the process ID, process name and other information, and then click save.
Data source list
Click the data monitoring button on the page to perform corresponding operations. You can see the added data source information in the data source list.
Data source add
Click the Add button on the data source list page to add a data source. On the following page, you need to enter the corresponding information, including database type, user name, password, port, name, etc.
Data sheet list
Click data table management of the page and press to open the corresponding page and operate the corresponding information. The following figure is a list.
Data table add
Click the data table management of the page, press to open the corresponding page, operate the corresponding information, add the page, select the data source, table name and table alias, and finally enter the where condition of the query.
Service interface management
Click Service Interface Management on the page to add a service interface. After adding successfully, scan the service interface regularly to detect whether the service interface is reachable.
Click log information on the page to view the error information generated during system operation, such as alarm information and program error information. The log can only be viewed, but cannot be edited and deleted.
Click the email alert button on the page to view its information. E-mail alert is used to configure the target mailbox and sending mailbox for sending alert information. At present, only e-mail sending is supported.
Open the corresponding Kanban page to view its information. The public Kanban is open to tourists. By default, the system opens the Kanban service and can be closed at any time in the configuration file. The public Kanban does not need to log in and can browse the monitoring information of the host, but it cannot be edited and can only be browsed.
GrafanaMain features: flexible and rich graphical options; Can mix a variety of styles; Support day and night modes; Multiple data sources; Graphite and influxdb query editor and so on.
becausezabbixIts own graphics are relatively few, which can not meet our needs. Therefore, we can install grafana to cooperate with ZABBIX to make the data more intuitive and visual.
After the operation is completed, you can click the exit button in the upper right corner to exit the system.