[go: up one dir, main page]

CN108989154A - A kind of PIM platform monitoring method, system and electronic equipment and storage medium - Google Patents

A kind of PIM platform monitoring method, system and electronic equipment and storage medium Download PDF

Info

Publication number
CN108989154A
CN108989154A CN201811002182.0A CN201811002182A CN108989154A CN 108989154 A CN108989154 A CN 108989154A CN 201811002182 A CN201811002182 A CN 201811002182A CN 108989154 A CN108989154 A CN 108989154A
Authority
CN
China
Prior art keywords
monitoring
data
pim
pim platform
script
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811002182.0A
Other languages
Chinese (zh)
Inventor
王朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811002182.0A priority Critical patent/CN108989154A/en
Publication of CN108989154A publication Critical patent/CN108989154A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0681Configuration of triggering conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses a kind of PIM platform monitoring method, system and a kind of electronic equipment and computer readable storage mediums, this method comprises: the monitoring data of the PIM platform is acquired and saved by monitoring script;When reaching the preset monitoring period, each monitoring data threshold range corresponding with the monitoring data is compared;If it exists it is more than the target monitoring data of the threshold range, then is sent a warning message according to the target monitoring data to management terminal.PIM platform monitoring method provided by the present application, it is mutually indepedent between each monitoring script by each monitoring data in each monitoring script acquisition PIM platform, when monitoring system, which needs to increase, monitors certain item data, it only need to increase corresponding monitoring script, facilitate feasible.It can be seen that PIM platform monitoring method flexibility provided by the present application is higher.

Description

一种PIM平台监控方法、系统及电子设备和存储介质A PIM platform monitoring method, system, electronic equipment and storage medium

技术领域technical field

本申请涉及计算机技术领域,更具体地说,涉及一种PIM平台监控方法、系统及一种电子设备和一种计算机可读存储介质。The present application relates to the field of computer technology, and more specifically, to a PIM platform monitoring method and system, an electronic device, and a computer-readable storage medium.

背景技术Background technique

PIM(中文全称:物理基础设施管理,英文全称:Physical InfrastructureManagement)平台,负责各厂商物理设备如服务器、交换机、防火墙、磁阵等的统一化管理。PIM (full name in Chinese: Physical Infrastructure Management, full name in English: Physical Infrastructure Management) platform is responsible for the unified management of physical equipment of various manufacturers such as servers, switches, firewalls, and disk arrays.

现有技术对PIM平台的监控方法中,当需要增加监控数据时需要重新编写监控程序的代码,监控系统灵活度不高。In the monitoring method for the PIM platform in the prior art, when monitoring data needs to be increased, the code of the monitoring program needs to be rewritten, and the flexibility of the monitoring system is not high.

因此,如何提高PIM平台监控系统的灵活性是本领域技术人员需要解决的问题。Therefore, how to improve the flexibility of the PIM platform monitoring system is a problem to be solved by those skilled in the art.

发明内容Contents of the invention

本申请的目的在于提供一种PIM平台监控方法、系统及一种电子设备和一种计算机可读存储介质,提高了PIM平台监控系统的灵活性。The purpose of this application is to provide a PIM platform monitoring method and system, an electronic device and a computer-readable storage medium, which improve the flexibility of the PIM platform monitoring system.

为实现上述目的,本申请提供了一种PIM平台监控方法,包括:In order to achieve the above object, the application provides a PIM platform monitoring method, including:

通过监控脚本采集并保存所述PIM平台的监控数据;Collect and save the monitoring data of the PIM platform through monitoring script;

当到达预设的监控周期时,对比每个所述监控数据与所述监控数据对应的阈值范围;When a preset monitoring period is reached, comparing each of the monitoring data with a threshold range corresponding to the monitoring data;

若存在超过所述阈值范围的目标监控数据,则根据所述目标监控数据向管理终端发送告警信息。If there is target monitoring data exceeding the threshold range, an alarm message is sent to the management terminal according to the target monitoring data.

