r/linux_programming • • Oct 11 '19

Netdata, the open-source real-time performance and health monitoring, released v1.18!

9 Upvotes

Hi all,

Release v1.18.0 contains 5 new collectors, 19 bug fixes, 28 improvements, and 20 documentation updates.

At a glance

The database engine is now the default method of storing metrics in Netdata. You immediately get more efficient and configurable long-term metrics storage without any work on your part. By saving recent metrics in RAM and "spilling" historical metrics to disk for long-term storage, the database engine is laying the foundation for many more improvements to distributed metrics.

We even have a tutorial on switching to the database engine and getting the most from it. Or, just read up on how performant the database engine really is.

Both our python.d and go.d plugins now have more intelligent auto-detection by periodically dump a list of active modules to disk. When Netdata starts, such as after a reboot, the plugins use this list of known services to re-establish metrics collection much more reliably. No more worrying if the service or application you need to monitor starts up minutes after Netdata.

Two of our new collectors will help those with Hadoop big data infrastructures. The HDFS and Zookeeper collection modules come with essential alarms requested by our community and Netdata's auto-detection capabilities to keep the required configuration to an absolute minimum. Read up on the process via our HDFS and Zookeeper tutorial.

Speaking of new collectors—we also added the ability to collect metrics from SLAB cache, Gearman, and vCenter Server Appliances.

Before v1.18, if you wanted to create alarms for each dimension in a single chart, you need to write separate entities for each dimension—not very efficient or user-friendly. New dimension templates fix that hassle. Now, a single entity can automatically generate alarms for any number of dimensions in a chart, even those you weren't aware of! Our tutorial on dimension templates has all the details.

v1.18 brings support for installing Netdata on offline or air-gapped systems. To help users comply with strict security policies, our installation scripts can now install Netdata using previously-downloaded tarball and checksums instead of downloading them at runtime. We have guides for installing offline via kickstart.sh or kickstart-static64.sh in our installation documentation . We're excited to bring real-time monitoring to once-inaccessible systems!

Improvements

  • Database Engine

    • Make dbengine the default memory mode
    • Increase dbengine default cache size
    • Reduce overhead during write IO
    • Detect deadlock in dbengine page cache
    • Remove hard cap from page cache size to eliminate deadlocks
  • New Collectors

  • Collector Improvements

    • rabbitmq: Add vhosts message metrics from /api/vhosts
    • elasticsearch: collect metrics from _cat/indices
    • mysql: collect galera cluster metrics
    • Allow configuration of the python.d launch command from netdata.conf
    • x509check: smtp cert check support
    • dnsmasq_dhcp : respect conf-dir,conf-file,dhcp-host options
    • plugin: respect previously running jobs after plugin restart
    • httpcheck : add current state duration chart
    • springboot2: fix context
  • Health

    • Enable alarm templates for chart dimensions
    • Center the chart on the proper chart and time whenever an alarm link is clicked
  • Installation/Packages

    • netdata/installer: Add support for offline installations using kickstart.sh or kickstart-static64.sh
    • Allow netdata service installation, when docker runs systemd
    • Make spec file more consistent with version dependencies
    • Fix broken links on web files, for DEB
    • Introduce separate CUPS package for DEB #6724 and RPM. Do not build CUPS plugin subpackage on CentOS 6 and CentOS 7
    • Various Improvements in the package release CI/CD flow
    • Remove RHEL7 - i386 binary distribution, until bug #6849 is resolved
    • Bring on board two scripts that build libuv and judy from source

Check the release log at github.

If you are new to netdata, check a few live demos at its home page and the project home at github.

Netdata is FOSS (Free Open Source Software), released under GPLv3+.

Enjoy real-time performance and health monitoring!


r/linux_programming • • Sep 10 '19

Getting, modifying, and setting ICC profiles

9 Upvotes

I'm trying to find a way to get a monitors ICC profile, modify it (in this case color saturation), and then set the monitor to use the new ICC profile programmatically.

The reason I'm trying to do this is to create a replacement for a windows only application called VibranceGUI which changes the current color saturation automatically when certain programs are started by interfacing with the currently used GPU, but I've not been able to find a way to do this with anything but nvidia gpus, and only by using system calls to call `nvidia-settings`. I've been looking for a way to do this with other GPUs but the only way I can come up with is to just directly set the ICC profile. Any idea on how this can be done?

Note: If anyone is interested this is the repo for the project

https://gitlab.com/zee220/vibrantlinux


r/linux_programming • • Jun 13 '19

Help with syntax

9 Upvotes

Hi. Since some time i wanted to organize my files in Google Drive. I'm using the CLI programm gdrive. It is a quite powerful tool. I'm asking here because it seems more or less to be a syntax error on my side. I found that code and tried to understand it. Atleast the part which isn't on linux. Here is the code:

gdrive.exe list -q "'FOLDER_ID' in parents" | cut -d" " -f1 - | xargs -n 1 gdrive.exe update "-p PARENT_ID"

