CN106571972A - Server monitoring method and device - Google Patents
Server monitoring method and device Download PDFInfo
- Publication number
- CN106571972A CN106571972A CN201510651349.6A CN201510651349A CN106571972A CN 106571972 A CN106571972 A CN 106571972A CN 201510651349 A CN201510651349 A CN 201510651349A CN 106571972 A CN106571972 A CN 106571972A
- Authority
- CN
- China
- Prior art keywords
- server
- state parameter
- monitoring
- prerequisite
- machine room
- 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.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 152
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000009877 rendering Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 12
- 241000208340 Araliaceae Species 0.000 claims description 7
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 7
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 7
- 235000008434 ginseng Nutrition 0.000 claims description 7
- 238000011084 recovery Methods 0.000 claims description 3
- 238000004378 air conditioning Methods 0.000 description 12
- 230000007246 mechanism Effects 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 241000282326 Felis catus Species 0.000 description 2
- 241000219739 Lens Species 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000001143 conditioned effect Effects 0.000 description 2
- 210000000695 crystalline len Anatomy 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000007789 gas Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 239000003973 paint Substances 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 229910002092 carbon dioxide Inorganic materials 0.000 description 1
- CURLTUGMZLYLDI-UHFFFAOYSA-N carbon dioxide Natural products O=C=O CURLTUGMZLYLDI-UHFFFAOYSA-N 0.000 description 1
- UBAZGMLMVVQSCD-UHFFFAOYSA-N carbon dioxide;molecular oxygen Chemical compound O=O.O=C=O UBAZGMLMVVQSCD-UHFFFAOYSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 229910052760 oxygen Inorganic materials 0.000 description 1
- 239000001301 oxygen Substances 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 239000004071 soot Substances 0.000 description 1
- 239000002341 toxic gas Substances 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
Landscapes
- Alarm Systems (AREA)
Abstract
The invention discloses a server monitoring method and device, relates to the technical field of network, and solves a problem that a conventional server monitoring efficiency is lower. The main technical scheme of the invention comprises the steps: firstly obtaining the state parameters of each server in a machine room, wherein the state parameters at least comprise monitoring items, alarm items and/or server attribute information; secondly judging whether the state parameters accord with preset condition or not; finally drawing a server monitoring image according to the state parameters which do not accord with the preset conditions, so as to achieve the monitoring of the servers. The method is mainly used for monitoring the operation of the servers.
Description
Technical field
The present invention relates to networking technology area, more particularly to a kind of monitoring method and device of server.
Background technology
With the continuous development of information network technique, the construction and development of computer network make people greatly open
Wealthy information perspective, information processing and propagation efficiency in also greatly improving office and living.At the same time
People also increasingly strengthen to the dependency of network in work, life, therefore the maintenance management burden of network
Increasingly it is heavy.It is as the machine room of disparate networks equipment is widely distributed in the different bands of position and large number of
The physical movement environment situation of unattended equipment room, electric distribution situation, equipment operation condition and disappear
The critical condition such as anti-cannot timely be found and be processed, therefore, the server exception operation shape in machine room
Condition is also difficult to effectively be predicted, take precautions against and avoided.
At present, by PHP (Hypertext Preprocessor, supertext pretreatment language) and C (meters
Calculation machine programming language) program module write of language obtains each state parameter in machine room, and according to
The state parameter of acquisition is monitored to server.However, the program module that PHP and C language are write be with
Multithreading carries out task process, as multithreading uses the working mechanism of preemptive type, and between thread
Switching can take the extra work time, therefore the program module write by PHP and C language obtains each
The speed of each server state parameter in individual machine room is slow, so as to existing server monitoring efficiency is low.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of monitoring method and device of server, and main purpose is
Improve the monitoring efficiency of server.
To reach above-mentioned purpose, present invention generally provides following technical scheme:
On the one hand, a kind of monitoring method of server is embodiments provided, the method includes:
Obtain the state parameter of each server in machine room;Wherein, the state parameter at least includes:Prison
Control project, warning project and/or server property information;
Judge whether the state parameter meets prerequisite;
According to the state parameter for not meeting the prerequisite, rendering server monitoring image, so as to clothes
Business device is monitored.
On the other hand, the embodiment of the present invention additionally provides a kind of supervising device of server, and the device includes:
Acquiring unit, for obtaining the state parameter of each server in machine room;Wherein, the state ginseng
Number at least includes:Monitoring project, warning project and/or server property information;
Judging unit, for judging whether the state parameter meets prerequisite;
Drawing unit, for according to the state parameter for not meeting the prerequisite, rendering server monitoring figure
Picture, so that being monitored to server.
By above-mentioned technical proposal, technical scheme provided in an embodiment of the present invention at least has following advantages:
The monitoring method and device of a kind of server are embodiments provided, first according to preset scheduling rule
The state parameter of each server machine room in is obtained successively then, wherein, the state parameter at least includes:
Monitoring project, warning project and/or server property information, then judge whether the state parameter meets pre-
Condition is put, finally according to the state parameter for not meeting the prerequisite, rendering server monitoring image, with
So that being monitored to server.Each of machine room is obtained with the working mechanism for adopting multithreading preemptive type at present
State parameter is compared, and the embodiment of the present invention obtains each server in machine room successively according to preset scheduling rule
State parameter, then judge whether the state parameter meets prerequisite, it is described finally according to not meeting
The state parameter of prerequisite, rendering server monitoring image, so that server is monitored, therefore
Can be reduced when the state parameter of each server in machine room is obtained by the embodiment of the present invention switching between thread
Time, so as to improve the monitoring efficiency of server.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to embodiment or existing skill
Accompanying drawing to be used needed for art description is briefly described, it should be apparent that, drawings in the following description are only
Only it is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creative labor
On the premise of dynamic, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of monitoring method flow chart of server provided in an embodiment of the present invention;
Fig. 2 is the monitoring method flow chart of another kind of server provided in an embodiment of the present invention;
Fig. 3 is a kind of composition frame chart of the supervising device of server provided in an embodiment of the present invention
Fig. 4 is the composition frame chart of the supervising device of another kind of server provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should not be by
Embodiments set forth here is limited.On the contrary, there is provided these embodiments are able to be best understood from this
It is open, and the scope of the present disclosure complete can be conveyed to those skilled in the art.
To make the advantage of technical solution of the present invention clearer, with reference to the accompanying drawings and examples to present invention work
Describe in detail.
A kind of monitoring method of server is embodiments provided, as shown in figure 1, methods described includes:
101st, obtain the state parameter of each server in machine room.
Wherein, the state parameter at least includes:Monitoring project, warning project and/or server property information,
Specifically, can be realized by way of preset scheduling rule for step 101, wherein, it is described preset
Scheduling rule is pre-configured with according to the actual demand of each operation condition of server in machine room, is used for
The state parameter of each server in order acquisition machine room in the way of assisting more journey process task is realized, it is described many
What association's journey process task was taken is asynchronous message communication, therefore can be quick by many association Cheng Jinhang tasks process
Obtain each state parameter in machine room.In embodiments of the present invention, obtained by preset scheduling rule successively
Each status data in machine room, it is possible to reduce between multithreading in the prior art volume occupied by handover operation
The outer time, such that it is able to improve the efficiency for obtaining each status data in machine room.
It should be noted that the present invention can (object-oriented, explanation type computer program set by python
Meter language) language carries out writing preset scheduling rule.
For the embodiment of the present invention, the monitoring project is specifically as follows:The parameter of building environment, machine room are moved
The parameter of power, network system monitor parameter, aid system monitoring parameter;The warning project is specifically as follows:
Fire-fighting system parameter, intruding detection system parameter, security system parameter etc.;The server property information tool
Body can be:Server type, operating system, CPU models, hard disk size etc., the embodiment of the present invention is not
It is specifically limited.
For the embodiment of the present invention, the ambient parameter of the machine room can include herein below:Temperature to machine room
The parameter of humidity control, the parameter monitored to the microenvironment of the machine room, the leak oil leak to the machine room are supervised
The parameter of control, the parameter monitored by the harmful gass of the machine room, the parameter to the air conditioning monitoring of the machine room
With the parameter of the new fan monitoring to the machine room;The kinetic parameter of the machine room can include herein below:
The monitoring of parameter to the distribution monitor of the machine room, the switching-on and switching-off state to the machine room and circuit state
Parameter, the parameter to the uninterruptible power source monitoring of the machine room, the parameter of the battery monitor to the machine room,
Parameter that parameter to the generating machine monitoring of the machine room, the Switching Power Supply to the machine room are monitored and to described
The parameter of the open circuit monitoring and fluorescent tube control monitoring of machine room;Aid system monitoring data can be included in following
Hold:To video monitoring system monitoring parameter, to gate control system monitoring parameter, the parameter to network monitoring,
Parameter to mail Monitoring, the parameter to the monitoring of server monitoring service system, to short message receiving-transmitting platform monitoring
Parameter, the embodiment of the present invention is not specifically limited.
It should be noted that the present invention can need the position deployment sensor of monitoring, carried out by sensor
Data acquisition, for example, monitors the temperature and humidity data in machine room by gathering Temperature Humidity Sensor;Pass through
Collection fire-fighting controller or smoke alarm, alarm signal real-time monitoring fire police's state of temperature detector,
The embodiment of the present invention is not specifically limited.
102nd, judge whether the state parameter meets prerequisite.
Wherein, the prerequisite is configured according to the actual requirements, and each state in machine room
Parameter corresponds to a given threshold.State parameter threshold value can specifically include:Computer room temperature threshold value, machine room
Humidity threshold, input voltage threshold value, output voltage threshold value, output current threshold value, output frequency threshold value etc.,
The embodiment of the present invention is not specifically limited.For example, temperature one temperature threshold of correspondence in machine room, works as machine room
When interior temperature parameter exceeds given threshold, then judge that the temperature parameter in machine room does not meet pre-conditioned.
103rd, according to the state parameter for not meeting the prerequisite, rendering server monitoring image, so that
Server is monitored.
Wherein, the monitoring image of the server is used in display server the state ginseng for not meeting prerequisite
Number.In embodiments of the present invention, can be according to the prerequisite that do not meet in machine room in diverse location region
State parameter, carries out rendering server monitoring image, for example, will be divided into multiple position areas in certain city
Domain, then according to the corresponding state for not meeting prerequisite respectively in each band of position, draws metropolitan district
Domain server monitoring image.
It is possible to further according to different communication machine rooms, the corresponding state for not meeting prerequisite is joined respectively
Number, carries out rendering server monitoring image.For example, can be according to the prerequisite of not meeting in telecommunications room
State parameter, draws the server monitoring image of telecommunications room, can be being entered according to machine rooms such as UNICOM or movements
Row rendering server monitoring image, the embodiment of the present invention are not specifically limited.In embodiments of the present invention, paint
The server monitoring image of system can also specifically show the corresponding prerequisite that do not meet of certain server
State parameter.
In embodiments of the present invention, monitoring image can adopt geographic distribution, mark on geographic distribution
Each unmanned machine room, and hypertext link is placed on map for being linked to next stage picture, such that it is able to
Facilitate user to browse by being linked into each monitored unmanned machine room and carrying out inside, and then may browse through machine room
The information of interior each equipment.For example, in machine room various switches, mark, door and window, equipment, battery etc. are all
It is made into the plug-in unit of IE5, as long as put them on that its attribute, geographic distribution are set on homepage
Can be with the running status for showing each equipment in machine room of image, so as to improve Consumer's Experience.
In embodiments of the present invention, the monitoring form for generating and/or monitoring image are generated into pressure using compression algorithm
Contracting file, then deposits in the compressed file of generation in one data base, and such user can be according to various
The monitoring form stored in search criterion searching data storehouse or monitoring figure.Further, the embodiment of the present invention is also
The various journal files of the system operation that is stored with.The content that journal file includes:The operation of system with exit,
The operation of supervising device with exit, all of dialing record, User logs in and release, the ruuning situation of network
Record etc., the embodiment of the present invention is not specifically limited.
A kind of monitoring method of server is embodiments provided, first according to preset scheduling rule successively
The state parameter of each server in machine room is obtained, wherein, the state parameter at least includes:Monitored item
Mesh, warning project and/or server property information, then judge whether the state parameter meets prerequisite,
Finally according to the state parameter for not meeting the prerequisite, rendering server monitoring image, so as to clothes
Business device is monitored.Each state parameter of machine room is obtained with the working mechanism at present using multithreading preemptive type
Compare, the embodiment of the present invention obtains the state ginseng of each server in machine room successively according to preset scheduling rule
Number, then judges whether the state parameter meets prerequisite, finally according to not meeting the prerequisite
State parameter, rendering server monitoring image so that be monitored to server, therefore passes through this
Bright embodiment can reduce the switching time between thread when obtaining the state parameter of each server in machine room, from
And improve the monitoring efficiency of server.
The monitoring method of another kind of server is embodiments provided, as shown in Fig. 2 methods described bag
Include:
201st, obtain the state parameter of each server in machine room according to preset scheduling rule successively.
Wherein, the state parameter at least includes:Monitoring project, warning project and/or server property information,
The preset scheduling rule is pre-configured with according to the actual demand of each operation condition of server in machine room
, for realizing the state parameter of each server in order acquisition machine room in the way of assisting more journey process task,
What many association's journey process tasks were taken is asynchronous message communication, therefore can by assisting Cheng Jinhang tasks to process more
Each state parameter in machine room is obtained quickly.In embodiments of the present invention, by preset scheduling rule according to
Each status data in secondary acquisition machine room, it is possible to reduce in prior art between multithreading shared by handover operation
Some extra times, such that it is able to improve the efficiency for obtaining each status data in machine room.It should be noted that
The present invention can be compiled by python (object-oriented, explanation type computer programming language) language
Write preset scheduling rule.
For the embodiment of the present invention, the monitoring project is specifically as follows:The parameter of building environment, machine room are moved
The parameter of power, network system monitor parameter, aid system monitoring parameter;The warning project is specifically as follows:
Fire-fighting system parameter, intruding detection system parameter, security system parameter etc.;The server property information tool
Body can be:Server type, operating system, CPU models, hard disk size etc., the embodiment of the present invention is not
It is specifically limited.
For the embodiment of the present invention, methods described also includes:Obtained in machine room successively according to preset time interval
Each server state parameter.Wherein, the preset time interval can be set according to the actual requirements
Put, it is also possible to configured by system default, for example, the preset time interval can be:1 minute, 3 minutes,
5 minutes etc., the embodiment of the present invention was not specifically limited.In embodiments of the present invention, according to preset time interval
The state parameter of each server in machine room is obtained successively, is capable of achieving to obtain every state of server in real time
Parameter, so as to improve the monitoring degree of accuracy of server.
202nd, judge whether the state parameter meets prerequisite.
Wherein, the prerequisite is configured according to the actual requirements, and each state of server
Parameter corresponds to a given threshold.State parameter threshold value can specifically include:Computer room temperature threshold value, machine room
Humidity threshold, input voltage threshold value, output voltage threshold value, output current threshold value, output frequency threshold value etc.,
The embodiment of the present invention is not specifically limited.For example, temperature one temperature threshold of correspondence in machine room, works as machine room
When interior temperature parameter exceeds given threshold, then judge that the temperature parameter in machine room does not meet pre-conditioned.
For the embodiment of the present invention, when the state parameter is building environment state parameter, the judgement institute
Stating state parameter and whether meeting prerequisite includes:Judge whether the building environment state parameter is more than or waits
In predetermined environmental condition.Wherein, building environment state parameter specifically can include temperature, leak, humidity,
The parameters such as smog, power supply, air-conditioning, UPS, oxygen, carbon dioxide, soot density or its combination.At this
In bright embodiment, specifically may determine that following building environment state parameter whether more than or equal to preset environment bar
Part:
(1) temperature and humidity monitor:The monitors environment humiture of server, computer room temperature, humidity over limit alarm.
(2) microenvironment monitoring:Monitoring cabinet, server internal, the hot localised points temperature on cable surface, temperature
Spend exceeded alarm.
(3) leak oil leak monitoring:The whether leak nearby of monitoring air-conditioning, window, water pipe etc., monitors diesel generation
, there is leak alarm, oil leak alarm occur in whether oil leak near unit.
(4) harmful gass monitoring:Monitor the harmful gas concentration gathered by each room respective sensor, such as O2,
The data such as CO2, CO, H2S, SO2, NO, NO2, Cl2, gas, the exceeded Times of concentration of toxic gases
Alert, the too low alarm of oxygen concentration.
(5) precision air conditioner monitoring:Exported by the serial ports of precision air conditioner, real-time monitoring air-conditioning return air temperature and wet
The state of the parts such as the parameters such as degree, compressor, blower fan, condenser, heater, humidifier, moisture separator.
When return air temperature/humidity over limit, air-conditioning break down alarm.
(6) common air-conditioning monitoring:By monitoring common air-conditioning draught temperature, machine room indoor environment temperature, realize
Monitor in real time to common air-conditioning, when air-conditioning cisco unity malfunction alarm, draught temperature or indoor temperature surpass
Cross setting upper limit alarm.
(7) central air-conditioner monitoring:By installing network type temperature controller additional, the control to fan coil is realized, realized
The centralizing switch machine control of the air-conditioning in multiple rooms and online temperature adjustment.When event occur in temperature exceeding standard, air-conditioning
Barrier alarm.
(8) new fan monitoring:Monitor new blower fan working condition and on off control, new blower fan breaks down Times
It is alert.
For the embodiment of the present invention, when the state parameter is Room Power state parameter, the judgement institute
Stating state parameter and whether meeting prerequisite includes:Judge whether the Room Power state parameter is more than or waits
In preset dynamic condition.In embodiments of the present invention, specifically may determine that following Room Power state parameter is
It is no more than or equal to preset dynamic condition:
(1) distribution monitor:The parameters of electric power in monitoring power distribution cabinet loop, such as three-phase voltage, three-phase current, frequency,
Power factor etc..The too high alarm of input voltage, the too low alarm of input voltage.
(2) switching-on and switching-off state and circuit state monitoring:Monitor the on off operating mode of circuit switchings at different levels, monitoring to refer to
Determine voltage, electric current or the on off operating mode of circuit.Assigned switch disconnects alarm, specified circuit power-off alarm.
(3) UPS monitoring:Monitoring UPS inputs and output voltage, electric current, cell voltage, preparation time etc.,
The state of the parts such as commutator, inverter, battery, bypass, load.Input voltage is exceeded, output voltage
Too low, load overload alarm.
(4) battery monitor:The voltage of monitoring accumulator battery each cell, charging and discharging currents, battery table
Face temperature etc., it is intended that it is to report to the police that the voltage of battery, charging and discharging currents, surface temperature are exceeded.
(5) generating machine monitoring:Monitoring diesel generating set running status and output voltage, electric current, frequency,
The parameters such as water temperature, oil level, oil pressure, when the exceeded alarm of input voltage, the exceeded alarm of water temperature, oil pressure surpass
Timestamp is reported to the police.
(6) Switching Power Supply monitoring:The state and parameter of each part of pilot switch power supply, including voltage, electric current,
The parameters such as temperature, capacity, sending short messages when there is the alarm of setting carries out remote alarmss.
(7) circuit monitoring and signal light control:Using multi-channel data acquisition controller, real-time monitoring specified loop
Break-make, and signal light control of machine room etc. can be realized as needed.
For the embodiment of the present invention, specifically may determine that whether following aid system monitoring parameter is more than or equal to
Preset aid system parameter:
(1) fire-fighting system:Monitor in real time machine room smog, the state of temperature detector or collection fire-fighting control
The alarm output signal of device, when condition of a fire alarm occurs in discovery.
(2) intrusion detection:By gathering mobile detector (infrared, double mirror), glass break sensorses, vibrations biography
The alarm output signal of sensor and other anti-theft alarming equipments, real-time monitoring machine room security and anti-theft situation.Have
People invades alarm.
(3) video monitoring system:The monitored picture and replay image of machine room specified point are shown in real time.By network,
In sub-control room remote watching image and playback video recording, while controllable head, the action of camera lens.Can be in video
Loss, mobile detection, probe triggering, do not connect hard disk, hard disk without space, video is abnormal, it is bad disk occur
Situations such as block, is reported to the police when occurring.
(4) gate control system:Be actually needed according to client, can select swipe the card, recognition of face, iris, note it is remote
Process control, manual controller, go out in the modes such as door trip one or more.Network-type access controller,
The long-range enabling in LAN can be realized;Note remote controllers, can be by sending short messages or dialing electricity
Talk about remotely to open the door.System real time record door on off state, opening time, door area and person liable etc. count
Data.Do not report to the police when normally entering, swarm into extremely room alarm.
(5) network monitoring:The network equipment (clothes are specified by the mode such as ping, telnet, ftp, tcp monitor in real time
Business device, router, switch etc.) networking on off operating mode, when the obstructed alarm in networking, designated port can not
Access alarm, website and can not access alarm.Alternatively user's customized development, when realizing server exception
Restart or close.
(6) server monitoring service system:Control authority and control condition are set, realize specifying the clothes of IP address
Business device is automatically switched off and restarts control, realizes the note remote power-off of given server or restarts control.
(7) short message receiving-transmitting platform:Note remote alarmss mechanism used by Help of System, it is possible to achieve following function:
Short message receiving-transmitting:Receive note, sending short messages in groups, short message timing to send.Message search:System is except fixed in advance
The public information of system is available for user's inquiry outer, additionally provides the function of powerful free custom-built query content,
User can easily customize address list, product information of our unit etc., provide information for field force
Inquiry service.
For the embodiment of the present invention, it is described judge whether the state parameter meets prerequisite after, it is described
Method also includes:State parameter to not meeting the prerequisite, is alerted.
In the embodiment of the present invention, when obtaining judged result and that is to say monitored results, the result can be passed through
Display shows, checks for staff that staff can see real-time monitoring machine on screen
Each state parameter run in room.It is, of course, also possible to the result is stored, supply as historical data
Follow-up to use or inquire about, staff can then check whether each item data of machine room is normal in each stage.When
When occurring abnormal, then can be output prompt messages, point out where staff exception occurs.At this
In inventive embodiments, user, can be gathered around as long as having access to the Internet in arbitrary place, arbitrary time
There is the corresponding authority just can only be in local Surveillance center with monitoring machine room, control.
For example, when unauthorized person is made a forcible entry into, opening of doors and windows can make switch send audible alarm or infrared ray
Alarm equipment alarm, while observation system is reported to the police to administrative center immediately.When administrative center receives the report for police service, immediately
Ejecting picture carries out field monitor.
For the warning information of output, the embodiment of the present invention can be divided into local type of alarm and remote alarmss side
Formula.Wherein, can be sounded the alarm by external voice box after local type of alarm can monitor data exception
Sound, can be that display shows eye-catching red alarm color, to can also be and install alarm lamp in machine room,
When Monitoring Data is abnormal, alarm signal is lighted, and eye-catching light color causes the attention of management personnel.
LED alarm screens are installed, prompting occur during warning on display screen, for illustrating warning concrete reason.
For remote alarmss mode, can be by installing note cat and e-mail client software in advance, when
When monitoring data exception, note is sent to mobile phone by note cat by reserved cell-phone number, while note can be with
Including the content reported to the police, it is intended that phone number can pass through the work shape of the short-message instruction inquiry each system of machine room
State.
203rd, according to the state parameter for not meeting the prerequisite, rendering server monitoring image, so that
Server is monitored.
Wherein, the monitoring image of the server is used in display server the state ginseng for not meeting prerequisite
Number.In embodiments of the present invention, can be according to the prerequisite that do not meet in machine room in diverse location region
State parameter, carries out rendering server monitoring image, for example, will be divided into multiple position areas in certain city
Domain, then according to the corresponding state for not meeting prerequisite respectively in each band of position, draws metropolitan district
Domain server monitoring image.
It is possible to further according to different communication machine rooms, the corresponding state for not meeting prerequisite is joined respectively
Number, carries out rendering server monitoring image.For example, can be according to the prerequisite of not meeting in telecommunications room
State parameter, draws the server monitoring image of telecommunications room, can be being entered according to machine rooms such as UNICOM or movements
Row rendering server monitoring image, the embodiment of the present invention are not specifically limited.In embodiments of the present invention, paint
The server monitoring image of system can also specifically show and corresponding in certain server not meet prerequisite
State ginseng.
In embodiments of the present invention, the monitoring image drawn is generated into compressed file using compression algorithm, then
The compressed file of generation is deposited in a data base, such user can be searched according to various search criterions
The monitoring form stored in data base or monitoring figure.Further, the embodiment of the present invention be also stored with system fortune
Capable various journal files.The content that journal file includes:System operation with exit, the fortune of supervising device
Row with exit, all of dialing record, User logs in and release, the ruuning situation record of network etc., this
Inventive embodiments are not specifically limited.
204th, receive monitoring data query statement.
Wherein, the monitoring data query statement is for indicating export server monitoring image, real in the present invention
Apply in example, after receiving monitoring data query statement, display output form or prison can be monitored on screen interface
Control image, such that it is able to facilitate manager to check the operation conditions of each server in machine room.
In embodiments of the present invention, server monitoring image can be shown by display, for work
Personnel check that staff can see each state parameter run in monitoring machine room in real time on screen.
It is, of course, also possible to server monitoring image is stored, use or inquiry for follow-up as historical data,
Staff can then check whether each item data of machine room is normal in each stage.In embodiments of the present invention,
User just can possess corresponding authority in arbitrary place, arbitrary time as long as having access to the Internet
Machine room can be monitored, control can only be in local Surveillance center, it is ensured that safe operation.
For the embodiment of the present invention, after the reception monitoring data query statement, methods described also includes:
Detect whether that the state parameter for receiving server recovers instruction, it is described to recover instruction for recovering not meeting institute
State the state parameter of prerequisite;If receiving, according to the preset rule that processes to not meeting the preset bar
The state parameter of part is adjusted.Wherein, the preset rule that processes is configured according to the actual requirements,
For the embodiment of the present invention, rule is processed to warning information to not meeting the shape of the prerequisite by preset
State parameter is adjusted, and the server of working state abnormal in machine room can be made to recover normal working condition.
Specific process rule can be as follows:
(1) connection of remote-controlled certain unmanned machine room videophone and closing, the selection of pick-up lenss.Can so make
Management personnel carry out live observation to certain scene at any time.
(2) electromagnetic valve of the fire extinguisher of remote-controlled certain unmanned machine room is opened and cut out, manually to shake control
Fire extinguishing.There is operation indicating to prevent the maloperation of non-management employee, management system when this work
Control with operator password input, be only input into proper password and can perform action.
(3) remote-controlled certain unmanned machine room drainage equipment is opened and cut out.Drainage works are carried out for machine room.
(4) remote-controlled certain unmanned machine room ventilation installation is open-minded, the problems such as to solve building environment overly moist.
(5) air-conditioning equipment of remote-controlled certain unmanned machine room is opened and cut out, can to the monitoring system of unmanned machine room
Whether assign carries out the order of computer room temperature adjust automatically.
(6) warning of infra-red alarm is opened and closed to remote-controlled certain unmanned machine room, and door, window are opened and reported to the police,
The illegal unlatching of IC-card antitheft door is reported to the police.Antitheft loud noise audible alarm of unmanned machine room etc..These remote controls are also needed
There is Password Management.
(7) enabling of remote-controlled certain unmanned machine room IC-card door with close the door, can so prevent maintainer from leaving behind IC
Block or because extraneous personnel destruction causes the damage of IC-card card reader.And can not open the door.Remote control machine room opens the door and closes
Door will also have Password Management.
(8) the standby usage power-supply device of the alternating current power supply of remote-controlled certain unmanned machine room closes a floodgate and opens a sluice gate and primary, spare
Back brake of power-supply device etc..
(9) combined floodgate of the direct current power source portion of remote-controlled certain unmanned machine room with open a sluice gate, so with coordinate the condition of a fire,
Regimen and field personnel's maintenance work.
Embodiments provide the monitoring method of another kind of server, first according to preset scheduling rule according to
The state parameter of each server in secondary acquisition machine room, wherein, the state parameter at least includes:Monitoring
Project, warning project and/or server property information, then judge whether the state parameter meets preset bar
Part, finally according to the state parameter for not meeting the prerequisite, rendering server monitoring image, so that
Server is monitored.Each state of machine room is obtained with the working mechanism at present using multithreading preemptive type
Parameter is compared, and the embodiment of the present invention obtains the shape of each server in machine room successively according to preset scheduling rule
State parameter, then judges whether the state parameter meets prerequisite, described preset finally according to not meeting
The state parameter of condition, rendering server monitoring image so that being monitored to server, therefore pass through
When the embodiment of the present invention can reduce the switching between thread when obtaining the state parameter of each server in machine room
Between, so as to improve the monitoring efficiency of server.
Further, the embodiment of the present invention provides a kind of supervising device of server, as shown in figure 3, described
Device includes:Acquiring unit 31, judging unit 32, drawing unit 33
Acquiring unit 31, for obtaining the state parameter of each server in machine room;Wherein, the state
Parameter at least includes:Monitoring project, warning project and/or server property information.
Judging unit 32, for judging whether the state parameter meets prerequisite.
Drawing unit 33, for according to the state parameter for not meeting the prerequisite, rendering server monitoring
Image, so that being monitored to server.
It should be noted that each function involved by a kind of supervising device of server provided in an embodiment of the present invention
Other corresponding descriptions of unit, may be referred to the correspondence description of method shown in Fig. 1, will not be described here.
A kind of supervising device of server is embodiments provided, first according to preset scheduling rule successively
The state parameter of each server in machine room is obtained, wherein, the state parameter at least includes:Monitored item
Mesh, warning project and/or server property information, then judge whether the state parameter meets prerequisite,
Finally according to the state parameter for not meeting the prerequisite, rendering server monitoring image, so as to clothes
Business device is monitored.Each state parameter of machine room is obtained with the working mechanism at present using multithreading preemptive type
Compare, the embodiment of the present invention obtains the state ginseng of each server in machine room successively according to preset scheduling rule
Number, then judges whether the state parameter meets prerequisite, finally according to not meeting the prerequisite
State parameter, rendering server monitoring image so that be monitored to server, therefore passes through this
Bright embodiment can reduce the switching time between thread when obtaining the state parameter of each server in machine room, from
And improve the monitoring efficiency of server.
Further, the embodiment of the present invention provides the supervising device of another kind of server, as shown in figure 4, institute
Stating device includes:Acquiring unit 41, judging unit 42, drawing unit 43.
Acquiring unit 41, for obtaining the state of each server in machine room according to preset scheduling rule successively
Parameter;Wherein, the state parameter at least includes:Monitoring project, warning project and/or server property letter
Breath.
Judging unit 42, for judging whether the state parameter meets prerequisite.
Drawing unit 43, for according to the state parameter for not meeting the prerequisite, rendering server monitoring
Image, so that being monitored to server.
Further, described device also includes:
Alarm Unit 44, for the state parameter to not meeting the prerequisite, is alerted.
Further, described device also includes:
Receiving unit 45, for receiving monitoring data query statement, the monitoring data query statement is used to refer to
Show export server monitoring image.
Further, described device also includes:
Detector unit 46, for detecting whether the state parameter for receiving server recovers instruction, the recovery
Instruct for recovering not meeting the state parameter of the prerequisite;
Adjustment unit 47, if for receiving the recovery instruction, according to the preset rule that processes to not meeting
The state parameter of the prerequisite is adjusted.
The acquiring unit 41, specifically for obtaining each service in machine room according to preset time interval successively
The state parameter of device.
It should be noted that each function involved by a kind of supervising device of server provided in an embodiment of the present invention
Other corresponding descriptions of unit, may be referred to the correspondence description of method shown in Fig. 2, will not be described here.
Embodiments provide the supervising device of another kind of server, first according to preset scheduling rule according to
The state parameter of each server in secondary acquisition machine room, wherein, the state parameter at least includes:Monitoring
Project, warning project and/or server property information, then judge whether the state parameter meets preset bar
Part, finally according to the state parameter for not meeting the prerequisite, rendering server monitoring image, so that
Server is monitored.Each state of machine room is obtained with the working mechanism at present using multithreading preemptive type
Parameter is compared, and the embodiment of the present invention obtains the shape of each server in machine room successively according to preset scheduling rule
State parameter, then judges whether the state parameter meets prerequisite, described preset finally according to not meeting
The state parameter of condition, rendering server monitoring image so that being monitored to server, therefore pass through
When the embodiment of the present invention can reduce the switching between thread when obtaining the state parameter of each server in machine room
Between, so as to improve the monitoring efficiency of server.
Through the above description of the embodiments, those skilled in the art can be understood that this
It is bright to add the mode of required common hardware to realize by software, naturally it is also possible to by hardware, but a lot
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme substantially or
Person says that the part contributed to prior art can be embodied in the form of software product, and the computer is soft
Part product is stored in the storage medium that can read, such as the floppy disk of computer, hard disk or CD etc., if including
Dry instruction is used so that a computer equipment (can be personal computer, server, or the network equipment
Deng) perform method described in each embodiment of the invention.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art the invention discloses technical scope in, can readily occur in
Change or replacement, should all be included within the scope of the present invention.Therefore, protection scope of the present invention should
It is defined by the scope of the claims.
Claims (10)
1. a kind of monitoring method of server, it is characterised in that include:
Obtain the state parameter of each server in machine room;Wherein, the state parameter at least includes:Prison
Control project, warning project and/or server property information;
Judge whether the state parameter meets prerequisite;
According to the state parameter for not meeting the prerequisite, rendering server monitoring image, so as to clothes
Business device is monitored.
2. the monitoring method of server according to claim 1, it is characterised in that described in the judgement
After whether state parameter meets prerequisite, methods described also includes:
State parameter to not meeting the prerequisite, is alerted.
3. the monitoring method of server according to claim 2, it is characterised in that the basis is not inconsistent
The state parameter of the prerequisite is closed, after rendering server monitoring image, methods described also includes:
Monitoring data query statement is received, the monitoring data query statement is used to indicate that export server is monitored
Image.
4. the monitoring method of server according to claim 3, it is characterised in that the reception monitoring
After data query instruction, methods described also includes:
Detect whether that the state parameter for receiving server recovers instruction, it is described to recover instruction for recovering not being inconsistent
Close the state parameter of the prerequisite;
If receiving, adjust according to the preset state parameter for processing rule to not meeting the prerequisite
It is whole.
5. the monitoring method of server according to claim 1, it is characterised in that methods described is also wrapped
Include:
The state parameter of each server in machine room is obtained successively according to preset time interval.
6. a kind of supervising device of server, it is characterised in that include:
Acquiring unit, for obtaining the state parameter of each server in machine room;Wherein, the state ginseng
Number at least includes:Monitoring project, warning project and/or server property information;
Judging unit, for judging whether the state parameter meets prerequisite;
Drawing unit, for according to the state parameter for not meeting the prerequisite, rendering server monitoring figure
Picture, so that being monitored to server.
7. the supervising device of server according to claim 6, it is characterised in that described device is also wrapped
Include:
Alarm Unit, for the state parameter to not meeting the prerequisite, is alerted.
8. the supervising device of server according to claim 7, it is characterised in that described device is also wrapped
Include:
Receiving unit, for receiving monitoring data query statement, the monitoring data query statement is used to indicate
Export server monitoring image.
9. the supervising device of server according to claim 8, it is characterised in that described device is also wrapped
Include:
Detector unit, for detecting whether the state parameter for receiving server recovers instruction, it is described to refer to
Make for recovering not meeting the state parameter of the prerequisite;
Adjustment unit, if for receiving the recovery instruction, according to the preset rule that processes to not meeting
The state parameter for stating prerequisite is adjusted.
10. the supervising device of server according to claim 6, it is characterised in that
The acquiring unit, specifically for obtaining each server in machine room according to preset time interval successively
State parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510651349.6A CN106571972B (en) | 2015-10-10 | 2015-10-10 | Server monitoring method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510651349.6A CN106571972B (en) | 2015-10-10 | 2015-10-10 | Server monitoring method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106571972A true CN106571972A (en) | 2017-04-19 |
CN106571972B CN106571972B (en) | 2021-02-12 |
Family
ID=58506162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510651349.6A Expired - Fee Related CN106571972B (en) | 2015-10-10 | 2015-10-10 | Server monitoring method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106571972B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107202407A (en) * | 2017-06-19 | 2017-09-26 | 青岛海信日立空调系统有限公司 | A kind of air conditioner fire alarm method, apparatus and system based on line control machine |
CN108445847A (en) * | 2018-03-22 | 2018-08-24 | 上海精鲲计算机科技有限公司 | A kind of visualization computer room management system |
CN108769170A (en) * | 2018-05-18 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of cluster network fault self-checking system and method |
CN109639490A (en) * | 2018-12-18 | 2019-04-16 | 网宿科技股份有限公司 | A kind of delay machine notification method and device |
CN110445669A (en) * | 2019-06-26 | 2019-11-12 | 苏州浪潮智能科技有限公司 | A kind of monitoring method, equipment and the readable medium of the server based on association's journey |
CN112416439A (en) * | 2019-08-20 | 2021-02-26 | 广州弘度信息科技有限公司 | Remote restarting system of server and control method thereof |
CN114362361A (en) * | 2021-12-17 | 2022-04-15 | 南方电网海南数字电网研究院有限公司 | Multi-dimensional power distribution terminal abnormity analysis and notification method |
CN117076259A (en) * | 2023-10-16 | 2023-11-17 | 辽宁牧龙科技有限公司 | Intelligent management system and method for digital equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123616A (en) * | 2007-09-28 | 2008-02-13 | 北京金山软件有限公司 | A server management method and a server management system |
US20140019403A1 (en) * | 2012-07-12 | 2014-01-16 | International Business Machines Corporation | Transaction server performance monitoring using component performance data |
CN104898533A (en) * | 2015-04-29 | 2015-09-09 | 陈龙晶 | Machine room monitoring method, device and system |
-
2015
- 2015-10-10 CN CN201510651349.6A patent/CN106571972B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123616A (en) * | 2007-09-28 | 2008-02-13 | 北京金山软件有限公司 | A server management method and a server management system |
US20140019403A1 (en) * | 2012-07-12 | 2014-01-16 | International Business Machines Corporation | Transaction server performance monitoring using component performance data |
CN104898533A (en) * | 2015-04-29 | 2015-09-09 | 陈龙晶 | Machine room monitoring method, device and system |
Non-Patent Citations (2)
Title |
---|
ITEYE_18951: "python 实现多台UNIX服务器自动巡检", 《HTTPS://BLOG.CSDN.NET/ITEYE_18951/ARTICLE/DETAILS/82267896》 * |
曾经的学渣: "《浅谈我对协程的理解》", 《HTTPS://BLOG.CSDN.NET/QQ910894904/ARTICLE/DETAILS/41699541》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107202407A (en) * | 2017-06-19 | 2017-09-26 | 青岛海信日立空调系统有限公司 | A kind of air conditioner fire alarm method, apparatus and system based on line control machine |
CN107202407B (en) * | 2017-06-19 | 2019-12-03 | 青岛海信日立空调系统有限公司 | A kind of air conditioner fire alarm method, apparatus and system based on line control machine |
CN108445847A (en) * | 2018-03-22 | 2018-08-24 | 上海精鲲计算机科技有限公司 | A kind of visualization computer room management system |
CN108769170A (en) * | 2018-05-18 | 2018-11-06 | 郑州云海信息技术有限公司 | A kind of cluster network fault self-checking system and method |
CN109639490A (en) * | 2018-12-18 | 2019-04-16 | 网宿科技股份有限公司 | A kind of delay machine notification method and device |
EP3896904A4 (en) * | 2018-12-18 | 2022-01-19 | Wangsu Science & Technology Co., Ltd. | Downtime notification method and device |
CN110445669A (en) * | 2019-06-26 | 2019-11-12 | 苏州浪潮智能科技有限公司 | A kind of monitoring method, equipment and the readable medium of the server based on association's journey |
CN112416439A (en) * | 2019-08-20 | 2021-02-26 | 广州弘度信息科技有限公司 | Remote restarting system of server and control method thereof |
CN112416439B (en) * | 2019-08-20 | 2024-03-05 | 广州弘度信息科技有限公司 | Remote restarting system of server and control method thereof |
CN114362361A (en) * | 2021-12-17 | 2022-04-15 | 南方电网海南数字电网研究院有限公司 | Multi-dimensional power distribution terminal abnormity analysis and notification method |
CN114362361B (en) * | 2021-12-17 | 2023-11-21 | 南方电网海南数字电网研究院有限公司 | Multi-dimensional distribution terminal abnormality analysis and notification method |
CN117076259A (en) * | 2023-10-16 | 2023-11-17 | 辽宁牧龙科技有限公司 | Intelligent management system and method for digital equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106571972B (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106571972A (en) | Server monitoring method and device | |
CN108762354A (en) | Transformer room system | |
CN112698676B (en) | AI-based intelligent power distribution room operation method | |
CN104898533A (en) | Machine room monitoring method, device and system | |
CN208314496U (en) | Machine room power environment monitoring system | |
CN208521198U (en) | Transformer room system | |
CN102063116B (en) | Building information total management system and method | |
CN104269936A (en) | Comprehensive monitoring method and system | |
CN110798344A (en) | Intelligent power distribution operation and maintenance system | |
CN103488154A (en) | Remote comprehensive monitoring system for transformer substation operating environment and linkage control method thereof | |
CN111077927B (en) | Automatic computer operating environment adjusting system based on data acquisition | |
CN107947362A (en) | Electric railway traction supply intelligent auxiliary system | |
CN108631447A (en) | Unattended intelligent transformer substation system | |
CN105931419B (en) | A kind of house intelligent safety protection system | |
CN110674957A (en) | Intelligent charging management system and method | |
CN206557586U (en) | Distribution monitoring system based on Intelligent internet of things | |
CN106502152A (en) | A kind of Internet of Things energy-saving safe intelligent control method and system | |
CN114660982A (en) | Laboratory safety inspection method and device based on Internet of things | |
CN111596637A (en) | Intelligent fire fighting management system and method | |
CN112055089A (en) | Intelligent operation and maintenance duty management system for cloud power distribution room robot | |
CN106297154A (en) | A kind of intelligent fire repair and maintenance monitoring system | |
CN104362737A (en) | Intelligent comprehensive on-line monitoring system | |
CN207612125U (en) | Electric railway traction supply intelligent auxiliary system | |
CN110793157A (en) | Cabinet air conditioner and energy-saving control system thereof | |
CN111486537B (en) | Air conditioner with security and monitoring functions |
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 | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210212 |
|
CF01 | Termination of patent right due to non-payment of annual fee |