其中,所述通过监控脚本采集并保存所述PIM平台的监控数据,包括:Wherein, the monitoring data of the PIM platform collected and saved by the monitoring script includes:

通过监控脚本采集所述PIM平台的监控数据,并将所述监控数据保存至InfluxDB中。Collect the monitoring data of the PIM platform through the monitoring script, and save the monitoring data into InfluxDB.

其中,所述监控数据包括所述PIM平台中硬件的性能类数据和状态类数据。Wherein, the monitoring data includes performance data and status data of hardware in the PIM platform.

其中,还包括:Among them, also include:

通过资产脚本采集并保存所述PIM平台的硬件信息数据。The hardware information data of the PIM platform is collected and saved through the asset script.

其中,所述通过资产脚本采集并保存所述PIM平台的硬件信息数据,包括:Wherein, the hardware information data of the PIM platform collected and saved through the asset script includes:

通过资产脚本采集所述PIM平台的硬件信息数据,并将所述监控数据保存至MySQL中。Collect the hardware information data of the PIM platform through the asset script, and save the monitoring data into MySQL.

其中,所述通过资产脚本采集并保存所述PIM平台的硬件信息数据之后,还包括:Wherein, after the hardware information data of the PIM platform is collected and saved through the asset script, it also includes:

显示所述硬件信息数据。Display the hardware information data.

为实现上述目的,本申请提供了一种PIM平台监控系统,包括:In order to achieve the above object, the application provides a PIM platform monitoring system, including:

第一采集模块,用于通过监控脚本采集并保存所述PIM平台的监控数据;The first collection module is used to collect and save the monitoring data of the PIM platform through the monitoring script;

对比模块,用于当到达预设的监控周期时,对比每个所述监控数据与所述监控数据对应的阈值范围;A comparison module, configured to compare each of the monitoring data with a threshold range corresponding to the monitoring data when a preset monitoring period is reached;

告警模块,用于若存在超过所述阈值范围的目标监控数据,则根据所述目标监控数据向管理终端发送告警信息。An alarm module, configured to send alarm information to the management terminal according to the target monitoring data if there is target monitoring data exceeding the threshold range.

其中,还包括:Among them, also include:

第二采集模块,用于通过资产脚本采集并保存所述PIM平台的硬件信息数据。The second collection module is used to collect and save the hardware information data of the PIM platform through the asset script.

为实现上述目的,本申请提供了一种电子设备,包括:In order to achieve the above purpose, the application provides an electronic device, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现如上述PIM平台监控方法的步骤。The processor is configured to implement the steps of the above PIM platform monitoring method when executing the computer program.

为实现上述目的,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述PIM平台监控方法的步骤。To achieve the above object, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned PIM platform monitoring method are implemented.

通过以上方案可知,本申请提供的一种PIM平台监控方法,包括:通过监控脚本采集并保存所述PIM平台的监控数据;当到达预设的监控周期时,对比每个所述监控数据与所述监控数据对应的阈值范围;若存在超过所述阈值范围的目标监控数据,则根据所述目标监控数据向管理终端发送告警信息。It can be seen from the above scheme that a PIM platform monitoring method provided by the present application includes: collecting and saving the monitoring data of the PIM platform through a monitoring script; when the preset monitoring cycle is reached, comparing each of the monitoring data with the The threshold range corresponding to the monitoring data; if there is target monitoring data exceeding the threshold range, an alarm message is sent to the management terminal according to the target monitoring data.