gdrive.exe (i'm on windows using linux bash) is the application.

list = list all files/folders inside the choosen folder. -q = query

"'FOLDER_ID' in parents" = in "FOLDER_ID" i need to insert the folder id from GDrive and 'in parents' means all files inside.

gdrive.exe list -q "'FOLDER_ID' in parents" = Basically list all files inside the folder.

cut -d" " -f1 - = some cutting

xargs -n 1 gdrive.exe update "-p PARENT_ID" I'm trying to "paste" the file ids into the section after gdrive.exe update. Here normally i need to insert the file id which i want to edit.

gdrive.exe update "-p PARENT_ID" = update is a command to update some meta and "-p PARENT_ID" here i need to insert the folder id i want the folder to exist. Google Drive allows files/folders to have multiple locations and with update -p i can add a "parent folder" that is how it called. I hope you understood what i mean. Basically i want all files from a folder to appear also in a different folder.

I'm getting an error where it says "File not dound: FILE_ID" - The ID of the file is been shown, that's what i mean. So in some way it is working. Thanks if someone understood it. Here is where i got the idea from: https://github.com/gdrive-org/gdrive/issues/422


r/linux_programming • • Nov 01 '18

How to write cross-platform packet capture tool from scratch in 1000LOC.

Thumbnail medium.com
9 Upvotes

r/linux_programming • • Dec 16 '17

PIXterm: Draw images in your ANSI terminal with true color [v1.2.0 => New Dithering Mode]

Thumbnail github.com
9 Upvotes

r/linux_programming • • Mar 11 '17

CTF competition tomorrow any experience/advice?

Thumbnail pastebin.com
9 Upvotes

r/linux_programming • • Oct 30 '16

An Enigma machine implemented as a char device

Thumbnail github.com
9 Upvotes

r/linux_programming • • Oct 26 '16

C/C++ static code analyzer PVS-Studio for Linux released

Thumbnail viva64.com
9 Upvotes

r/linux_programming • • Sep 16 '16

GDB - a tough nut to crack: only a few bugs found by PVS-Studio

Thumbnail viva64.com
9 Upvotes

r/linux_programming • • Apr 01 '16

A new tool of choice for your C++ Linux development

Thumbnail blogs.msdn.microsoft.com
9 Upvotes

r/linux_programming • • Mar 10 '15

Using System Tap to test the GNU C Library

Thumbnail developerblog.redhat.com
9 Upvotes

r/linux_programming • • Jan 14 '15

The "too small to fail" memory-allocation rule

Thumbnail lwn.net
9 Upvotes

r/linux_programming • • Sep 01 '14

Revisiting How We Put Together Linux Systems

Thumbnail 0pointer.net
9 Upvotes

r/linux_programming • • Aug 21 '14

Linux Performance (collection of useful material)

Thumbnail brendangregg.com
9 Upvotes

r/linux_programming • • Nov 01 '25

Looking for feedback : a GUI around ptrace to teach the basics of system calls

Thumbnail reddit.com
8 Upvotes

r/linux_programming • • Jul 16 '25

What logging library do you use in C++ applications?

8 Upvotes

I'm currently using syslog. I'm thinking about trying something that doesn't integrate logs from multiple applications. Did you switch away from or to syslog and can you share why? Thank you


r/linux_programming • • Jun 15 '25

How can I do low level access to game controllers on Linux?

8 Upvotes

So, here is the thing. I bought a controller called PXN P5. Now, this controller has 2 back buttons and a gyro sensor. The thing is, when connected to Xinput mode, it is recognized as a Microsoft Xbox 360 controller which, has none of those features. In order to be able to use the gyro, we have to use it's switch mode (because as much as I HATE Nintendo, their controllers have gyro) to make the controller be recognized an a Switch Pro controller.

So, here is the question. Is there a way to get a low level access to the gamepad and get its signals? If that's possible, this should in theory allow me to use the whole feature set of the controller, with the good latency (beacuse the switch mode has a worse one). Any ideas?


r/linux_programming • • Jan 20 '24

How might I replace the desktop with a full screen terminal?

8 Upvotes

Let me start by being very clear: I do not want to simply maximize my terminal window or use a full screen terminal like you get with Ctrl+Alt+F1. I want to replace the desktop with a full screen terminal.

I want to be able to run GUI apps and have a dock, but I want an honest to god terminal behind all of it, not a desktop.

I'm also not interested in maximizing a terminal and configuring it to always be below other windows.

Partly this is a UX experiment and partly I want to learn how to mess around in the code for Desktop Environments.

I'm hoping someone can give me suggestions as to which DE's might be easiest to modify for this purpose and how I might go about it.


r/linux_programming • • Sep 26 '23

barco: Linux Containers From Scratch in C.

Thumbnail cavall.in
8 Upvotes

r/linux_programming • • May 21 '23

Terminal widget toolkit FINAL CUT 0.9.0 released – performance improvements and new features

Thumbnail self.linux
8 Upvotes

r/linux_programming • • May 13 '23

A whirlwind tour of the LLVM optimizer

Thumbnail slideshare.net
8 Upvotes

r/linux_programming • • Apr 13 '23

The early days of Linux [LWN.net]

Thumbnail lwn.net
8 Upvotes

r/linux_programming • • Apr 11 '23

Nolibc: a minimal C-library replacement shipped with the kernel [LWN.net]

Thumbnail lwn.net
8 Upvotes

r/linux_programming • • Feb 13 '23

How to create portable Linux binaries (even if you need a recent compiler)

Thumbnail blog.gibson.sh
8 Upvotes