A method of monitoring and alarming
A technology for monitoring alarms and alarm time, applied in the field of information security, can solve the problems of increasing development and operation and maintenance costs, inability to transmit data to alarm servers, and inability to ensure high availability of alarms, and achieve the effect of ensuring correctness.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] Embodiment 1 of the present invention provides an operation in which the server obtains the alarm authority in the method for monitoring and alarming, such as figure 2 As shown, including: After the server in the server cluster is started, the started server performs the following operations:
[0061] Step 101: the server queries the alarm authority time field in the database, and obtains the alarm time value recorded in the field;
[0062] In this embodiment, preferably, when the server is started, first obtain and process the alarm time value, after processing, wait for the second preset time and then query the alarm time value again, in addition, it can also be: Step 101 It also includes before, after the server is started, first wait for the second preset time, and then execute step 101; preferably, the second preset time is 20s;
[0063] Step 102: The server acquires the current system time, and judges whether the difference between the current system time and th...
Embodiment 2
[0089] Embodiment 2 of the present invention provides a method for monitoring and alarming in which the server that obtains the alarm authority handles the operation of the alarm process, such as image 3 As shown, including: the alarm thread of the server that obtains the alarm authority performs the following operations:
[0090] Step 201: the server acquires all resource records from the database every third preset time;
[0091] For example, as shown in Table 1, all resource records obtained by the alarm server from the database are:
[0092] Table 1
[0093]
[0094]
[0095] Step 202: the server takes the first record among all resource records as the current resource record;
[0096] For example, the first resource record obtained is the resource name otp1, the update operation performed by server C, the alarm flag is not alarmed, the resource update time is 2012.01.28 11:25:00, and the number of resource errors is 4 times. The IP address is 192.168.16.225, the...
Embodiment 3
[0129] Embodiment 3 of the present invention provides a method for processing and updating resource records in the database of the server in the method for monitoring and alarming, such as Figure 4 shown, including:
[0130] Step 301: start the client of the host;
[0131] Step 302: The client generates a request for obtaining monitoring information according to the IP address of the host, obtains and sends the request for obtaining monitoring information to the server according to preset configuration information;
[0132] For example, the generated request to obtain monitoring information is:
[0133]
[0134]
[0135] 192.168.16.225
[0136]
[0137] The client program obtains the corresponding preset configuration information according to the host IP landlord, obtains the server list from the preset configuration information, sends the request for obtaining monitoring information to the first server in the server list according to the order of the server list, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