本申请提供的PIM平台监控方法,通过各个监控脚本采集PIM平台中的每项监控数据,每个监控脚本之间相互独立,当监控系统需要增加监控某项数据时,只需增加相应的监控脚本即可,方便可行。由此可见,本申请提供的PIM平台监控方法灵活性较高。本申请还公开了一种PIM平台监控系统及一种电子设备和一种计算机可读存储介质,同样能实现上述技术效果。The PIM platform monitoring method provided by this application collects each monitoring data in the PIM platform through each monitoring script, and each monitoring script is independent of each other. When the monitoring system needs to increase monitoring of a certain data, only the corresponding monitoring script needs to be added That's it, convenient and feasible. It can be seen that the PIM platform monitoring method provided by the present application has high flexibility. The application also discloses a PIM platform monitoring system, an electronic device and a computer-readable storage medium, which can also achieve the above-mentioned technical effects.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本申请实施例公开的一种PIM平台监控方法的流程图;Fig. 1 is the flow chart of a kind of PIM platform monitoring method disclosed in the embodiment of the present application;

图2为本申请实施例公开的另一种PIM平台监控方法的流程图;Fig. 2 is the flow chart of another kind of PIM platform monitoring method disclosed in the embodiment of the present application;

图3为本申请实施例公开的一种PIM平台监控系统的结构图;Fig. 3 is the structural diagram of a kind of PIM platform monitoring system disclosed in the embodiment of the application;

图4为本申请实施例公开的一种电子设备的结构图;FIG. 4 is a structural diagram of an electronic device disclosed in an embodiment of the present application;

图5为本申请实施例公开的另一种电子设备的结构图。FIG. 5 is a structural diagram of another electronic device disclosed in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

本申请实施例公开了一种PIM平台监控方法,提高了PIM平台监控系统的灵活性。The embodiment of the present application discloses a PIM platform monitoring method, which improves the flexibility of the PIM platform monitoring system.

参见图1,本申请实施例公开的一种PIM平台监控方法的流程图,如图1所示,包括:Referring to Fig. 1, a flow chart of a PIM platform monitoring method disclosed in the embodiment of the present application, as shown in Fig. 1, includes:

S101:通过监控脚本采集并保存所述PIM平台的监控数据;S101: Collect and save the monitoring data of the PIM platform through the monitoring script;

本实施例提供的PIM平台监控方法包括数据采集模块、数据处理模块和告警模块。数据采集模块由底层shell脚本编写,主要包括一个资产脚本和监控脚本,资产脚本负责采集硬件信息数据,具体的流程将在下一实施例进行详细介绍。The PIM platform monitoring method provided in this embodiment includes a data acquisition module, a data processing module and an alarm module. The data acquisition module is written by the underlying shell script, mainly including an asset script and a monitoring script. The asset script is responsible for collecting hardware information data. The specific process will be introduced in detail in the next embodiment.

数据采集模块还包括若干个监控脚本,每个监控脚本利用IPMI元命令采集某个部件的某个监控指标数据,其中部件包括CPU、硬盘、内存、风扇等。此处的监控数据可以包括性能类数据和状态类数据,性能类数据为具体性能数值,状态类数据仅标识某硬件的状态是否异常,可以用0和1表示,0表示正常,1表示异常。例如CPU利用率为性能类数据,CPU状态为状态类数据,因此,每个监控项由部件+监控指标唯一确定。数据处理模块负责处理采集到的数据,并将监控数据按照性能类数据和状态类数据分别处理保存。The data acquisition module also includes several monitoring scripts, each monitoring script uses IPMI meta-commands to collect a certain monitoring index data of a certain component, and the components include CPU, hard disk, memory, fan, etc. The monitoring data here can include performance data and status data. The performance data is a specific performance value, and the status data only indicates whether the status of a certain hardware is abnormal. It can be represented by 0 and 1, 0 means normal, and 1 means abnormal. For example, CPU utilization is performance data, and CPU status is status data. Therefore, each monitoring item is uniquely determined by a component + monitoring indicator. The data processing module is responsible for processing the collected data, and processing and saving the monitoring data according to performance data and status data respectively.

