- Created By : 06-Dec-2018
- Published In: Tutorial
- Hits: 2203
Microclimate monitoring of a server room, conditioner rotation system and other beautiful words set neither us nor you from maintaining a basic order in a server room. There is a chance to be a perfectionist and put each cable close to another one, or it is possible to scatter totally unnecessary stuff all over the server room and forget what labeling is and let it be. In this article, it will be discussed what a server room should never look like. Here, you will not see any horror pictures in a server room, when braided wires come down from the walls and wrap crooked racks with an ugly net. The article will discuss a pretty regular server room in a pretty usual company.
Cacti is an open-source web application. The system allows building graphs using RRDtool. Cacti gathers statistical data for specific periods of time and allows representing them in a graphic view. Most often, standard templates are used to represent statistics on a processor load, memory allocation, number running processes, using incoming/outgoing traffic. Basically, Cacti is only a shell to visualize accumulated monitoring data, namely drawing graphs. In this article, we will regard a way of extending Cacti features for sending SMS notifications on monitoring events (SMS gateway for Cacti). To send SMS, it is possible to use the next devices of NetPing company:
- hardware gateway for sending and receiving SMS notifications NetPing SMS;
- device for monitoring microclimate of server rooms UniPing server solution v4/SMS;
- device for remote controlling of the power supply (IP power distribution unit) for server equipment NetPing 8/PWR-220 v4/SMS
This allows minimizing the expenses for third-party services of SMS distribution because in this case, the cost of each SMS will be equal to one specified in the plan of your mobile network operator with no additional commissions.
When choosing a monitoring system for the IT infrastructure of a business, there is a need to take into consideration a range of factors. First, there is a need to evaluate if the functionality of a monitoring system matches your technical and business requirements. Then, there is a need to examine peculiarities of deployment and support to choose a tool that corresponds to your infrastructure and a competence level of IT specialists.
On this page, you will find the standards recommended by ASHRAE for monitoring the environment in your data center or server room. The settings below apply to A1-A4 class data centers and server rooms. Environmental standards are provided for rack-level monitoring, ambient monitoring and water leak detection.
Nagios is one of the service monitoring systems that is provided on the software market. One of the biggest advantages of this system is its flexibility. In this article, a basic Nagios configuration will be regarded for working with devices for server room monitoring NetPing on the example of UniPing server solution v3 and a set of sensors.
To implement a regarded solution, we will need:
- A server with Ubuntu 18.04 operating system, or a similar one (IP address 192.168.0.150);
- Working installation of Nagios Core 4.4.1 (hereinafter Nagios) on a server (installing and configuring will be described in the article);
- UniPing server solution v3 - 1 pc. (IP address 192.168.0.100);
- 1-wire temperature sensor - 1 pc.;
- 1-wire humidity sensor - 1 pc.;
- door sensor - 1 pc.;
- supply voltage sensor - 1 pc.;
- liquid sensor - 1 pc.;
- airflow sensor - 1 pc.
The need to remote monitoring of the object has always been considerably topical. Today, the market of video surveillance cameras (or closed-circuit cameras, or CCTV cameras) can offer devices for almost all needs that allow using CCTV cameras in any systems, including the systems for repeating and visualizing the information that comes from various sensors in monitoring systems. In this article, we will examine the example of connected CCTV cameras to a device for monitoring server rooms UniPing server solution v4/SMS and their configurations necessary for sending snapshots when sensors for visual evaluation of the environment triggered in a remote room. For example, after connecting a door sensor, we will be able to see a face of an individual, who opened the door. After connecting a smoke sensor, it is possible to evaluate actual smoke in the room. A leakage sensor shows a water level on the floor. There are also many other variants that are limited only by the administrator's imagination and the necessity in the monitoring.
To implement a described solution, you will need:
- a surveillance camera (CCTV camera). The main requirement towards the camera is the presence of Alarm IN inputs. A camera SNR-CI-DB30I is going to be used in the article;
- A monitoring device UniPing server solution v4/SMS (it is also possible to use any other device for monitoring or power controlling, equipped with IO lines, for example, UniPing server solution v3, UniPing v3, NetPing IO v2, NetPing 8/PWR-220 v4/SMS, NetPing 2/PWR-220 v4/SMS, NetPing 2/PWR-220 v3/ETH);
- Any sensor, the triggering of which is the basis for getting a snapshot from a camera. In the example, a door sensor is used.
Modern human aims to automate as many as possible spheres of his/her personal and professional life. Earlier in our blog, we had already examined a possibility of Using NetPing Devices to Solve the Issue of Registering Data from Water Flow Meters. In this article, we will examine one more automation variant – sending a monthly report about the water consumption data using the integration of a monitoring device produced by NetPing company with a Zabbix monitoring system.
In the report, there is a need to represent the next information:
- date of sending a report;
- information on the meter;
- final water/electricity consumption for the last month;
- readings at the beginning of the period;
- readings at the end of the period;
- a total sum of the payment in currency according to the tariff
In this article, the example of the simplest configuration of a Nagios IT infrastructure monitoring is shown that is necessary for working with NetPing devices for server room monitoring, on the example of UniPing v3. The largest advantage of this monitoring system is its flexibility (simplicity of writing user plugins for monitoring of virtually anything that can belong to a system engineer's job), and its disadvantage is a relative complexity of its configuration (configuration is performed through editing a configurational file).
To configure temperature monitoring in a server room using Nagios and UniPing v3, you will need:
- a monitoring server running under Ubuntu 9.04 Server, with an IP address 192.168.2.230;
- a device for environment monitoring of server rooms UniPing v3, with an IP address 192.168.2.10, and SNMP-Community «SWITCH», access to which is allowed at least from a monitoring server.
It is difficult to imagine a modern world without accurate timing. In many spheres of life, there is a need to have a very accurate clock, and often the accuracy must be significantly higher than the one of clocks used by people in everyday life. For example, requirements for the clock accuracy in flight control systems, spacecraft control systems, or military systems are the highest. Also, clocks of high accuracy are necessary for systems with simpler functions, such as billing systems and charging systems of cell phone operators and Internet providers, as well as the systems of bank transactions, in trading systems, manufacturing, and scientific complexes. In local networks, user authentication protocol Kerberos also utilizes comparing the clock of a controller domain with the clock of users' workstations. In computer networks, a synchronization is usually performed with time servers using an NTP protocol or its simplified variety called SNTP. In this article, we will examine peculiarities, differences, and examples of using these protocols.
Russian innovational company Eocortex that develops software for the IP video surveillance systems integrated devices NetPing IO v2 and UniPing v3 with its software product. This allowed expanding the usability of NetPing monitoring units on the basis of developed scenarios.
- start of video recording when a door sensor or a glass break sensor triggers;
- activation of a siren alarm when there is movement detected at the surveillance object;
- switching a lightening system on at the object to record video and when motion sensor triggers;
- opening/closing a barrier when license plates are recognized;
- notifying an operator on duty with a sound or signal indication and when finding abandoned items in public places;
- organization of access to a room by identification of an individual's face;
- informing about the crowding of people in public places using such methods as e-mail notifications, through SNMP notifications to a control panel, sound or signal indication;
- implementing features of camcorder washer when it gets dirty;
- following and guarding moving objects when they surpass the entrance to a specified zone with a lengthy stay at this zone;
- preventing and detecting fire situations in the moment of triggering a smoke sensor by switching off the equipment that works and activating video recording
A benefit of this integration is a significant enlargement of software features for the systems of IP video surveillance Eocortex on the basis of NetPing devices for remote monitoring that are inexpensive, stable and easily integrable with different information systems.
Configuring a weekly timer in NetPing 2/PWR-220 v3/ETH power distribution unit (PDU) allows automating a manual process of switching on and off and rebooting the equipment. This minimizes a labor cost of the servicing personnel, reduces a reaction time for events and excludes a human factor for the error. A NetPing 2/PWR-220 v3/ETH IP power distribution unit can be used in server rooms for controlling a power supply of the infrastructure as well as on the remote industrial objects that are difficult to access. In addition to the main purpose, there is a feature of connecting external sensors that can control different parameters of the environment. The device can support a specific temperature, control air conditioning systems, and notify of emergency situations. All these features allow avoiding emergencies in the operation and minimizing possible financial losses.
NetPing 2/PWR-220 v3/ETH IP PDU has the next benefits:
- quick configuring of schedules for controlling a power supply to two independent sockets;
- using filters that allow setting exceptions in the schedule for holidays or days when the change is necessary;
- a stable operation of a timer and a device in the 24/7 365-days-a-year mode;
- remote manual switching on and off the equipment using a web interface or an SNMP protocol;
- using the «Watchdog» feature that allows rebooting the equipment that froze without the personnel.
We continue publishing a series of articles on implementing the integration of microclimate monitoring devices and devices for remote power distribution NetPing with a «Telegram» messenger. Earlier in our blog, we examined the process of bot creation для «Telegram», controlling sockets in IP PDU NetPing, controlling an air conditioner in a server room and controlling IO lines of a NetPing device using a «Telegram» messenger in enough details. In this article, we will regard a process of creating a tool for remote monitoring a microclimate in a server room using graphs sent to «Telegram».
What has been changed in the latest version?
It is very often that the power supply of IT infrastructure objects of small and middle offices is a bottleneck. Server rooms of small and middle companies often are not organized well, do not satisfy informational, fire, and electrical safety requirements and are limited in space. Such conditions may lead to emergency situations that are followed by downtime or, if luckily, potential risks, which can cause unnecessary anxiety about the safety of employees and business as a whole. To solve these issues, there is a range of effective practical methods to improve the operability of information equipment in small server rooms. In this article, we will examine a feature of intelligent power management of a small server group using NetPing power distribution units.
In this article, we will examine the configuring of a Monit monitoring system for the operation with NetPing devices for monitoring server rooms. Monit is a light system for server monitoring that is installed in a server and provides a possibility to send notifications if the issues are discovered. Besides, Monit can autonomously execute the action determined by you as a reaction to specified events. It is an independent daemon that works from the user root. The simplicity of the system is its main advantage. In a minimal configuration, having the executable and the configuration file is enough. A functionality of the system can be extended by using scripts.
To implement the operation of the example of server room monitoring on the basis of Monit and NetPing server room environmental monitoring units, we will need:
Devices for remote controlling of power supply NetPing (IP power distribution unit) can control a status of network equipment connected to them and reboot the power supply of the equipment when necessary.
In this article, the example of configuring the automatic reboot of a router connected to a NetPing 2/PWR-220 v3/ETH IP power distribution (IP PDU) unit when the Internet connection fails will be examined.
On the picture above, an approximate interaction scheme is represented: a network router with the Internet access is powered from a PWR1 socket that is controlled by a NetPing IP PDU. To test a network connection status, a NetPing IP PDU sends specific requests in the ICMP format to network resources specified in the settings. As soon as the access to the requested resources fails (i.e. they stop responding to ping), a NetPing IP PDU reboots the power supply of a router.
To implement such a scheme, there is a need to have:
- NetPing 2/PWR-220 v3/ETH power distribution unit;
- a router with the Internet access channel
By following this article, you will get a tool for monitoring managed switches through SMS notifications. A described solution will be useful for network administrators, technical support staff and other employees, whose responsibilities include monitoring and servicing of networks of all levels. Now, technical staff will get the opportunity to receive information about a port status of a managed switch (up/down) rapidly without accessing the network with target switches.
The solution will be represented in two variants:
We continue publishing a series of articles on implementing the integration of NetPing server room environmental monitoring solutions and power distribution units with «Telegram» messenger. Earlier in our blog, we have specifically examined the process of a bot creation for «Telegram» messenger, controlling IP PDU NetPing sockets using Telegram and controlling an air conditioner in a server room using Telegram. In this article, we will regard a process of a bot configuration for controlling discrete input-output lines of a NetPing IO v2 server room monitoring unit. A similar integration can be practically used when:
- Service staff can send a command to open and close a barrier using «Telegram» messenger. In this case, the use of a bot allows to refuse using a regular mechanic fixed button in favor of a variant of a remote control using a mobile phone and/or a tablet. A barrier is connected to BM8070D power relay 16A/250V for DIN rack, that is in turn connected to an IO line of a NetPing IO v2 server room monitoring unit;
- Technical staff can control load using «Telegram» messenger, including a server, a switch, a router, light, ventilation, etc. that is connected to a controlled socket NetPing AC/DIN, regardless a geographical location;
- Technical stuff can open or close electric lock on the entrance door to a server room using «Telegram» messenger, which also provides additional protection from unauthorized access of the third parties on the object.
A vacation time is getting closer. As any other employees, system administrators also dream about having a vacation somewhere far from their workplace. For a majority of system administrators, especially in small organizations, it is not that easy to get distracted from work even for a relatively short time. Many of them are single-handedly responsible for a status of different components of the IT infrastructure. So how an IT specialist can have a vacation being confident that a company can work the same efficiently, as usual? Before, we already examined a process of creating bots for a «Telegram» messenger in our blog. In this article, we examine one of the variants of remote controlling a power supply of the IT equipment from any location of the Earth (having the Internet access) using the integration of a «Telegram» messenger and NetPing power distribution units (IP PDUs). If necessary, an IT specialist sends a command for a socket using «Telegram». After applying a command in «Telegram», a specialist will receive a notification about a successful application of a command and a socket changes its status.
Earlier in our blog, we examined the process of creating a bot for a «Telegram» messenger that allows to receive the information from sensors and IO lines of a NetPing server room environmental monitoring unit and power distribution unit per request and automatically. In this article, we will examine the example of a practical use of these bots by adding features operating in a link with a UniPing server solution v3 server room monitoring unit to a bot that allows controlling an air conditioner in a server room in any time and in any location (having the access to the Internet).
In our example, a bot mimics clicking the buttons on a remote control of an air conditioner using URL-encoded commands that will be sent to a UniPing server solution v3 server room monitoring unit. In turn, a device sends control commands that have been previously recorded to the memory using an IR module IRC-TR v2 to an air conditioner located in a server room.