Developers Club geek daily blog

collectd + front-end

2 years, 10 months ago


As practice shows — the big part of clients does not monitor the used resources, the services rented by them in any way (especially it is noticeable on the cheap services VPS from $3). That is, after installation of system and setup of software, necessary for the project, the future of the server is assigned to a case. And, when there are problems with operability of the server, information for the analysis has not enough.

Except the set and configured logging in atop (which also meets not often), logs of system, it would be desirable to have more information with which it is possible to work.

In this article procedure of installation and the collectd and collectd-web setup on the example of OS of Debian family will be described.

Read more »


Editing an image of Raspberry Pi by means of qemu-user-static (Ubuntu 14.04)

2 years, 10 months ago
image

Sometimes editing standard boot images, and also configuring of systems with the subsequent replication on a large number of payments of Raspberry Pi is necessary. For a solution of similar tasks it is convenient to use packets of qemu-user-static and binfmt-support.

Read more »


The thin ACPI setup on the example of Thinkpad X220

2 years, 10 months ago

Lyrics


Over last few months I quite often had to get into arguments about various portable computers: the vendor is better to break a spear in what disputes and why, to discuss compatibility with GNU/Linux and how in this system to configure this or that function and, periodically, me ask to share configs. Under the influence of these discussions this article was also born.

The most part of the computer experience I use laptops so-called "business of a series": IBM ThinkPad 600, HP-Compaq nc2400, Lenovo ThinkPad X61T, Lenovo ThinkPad X220.



There were short-term breaks when it was necessary to be interrupted by aby-what, that is computers of a consumer segment: Apple ibook G4 and Acer aspire 5112 and came to these moments understanding of how such obvious and usual things strongly are not enough as trekpoint and a docking station.

Read more »


Systemd and containers: acquaintance to systemd-nspawn

2 years, 10 months ago
PR-1505-3

Containerization today — one of the most actual subjects. The number of publications about such popular tools as LXC or Docker, is calculated by thousands if not in tens of thousands.
In this article we would like to discuss one more solution about which publications in Russian meanwhile a little. It is about systemd-nspawn — the tool for creation of the isolated environments which is one of the systemd components. And fixing of systemd as the standard in the world of Linux — already come true fact. In the light of this fact there are all bases to believe that soon scope of systemd-nspawn will significantly extend, and  it is worth getting acquainted with this tool closer already now.

Read more »


Linux, the postponed loading of drivers and idle interruptions

2 years, 10 months ago
Today I will tell about unexpected problems which arose at connection of the matrix keyboard to ARM борде under control of Linux. And it is specific about why the adp5589 driver did not want to receive interruptions and as we could force it to do it.

To whom it is interesting — welcome under kat.

Read more »


Today's world is amd64, armv7 and aarch64. All the rest is dead, Jim

2 years, 11 months ago
Transfer of the farewell letter of Miod Vallat, the OpenBSD developer within 15+ years who left the project a week ago is offered to your attention. The letter which is initially addressed personally to a certain Jim tells a story about where occasionally give good intentions, and caused a resonance among users of Reddit and HackerNews. Consider — the expressed opinion is subjective, and, according to the author, "you have the right not to agree with it".

Today's world is amd64 (in a different way x64, or x86-64), armv7 and, in the near future, aarch64 (64-bit ARMv8). All the rest is dead, Jim. Nobody invests enough money and cogitative work in other architecture. Actually, only the small part of people are aware of existence of other part of an ecosystem (mips, power8...), and all the same anybody has to them business.

Support of an outdated platform afloat — it is cheerful as it reminds you of the 90th when there was a wide choice of "iron" platforms, with approximately identical ratio of the price/power. Eventually, cheap PC killed practically all competition, and the market of smartphones gave to ARM an unhealthy share of the market in the world of the built-in systems.

Then, after a while, fun comes to an end as nobody writes a code, keeping your platform in mind — it is not considered rather powerful, and modern compilers more it do not support (or they generate for it a non-working code that it is in practice even worse). Your platform has hardware borders in several hundred MB of physical memory? You will not manage to start on it the web browser or even the program for viewing of PDF. Somebody still starts testsuite from the latest version of gcc on your platform? Is not present? Forgive, the dude, but here to you "nickel" (5 cents), descend buy already the computer better

Read more »


Writing of the elementary program under Linux in machine codes

2 years, 11 months ago
All hi. I wanted to touch this subject long ago and to write something similar, but hands did not reach in any way. Today I decided, and we will sort structure of the ELF file (the performed file on * nix-like systems), and we will write the simple program under x86 Linux in machine codes which will display the message. But here not everything is so unambiguous, believe me.

I wanted to begin with the end. Namely from what will be done by our program. Our program — no other than a heap of machine code which, afterwards, will be performed by system. As the deputy of numeration system of Hex I will use "Wct" because it is much more convenient because there is online the compiler and an opportunity to insert lines on the run and to use decimal numbers. At us it will display one line of the text.

image

Read more »


Let's make a code purer: work with 64-bit registers of the equipment in Linux

2 years, 11 months ago
Quite often the programmers writing drivers have some difficulties with data exchange in a 64-bit format. Let's sort some situations.

Read more »


Flytouch 2/Superpad III and attempt to save bytes in a kernel Linux

2 years, 11 months ago
I was going to write this article for a long time, but in recent months could not find enough time in any way. While I reflected over article, did examples and checked the guesses, on Habré already discussed a konstantnost — [1][2].

For the sake of an entertainment we will try to do similar economy not with the spherical project in vacuum, and with the most live and grandiose project — with a kernel Linux!

Read more »


We build an own fault-tolerant cloud based on OpenNebula with Ceph, MariaDB Galera Cluster and OpenvSwitch

2 years, 11 months ago


This time I would like to tell how to configure this subject, in a particular each separate component as a result to receive the own, expanded, otkazoustoycheavy cloud based on OpenNebula. In this article I will consider the next moments:


Subjects in itself very interesting so even if you are not interested in an ultimate goal, but setup of some separate component interests. I ask favor under kat.

Read more »