0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-13 17:19:11 +00:00
netdata_netdata/libnetdata
thiagoftsm c56e086ba3 Easily disable alarms, by persisting the silencers configuration ()
This PR was created to fix , here I am completing the job initiated by Christopher, among the newest features that we are bring we have

JSON inside the core - We are bringing to the core the capacity to work with JSON files, this is available either using the JSON-C library case it is present in the system or using JSMN library that was incorporated to our core. The preference is to have JSON-C, because it is a more complete library, but case the user does not have the library installed we are keeping the JSMN for we do not lose the feature.
Health LIST - We are bringing more one command to the Health API, now with the LIST it is possible to get in JSON format the alarms active with Netdata.
Health reorganized - Previously we had duplicated code in different files, this PR is fixing this (Thanks @cakrit !), the Health is now better organized.
Removing memory leak - The first implementation of the json.c was creating SILENCERS without to link it in anywhere. Now it has been linked properly.
Script updated - We are bringing some changes to the script that tests the Health.
This PR also fixes the race condition created by the previous new position of the SILENCERS creation, I had to move it to daemon/main.c, because after various tests, it was confirmed that the error could happen in different parts of the code, case it was not initialized before the threads starts.

Component Name
health directory
health-cmd

Additional Information
Fixes  and 
2019-07-01 21:07:21 +02:00
..
adaptive_resortable_list Ga () 2018-12-07 11:30:04 +01:00
avl Ga () 2018-12-07 11:30:04 +01:00
buffer Ga () 2018-12-07 11:30:04 +01:00
clocks When running a binary with CLOCK_BOOTTIME defined on a system with a linux () 2019-02-18 18:29:29 +02:00
config Repeating alarm notifications () 2019-07-01 11:55:16 +00:00
dictionary CUPS plugin () 2019-02-04 16:33:07 +02:00
eval Ga () 2018-12-07 11:30:04 +01:00
health Easily disable alarms, by persisting the silencers configuration () 2019-07-01 21:07:21 +02:00
json Easily disable alarms, by persisting the silencers configuration () 2019-07-01 21:07:21 +02:00
locks Ga () 2018-12-07 11:30:04 +01:00
log Database engine () 2019-05-15 08:28:06 +03:00
popen Ga () 2018-12-07 11:30:04 +01:00
procfile Ga () 2018-12-07 11:30:04 +01:00
simple_pattern Ga () 2018-12-07 11:30:04 +01:00
socket Backend and SSL! () 2019-06-27 11:20:28 -03:00
statistical fix incorrect use of isnormal() () 2019-03-21 19:14:14 +02:00
storage_number fix incorrect use of isnormal() () 2019-03-21 19:14:14 +02:00
threads Ga () 2018-12-07 11:30:04 +01:00
url Revert "New URL parser ()" 2019-06-07 18:14:44 +03:00
inlined.h Revert "New URL parser ()" 2019-06-07 18:14:44 +03:00
libnetdata.c Make units compliant with IEC standard () 2018-12-17 13:20:51 +02:00
libnetdata.h Easily disable alarms, by persisting the silencers configuration () 2019-07-01 21:07:21 +02:00
Makefile.am Easily disable alarms, by persisting the silencers configuration () 2019-07-01 21:07:21 +02:00
os.c modularized all source code () 2018-10-15 23:16:42 +03:00
os.h modularized all source code () 2018-10-15 23:16:42 +03:00
README.md Ga () 2018-12-07 11:30:04 +01:00

libnetdata

libnetdata is a collection of library code that is used by all netdata C programs.

analytics