Austin S. Hemmelgarn
717df9f39f
Restructure shutdown logic used during updates. ( #19781 )
...
- Don’t blindly trust that the service manager actually shut down the
agent.
- Bump timeouts between each method of shutting down the agent to 30
seconds to make it more likely that the agent actually shuts down
before we try to shut it down a different way.
- Add logic to handle different possible locations for netdatacli pipe.
2025-03-05 19:04:17 +02:00
Austin S. Hemmelgarn
f25e15696f
Revert broken DEB priority configuration in repoconfig packages. ( #19783 )
2025-03-05 11:09:17 -05:00
Costa Tsaousis
edc82776ae
add unique machine id to status file ( #19778 )
...
* add unique machine id to status file
* clear errno before listening for sockets
* remove the pipe when exiting
2025-03-05 17:09:25 +02:00
Austin S. Hemmelgarn
bf340f9644
Add repository priority configuration for DEB package repositories. ( #19705 )
...
* Add repository priority configuration for DEB package repositories.
* Fix quoting.
2025-03-05 08:17:42 -05:00
Ilya Mashchenko
08ae765c7c
kickstart: install native pkg on RPi2+ ( #19773 )
2025-03-05 14:24:58 +02:00
Costa Tsaousis
d228c6f326
Fix SIGSEGV on static installs due to dengine log ( #19774 )
...
* isolate the log from the validation
* rewrite the log using a buffer
* more x-ray vision replacements
2025-03-05 14:24:43 +02:00
Ilya Mashchenko
9b7622df0f
fix(go.d/sd): fix logging cfg source when disabled ( #19777 )
2025-03-05 14:03:25 +02:00
Ilya Mashchenko
197cbe5bee
improvement(go.d/sd): add file path to k8s/snmp discovered job source ( #19776 )
2025-03-05 13:37:38 +02:00
Ilya Mashchenko
581bdd22a3
chore(go.d/sd): rename discoverers pkgs ( #19772 )
2025-03-05 10:54:13 +02:00
netdatabot
3211902f3d
[ci skip] Update changelog and version for nightly build: v2.2.0-317-nightly.
2025-03-05 00:21:48 +00:00
Costa Tsaousis
b6c0e9e216
block signals before curl ( #19771 )
2025-03-05 00:21:54 +02:00
Costa Tsaousis
0c5d34d41a
block all signals before spawning any threads ( #19770 )
...
* block all signals before spawning any threads
* fix header
* fix header again
* uniform signals masking
* fix log
2025-03-04 23:50:17 +02:00
Costa Tsaousis
e30c3a52d1
add handling for sigabrt in the status file ( #19769 )
...
* add handling for sigabrt
* remove empty statement warning
2025-03-04 21:04:25 +02:00
Austin S. Hemmelgarn
af198c0f25
Add documentation outlining how to use custom CA certificates with Netdata. ( #19754 )
2025-03-04 08:16:46 -05:00
Costa Tsaousis
7e028cc9a0
copy fields only when the source is valid ( #19768 )
2025-03-04 13:59:11 +02:00
Costa Tsaousis
a5c39d328d
detect crashes during status file processing ( #19767 )
2025-03-04 13:50:45 +02:00
Costa Tsaousis
60f8835d08
post status syncrhonously ( #19766 )
...
* fix printing null strings
* post status file sync
2025-03-04 13:30:23 +02:00
Costa Tsaousis
d4e175fb0a
fix invalid free ( #19763 )
2025-03-04 11:11:43 +02:00
Costa Tsaousis
ea4d075de3
make status file use fixed size character arrays ( #19761 )
...
* make status file use fixed size character arrays
* fix copied cause
* flush the buffer before getting the stack trace
* add deadly signal cause
* do not overwrite version_saved
2025-03-04 10:31:50 +02:00
netdatabot
7131526550
[ci skip] Update changelog and version for nightly build: v2.2.0-307-nightly.
2025-03-04 00:21:52 +00:00
Ilya Mashchenko
3f064a0c50
fix(go.d/sd/snmp): use rescan and cache ttl only when set ( #19760 )
2025-03-03 23:52:15 +02:00
Ilya Mashchenko
2c494e1cce
fix(go.d/nvidia_smi): handle xml gpu_power_readings change ( #19759 )
2025-03-03 23:37:08 +02:00
Costa Tsaousis
a457dc733d
status file timings per step ( #19758 )
...
post version_saved; calculate init/exit timings on the go; do not dedup if the version changed
2025-03-03 20:20:34 +00:00
Ilya Mashchenko
a3e54253a1
improvement(go.d/sd/snmp): support device cache ttl 0 ( #19756 )
...
* improvement(go.d/sd/snmp): support device cache ttl 0
* update config options description
2025-03-03 20:59:44 +02:00
Ilya Mashchenko
9692d1bb10
chore(go.d/sd/snmp): comment out defaults in snmp.conf ( #19755 )
...
comment out snmp defaults
2025-03-03 20:11:21 +02:00
Ilya Mashchenko
d373112c44
feat(go.d): add snmp devices discovery ( #19720 )
...
* init sd snmp
* update config example
* use confopt.Duration for time options
* support more units when parsing duration
* update config comments and skip servers by default
* update default config
* add tests
* cache ttl 12 h
2025-03-03 15:07:32 +02:00
Costa Tsaousis
86b5acbfcf
status file version 8 ( #19753 )
2025-03-03 14:38:30 +02:00
Costa Tsaousis
6da3a16509
status file improvements (dedup and signal handler use) ( #19751 )
...
* remove the address from the stack trace to make it unique
* log backtrace failure to get symbols
* improve status file handling via the signal handler
* add already-running exit reason
2025-03-03 13:59:48 +02:00
dependabot[bot]
f3d3cc47c4
build(deps): bump github.com/likexian/whois from 1.15.5 to 1.15.6 in /src/go ( #19749 )
...
build(deps): bump github.com/likexian/whois in /src/go
Bumps [github.com/likexian/whois](https://github.com/likexian/whois ) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/likexian/whois/releases )
- [Commits](https://github.com/likexian/whois/compare/v1.15.5...v1.15.6 )
---
updated-dependencies:
- dependency-name: github.com/likexian/whois
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 10:02:32 +02:00
dependabot[bot]
d0a392ff7b
build(deps): bump github.com/docker/docker from 28.0.0+incompatible to 28.0.1+incompatible in /src/go ( #19746 )
...
build(deps): bump github.com/docker/docker in /src/go
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 28.0.0+incompatible to 28.0.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.0.0...v28.0.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 09:15:17 +02:00
dependabot[bot]
924783426c
build(deps): bump go.mongodb.org/mongo-driver from 1.17.2 to 1.17.3 in /src/go ( #19748 )
...
build(deps): bump go.mongodb.org/mongo-driver in /src/go
---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 09:14:15 +02:00
dependabot[bot]
81f9d6f9e8
build(deps): bump github.com/axiomhq/hyperloglog from 0.2.3 to 0.2.5 in /src/go ( #19750 )
...
build(deps): bump github.com/axiomhq/hyperloglog in /src/go
Bumps [github.com/axiomhq/hyperloglog](https://github.com/axiomhq/hyperloglog ) from 0.2.3 to 0.2.5.
- [Release notes](https://github.com/axiomhq/hyperloglog/releases )
- [Commits](https://github.com/axiomhq/hyperloglog/compare/v0.2.3...v0.2.5 )
---
updated-dependencies:
- dependency-name: github.com/axiomhq/hyperloglog
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 09:13:04 +02:00
dependabot[bot]
6b539d7c32
build(deps): bump github.com/gosnmp/gosnmp from 1.38.0 to 1.39.0 in /src/go ( #19747 )
...
build(deps): bump github.com/gosnmp/gosnmp in /src/go
Bumps [github.com/gosnmp/gosnmp](https://github.com/gosnmp/gosnmp ) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/gosnmp/gosnmp/releases )
- [Changelog](https://github.com/gosnmp/gosnmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gosnmp/gosnmp/compare/v1.38.0...v1.39.0 )
---
updated-dependencies:
- dependency-name: github.com/gosnmp/gosnmp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 09:11:43 +02:00
netdatabot
66e676518f
[ci skip] Update changelog and version for nightly build: v2.2.0-293-nightly.
2025-03-03 00:22:08 +00:00
Costa Tsaousis
9f9d264988
more strict parsing of the output of system-info.sh ( #19745 )
...
* more strict parsing of the output of system-info.sh
* empty values are warnings
* fix anonymous analytics too
* fix anonymous analytics again
2025-03-02 18:09:06 +02:00
Costa Tsaousis
e523030594
pass NULL to sensors_init() when the standard files exist in /etc/ ( #19744 )
2025-03-02 17:27:11 +02:00
Costa Tsaousis
488d286c9b
allow coredumps to be generated ( #19743 )
...
* allow coredumps
* use async safe saving of the status file
2025-03-02 17:09:13 +02:00
Ilya Mashchenko
04ab0c52d2
fix(go.d): ignore sigpipe to exit gracefully ( #19739 )
...
ignore sigpipe
2025-03-02 16:26:40 +02:00
Costa Tsaousis
39a34f785b
work on agent-events crashes ( #19741 )
...
* strict sdbus handling
* make sure out-of-memory is added to the exit reasons
* more detailed startup steps
* status file version to 7
* cleanup old shutdown watcher steps
2025-03-02 13:13:02 +02:00
netdatabot
0c5dcc12c2
[ci skip] Update changelog and version for nightly build: v2.2.0-287-nightly.
2025-03-02 00:23:13 +00:00
Costa Tsaousis
eed19849d2
zero mtime when a fallback check fails ( #19740 )
...
* zero mtime when a fallback check fails
* increase the number of dedup items to 20
2025-03-01 19:30:27 +02:00
Costa Tsaousis
abd80bee16
Capture deadly signals ( #19737 )
...
* capture deadly signals on all threads; add the thread name to daemon-status-file
* do not overwrite the thread
* sort the exit reasons so that deadly signals are first
* add -rdynamic when appropriate
* log stack traces only on warnings and errors
* increase status file version to 6
2025-03-01 14:52:10 +02:00
netdatabot
be1a567df6
[ci skip] Update changelog and version for nightly build: v2.2.0-284-nightly.
2025-03-01 00:23:53 +00:00
Costa Tsaousis
ea1f3733a1
add another step when initializing web ( #19731 )
2025-02-28 15:56:11 +02:00
Costa Tsaousis
a8444c221e
allow insecure cloud connections ( #19736 )
2025-02-28 15:55:45 +02:00
Costa Tsaousis
337d603093
add more information about claiming failures ( #19735 )
2025-02-28 15:39:29 +02:00
Costa Tsaousis
4c3a8a4e2c
Update README.md
2025-02-28 14:54:36 +02:00
Costa Tsaousis
fc81ba7f46
Update README.md
2025-02-28 14:43:43 +02:00
Costa Tsaousis
cc7327a881
Update README.md
2025-02-28 14:21:33 +02:00
Costa Tsaousis
0e6b3cbdc5
Update README.md
2025-02-28 13:53:00 +02:00