作为一种优选上述方式,通过监控脚本采集所述PIM平台的监控数据后,将所述监控数据保存至InfluxDB中。监控数据更新频率高,数据量大,而且数据按时间保存,不能丢失,influxDB在处理这种场景数据方面具有很好的优势。As a preferred manner above, after the monitoring data of the PIM platform is collected through the monitoring script, the monitoring data is stored in InfluxDB. The monitoring data update frequency is high, the data volume is large, and the data is saved according to time and cannot be lost. InfluxDB has a good advantage in processing this kind of scene data.

在具体应用中,用户首先在浏览器中输入环境地址,登录web可视化操作界面。系统会根据用户的操作初始化参数,包括SNMPV3参数、IPMI参数和设备IP。SNMPV3参数包括隐私密钥、认证算法、隐私算法、用户名、认证密钥、认证等级等,IPMI参数包括IPMI用户名、密码、驱动等。In a specific application, the user first enters the environment address in the browser, and logs in the web visual operation interface. The system will initialize parameters according to user operations, including SNMPV3 parameters, IPMI parameters and device IP. SNMPV3 parameters include privacy key, authentication algorithm, privacy algorithm, user name, authentication key, authentication level, etc., and IPMI parameters include IPMI user name, password, driver, etc.

S102:当到达预设的监控周期时,对比每个所述监控数据与所述监控数据对应的阈值范围;S102: When a preset monitoring period is reached, compare each monitoring data with a threshold range corresponding to the monitoring data;

本步骤默认存在每个监控数据与预设的阈值范围的对应关系,该对应关系可以以数据表的形式存储于内存中,当然也可以以其他形式进行存储,在此不作具体限定。每隔预设的监控周期,告警模块取出内存中的监控数据,并与其对应的阈值范围进行对比。若超过该阈值范围,则将超出阈值范围的目标监控数据发出告警,具体的告警方式,例如邮件、短信等,在此不作具体限定。In this step, there is a correspondence between each monitoring data and a preset threshold range by default. The correspondence can be stored in the memory in the form of a data table, and of course can also be stored in other forms, which are not specifically limited here. Every preset monitoring period, the alarm module takes out the monitoring data in the memory and compares it with the corresponding threshold range. If it exceeds the threshold range, an alarm will be issued for the target monitoring data that exceeds the threshold range. The specific alarm methods, such as emails, short messages, etc., are not specifically limited here.

S103:若存在超过所述阈值范围的目标监控数据,则根据所述目标监控数据向管理终端发送告警信息。S103: If there is target monitoring data exceeding the threshold range, send alarm information to the management terminal according to the target monitoring data.

当监控数据超过阈值范围,则将超出阈值范围的目标监控数据发出告警,具体的告警方式,例如邮件、短信等,在此不作具体限定。当不存在超过阈值范围的目标监控数据时,则等待下次监控周期的到来。When the monitoring data exceeds the threshold range, an alarm will be issued for the target monitoring data exceeding the threshold range. The specific alarming methods, such as email, short message, etc., are not specifically limited here. When there is no target monitoring data exceeding the threshold range, it waits for the arrival of the next monitoring period.

本申请实施例提供的PIM平台监控方法,通过各个监控脚本采集PIM平台中的每项监控数据,每个监控脚本之间相互独立,当监控系统需要增加监控某项数据时,只需增加相应的监控脚本即可,方便可行。由此可见,本申请实施例提供的PIM平台监控方法灵活性较高。The PIM platform monitoring method provided by the embodiment of the present application collects each monitoring data in the PIM platform through each monitoring script, and each monitoring script is independent of each other. When the monitoring system needs to increase monitoring of a certain data, only the corresponding Just monitor the script, which is convenient and feasible. It can be seen that the PIM platform monitoring method provided by the embodiment of the present application has high flexibility.

下面介绍本申请提供的PIM平台监控方法对硬件信息数据的监控流程,具体的:The following introduces the PIM platform monitoring method provided by this application to the monitoring process of hardware information data, specifically:

参见图2,本申请实施例公开的另一种PIM平台监控方法的流程图,如图2所示,包括:Referring to Fig. 2, a flow chart of another PIM platform monitoring method disclosed in the embodiment of the present application, as shown in Fig. 2, includes:

S201:通过资产脚本采集并保存所述PIM平台的硬件信息数据;S201: Collect and save the hardware information data of the PIM platform through the asset script;

S202:显示所述硬件信息数据。S202: Display the hardware information data.

在具体实施中,资产脚本利用SNMP、IPMI元命令采集资产数据,即硬件信息数据。由于告警信息的产生与性能数据有关,与资产数据无关。资产数据,是服务器硬件信息数据,只在页面静态展示即可。用户可以结合硬件信息数据对产生告警的监控数据进行后续的维护处理。In a specific implementation, the asset script uses SNMP and IPMI meta-commands to collect asset data, that is, hardware information data. Since the generation of alarm information is related to performance data, it has nothing to do with asset data. Asset data is server hardware information data, which can only be displayed statically on the page. Users can perform follow-up maintenance processing on the monitoring data that generates alarms in combination with hardware information data.

作为一种优选实施方式,通过资产脚本采集所述PIM平台的硬件信息数据后,将所述监控数据保存至MySQL中。资产脚本数据更新频率低,而且更新后的数据可以覆盖原数据,保存到数据库就可以,为避免不必要的资源消耗,不需要使用influxDB高性能的数据库。As a preferred implementation manner, after the hardware information data of the PIM platform is collected through the asset script, the monitoring data is saved in MySQL. The update frequency of asset script data is low, and the updated data can overwrite the original data, just save it to the database. To avoid unnecessary resource consumption, it is not necessary to use the high-performance influxDB database.

下面对本申请实施例提供的一种PIM平台监控系统进行介绍,下文描述的一种PIM平台监控系统与上文描述的一种PIM平台监控方法可以相互参照。A PIM platform monitoring system provided in the embodiment of the present application is introduced below, and a PIM platform monitoring system described below and a PIM platform monitoring method described above may refer to each other.

参见图3,本申请实施例提供的一种PIM平台监控系统的结构图,如图3所示,包括:Referring to FIG. 3, a structural diagram of a PIM platform monitoring system provided in the embodiment of the present application, as shown in FIG. 3, includes:

第一采集模块301,用于通过监控脚本采集并保存所述PIM平台的监控数据;The first collection module 301 is used to collect and save the monitoring data of the PIM platform through monitoring scripts;

对比模块302,用于当到达预设的监控周期时,对比每个所述监控数据与所述监控数据对应的阈值范围;A comparison module 302, configured to compare each of the monitoring data with a threshold range corresponding to the monitoring data when a preset monitoring period is reached;

告警模块303,用于若存在超过所述阈值范围的目标监控数据,则根据所述目标监控数据向管理终端发送告警信息。The alarm module 303 is configured to send alarm information to the management terminal according to the target monitoring data if there is target monitoring data exceeding the threshold range.

本申请实施例提供的PIM平台监控系统,通过各个监控脚本采集PIM平台中的每项监控数据,每个监控脚本之间相互独立,当监控系统需要增加监控某项数据时,只需增加相应的监控脚本即可,方便可行。由此可见,本申请实施例提供的PIM平台监控系统灵活性较高。The PIM platform monitoring system provided by the embodiment of the present application collects each monitoring data in the PIM platform through each monitoring script, and each monitoring script is independent of each other. When the monitoring system needs to increase monitoring of a certain data, only the corresponding Just monitor the script, which is convenient and feasible. It can be seen that the PIM platform monitoring system provided by the embodiment of the present application has high flexibility.

在上述实施例的基础上,作为一种优选实施方式,所述第一采集模块301具体为通过监控脚本采集所述PIM平台的监控数据,并将所述监控数据保存至InfluxDB中的模块。On the basis of the above embodiments, as a preferred implementation manner, the first collection module 301 is specifically a module that collects monitoring data of the PIM platform through a monitoring script and saves the monitoring data in InfluxDB.

在上述实施例的基础上,作为一种优选实施方式,所述监控数据包括所述PIM平台中硬件的性能类数据和状态类数据。On the basis of the foregoing embodiments, as a preferred implementation manner, the monitoring data includes performance data and status data of hardware in the PIM platform.

在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the foregoing embodiments, as a preferred implementation manner, it also includes:

第二采集模块,用于通过资产脚本采集并保存所述PIM平台的硬件信息数据。The second collection module is used to collect and save the hardware information data of the PIM platform through the asset script.

在上述实施例的基础上,作为一种优选实施方式,所述第二采集模块具体为通过资产脚本采集所述PIM平台的硬件信息数据,并将所述监控数据保存至MySQL中的模块。On the basis of the above embodiments, as a preferred implementation manner, the second collection module is specifically a module that collects hardware information data of the PIM platform through an asset script, and saves the monitoring data to MySQL.

在上述实施例的基础上,作为一种优选实施方式,还包括:On the basis of the foregoing embodiments, as a preferred implementation manner, it also includes:

显示模块,用于显示所述硬件信息数据。A display module, configured to display the hardware information data.

本申请还提供了一种电子设备,参见图4,本申请实施例提供的一种电子设备的结构图,如图4所示,包括:The present application also provides an electronic device, see FIG. 4, a structural diagram of an electronic device provided in an embodiment of the present application, as shown in FIG. 4, including:

存储器100,用于存储计算机程序;memory 100, for storing computer programs;

处理器200,用于执行所述计算机程序时可以实现上述实施例所提供的步骤。The processor 200 is configured to implement the steps provided in the foregoing embodiments when executing the computer program.

具体的,存储器100包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令,该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。处理器200为电子设备提供计算和控制能力,执行所述存储器100中保存的计算机程序时,可以实现上述任一实施例提供的PIM平台监控方法的步骤。Specifically, the memory 100 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The processor 200 provides computing and control capabilities for the electronic device, and when the computer program stored in the memory 100 is executed, the steps of the PIM platform monitoring method provided by any of the above-mentioned embodiments can be implemented.

本申请实施例通过各个监控脚本采集PIM平台中的每项监控数据,每个监控脚本之间相互独立,当监控系统需要增加监控某项数据时,只需增加相应的监控脚本即可,方便可行,灵活性较高。In the embodiment of the present application, each monitoring data in the PIM platform is collected through each monitoring script, and each monitoring script is independent of each other. When the monitoring system needs to increase monitoring of a certain data, only the corresponding monitoring script needs to be added, which is convenient and feasible , higher flexibility.

在上述实施例的基础上,作为优选实施方式,参见图5,所述电子设备还包括:On the basis of the above embodiments, as a preferred implementation manner, referring to FIG. 5, the electronic device further includes:

输入接口300,与处理器200相连,用于获取外部导入的计算机程序、参数和指令,经处理器200控制保存至存储器100中。该输入接口300可以与输入装置相连,接收用户手动输入的参数或指令。该输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是键盘、触控板或鼠标等。The input interface 300 is connected with the processor 200 , and is used for acquiring externally imported computer programs, parameters and instructions, and storing them in the memory 100 under the control of the processor 200 . The input interface 300 can be connected with an input device to receive parameters or instructions manually input by a user. The input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touch pad provided on the terminal shell, or may be a keyboard, a touch pad, or a mouse.

显示单元400,与处理器200相连,用于显示处理器200发送的数据。该显示单元400可以为PC机上的显示屏、液晶显示屏或者电子墨水显示屏等。具体的,在本实施例中,可以通过显示单元400显示监控数据、硬件信息数据等。The display unit 400 is connected to the processor 200 and used for displaying data sent by the processor 200 . The display unit 400 may be a display screen on a PC, a liquid crystal display screen, or an electronic ink display screen. Specifically, in this embodiment, monitoring data, hardware information data, and the like can be displayed through the display unit 400 .

网络端口500,与处理器200相连,用于与外部各终端设备进行通信连接。该通信连接所采用的通信技术可以为有线通信技术或无线通信技术,如移动高清链接技术(MHL)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术等。The network port 500 is connected with the processor 200 and used for communicating with various external terminal devices. The communication technology used in the communication connection can be wired communication technology or wireless communication technology, such as mobile high-definition link technology (MHL), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s, etc.

本申请还提供了一种计算机可读存储介质,该存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。该存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例提供的PIM平台监控方法的步骤。The present application also provides a computer-readable storage medium, which may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic Various media that can store program codes such as discs or optical discs. A computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the PIM platform monitoring method provided by any of the above embodiments are implemented.

说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part. It should be pointed out that those skilled in the art can make some improvements and modifications to the application without departing from the principles of the application, and these improvements and modifications also fall within the protection scope of the claims of the application.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

Claims (10)

1. a kind of PIM platform monitoring method characterized by comprising
The monitoring data of the PIM platform is acquired and saved by monitoring script;
When reaching the preset monitoring period, each monitoring data threshold range corresponding with the monitoring data is compared;
If it exists it is more than the target monitoring data of the threshold range, then is sent according to the target monitoring data to management terminal Warning information.
2. PIM platform monitoring method according to claim 1, which is characterized in that described to acquire and save by monitoring script The monitoring data of the PIM platform, comprising:
The monitoring data of the PIM platform is acquired by monitoring script, and the monitoring data is saved into InfluxDB.
3. PIM platform monitoring method according to claim 1, which is characterized in that the monitoring data includes the PIM platform The performance class data and state class data of middle hardware.
4. any one of -3 PIM platform monitoring method according to claim 1, which is characterized in that further include:
The hardware information data of the PIM platform are acquired and saved by assets script.
5. PIM platform monitoring method according to claim 4, which is characterized in that described to acquire and save by assets script The hardware information data of the PIM platform, comprising:
The hardware information data of the PIM platform are acquired by assets script, and the monitoring data is saved into MySQL.
6. PIM platform monitoring method according to claim 4, which is characterized in that described to acquire and save by assets script After the hardware information data of the PIM platform, further includes:
Show the hardware information data.
7. a kind of PIM platform monitoring system characterized by comprising
First acquisition module, for the monitoring data of the PIM platform to be acquired and saved by monitoring script;
Contrast module, for comparing each monitoring data and the monitoring data pair when reaching the preset monitoring period The threshold range answered;
Alarm module, for being if it exists more than the target monitoring data of the threshold range, then according to the target monitoring data It sends a warning message to management terminal.
8. PIM platform monitoring system according to claim 7, which is characterized in that further include:
Second acquisition module, for the hardware information data of the PIM platform to be acquired and saved by assets script.
9. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the platform monitoring side PIM as described in any one of claim 1 to 6 when for executing the computer program The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the PIM platform monitoring method as described in any one of claim 1 to 6 when the computer program is executed by processor The step of.
CN201811002182.0A 2018-08-30 2018-08-30 A kind of PIM platform monitoring method, system and electronic equipment and storage medium Pending CN108989154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811002182.0A CN108989154A (en) 2018-08-30 2018-08-30 A kind of PIM platform monitoring method, system and electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811002182.0A CN108989154A (en) 2018-08-30 2018-08-30 A kind of PIM platform monitoring method, system and electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108989154A true CN108989154A (en) 2018-12-11

Family

ID=64546924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811002182.0A Pending CN108989154A (en) 2018-08-30 2018-08-30 A kind of PIM platform monitoring method, system and electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108989154A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984904A (en) * 2020-07-15 2020-11-24 鹏城实验室 A distributed collaborative monitoring method, monitoring platform and storage medium
CN112463339A (en) * 2020-12-11 2021-03-09 北京浪潮数据技术有限公司 Multitask scheduling method, system, equipment and storage medium
CN117312108A (en) * 2023-09-15 2023-12-29 山东中创软件商用中间件股份有限公司 Timing alarm method, device, equipment and medium for intelligent platform management interface

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106685839A (en) * 2016-11-17 2017-05-17 上海斐讯数据通信技术有限公司 Method and system for monitoring router long connection service
US20170339042A1 (en) * 2016-05-18 2017-11-23 Dynatrace Llc Synthetic Testing Of Web Applications Using Instrumented Monitoring Agents
CN107391337A (en) * 2017-07-18 2017-11-24 郑州云海信息技术有限公司 A kind of data monitoring method and device
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN107623745A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 A kind of monitoring method, system and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170339042A1 (en) * 2016-05-18 2017-11-23 Dynatrace Llc Synthetic Testing Of Web Applications Using Instrumented Monitoring Agents
CN107491371A (en) * 2016-06-13 2017-12-19 阿里巴巴集团控股有限公司 A kind of method and device for monitoring deployment
CN106685839A (en) * 2016-11-17 2017-05-17 上海斐讯数据通信技术有限公司 Method and system for monitoring router long connection service
CN107391337A (en) * 2017-07-18 2017-11-24 郑州云海信息技术有限公司 A kind of data monitoring method and device
CN107623745A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 A kind of monitoring method, system and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984904A (en) * 2020-07-15 2020-11-24 鹏城实验室 A distributed collaborative monitoring method, monitoring platform and storage medium
CN111984904B (en) * 2020-07-15 2023-07-14 鹏城实验室 A distributed collaborative monitoring method, monitoring platform and storage medium
CN112463339A (en) * 2020-12-11 2021-03-09 北京浪潮数据技术有限公司 Multitask scheduling method, system, equipment and storage medium
CN117312108A (en) * 2023-09-15 2023-12-29 山东中创软件商用中间件股份有限公司 Timing alarm method, device, equipment and medium for intelligent platform management interface

Similar Documents

Publication Publication Date Title
US11362923B2 (en) Techniques for infrastructure analysis of internet-based activity
US10320827B2 (en) Automated cyber physical threat campaign analysis and attribution
CN108173938B (en) Server load distribution method and device
US9384114B2 (en) Group server performance correction via actions to server subset
CN107133309B (en) Method and device for storing and querying process example, storage medium and electronic equipment
US20150263913A1 (en) Monitoring of services
CN111198859A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN108989154A (en) A kind of PIM platform monitoring method, system and electronic equipment and storage medium
US20160124829A1 (en) Agent dynamic service
CN105978802B (en) A kind of method and device of Message Processing
US9755938B1 (en) Monitored system event processing and impact correlation
CN113157480B (en) Error information processing method, device, storage medium and terminal
US11005797B2 (en) Method, system and server for removing alerts
US9154515B1 (en) Systems and methods identifying and reacting to potentially malicious activity
CN114840565A (en) Sampling query method, device, electronic device and computer-readable storage medium
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN111274104B (en) Data processing method, device, electronic equipment and computer readable storage medium
US20150188747A1 (en) Cloud-based data center infrastructure management system and method
CN109558300B (en) Whole cabinet alarm processing method and device, terminal and storage medium
CN111723410A (en) Hard disk encryption method, hard disk lock system, hard disk encryption device and storage medium
CN109388546B (en) Method, device and system for processing faults of application program
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
US10742667B1 (en) System and method for dynamical modeling multi-dimensional security event data into a graph representation
US10333801B2 (en) Inventory service for distributed infrastructure
CN113066139A (en) Picture processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211

RJ01 Rejection of invention patent application after publication