Comments (2)
Hi,
thank you for the detailed writeup, this is excellent!
I wonder if you are running into an ordering issue. I have seen this with other daemons too; the resolution would be to launch collectd when all networks are up. The underlying issue is in my understanding, that there is no (good?) way to update the addresses to listen on when collectd (or other processes) are already running.
from collectd.
The underlying issue is in my understanding, that there is no (good?) way to update the addresses to listen on when collectd (or other processes) are already running.
There is, it's called binding to the wildcard address (0.0.0.0
, ::
, INADDR_ANY
, etc.).
If collectd just bound to hardcoded 0.0.0.0
before all networks are up, all would be fine.
However, it tries to obtain the 0.0.0.0
sockaddr through getaddrinfo
instead.
And getaddrinfo
would resolve it just fine, even before all networks are up, if it wasn't for AI_ADDRCONFIG
resolution would be to launch collectd when all networks are up
Other daemos that bind to 0.0.0.0 or 127.0.0.1 work just fine when they launch before all networks are up.
If I was trying to bind my LAN address (eg. 192.168.1.20
) before all networks are up, then that would be an ordering issue. the wildcard address should work just fine regardless of networks being up.
from collectd.
Related Issues (20)
- Is there any plans to have python3 as the default for collectd python plugin? HOT 3
- [collectd 6] one thread per write plugin breaks write_http (and write_prometheus) behavior HOT 7
- The collectd_virt_if_errors_rx_total, collectd_virt_if_errors_tx_total metrics of Virt plugin are not collected HOT 6
- mqtt plugin: Unknown type: HOT 2
- collectd 5.9.0 keep reporting the "virt plugin: Array index out of bounds: tag_index = 11/12" HOT 5
- Processes Plugin missing mnl_socket_bind symbol. HOT 4
- Upon starting, collectd sends OK notifications for all the values which have thresholds defined HOT 3
- CollectD - 5.11 : Memory leak with libnss HOT 3
- "uc_update: Value too old flood" in log HOT 3
- There are no "intel_rdt" related metrics in types.db file HOT 1
- turbostat: missing Skylake Cstates HOT 2
- turbostat plugin failed to open msr HOT 1
- smart plugin causes "num_err_log_entries" to increase on a Seagate FireCuda 530 NVMe drive
- conntrack plugin: per-state metrics HOT 4
- MySQL: Bad DS types for WSREP/Galera variables HOT 2
- Swap plugin sends usage data twice HOT 3
- collectdctl return error "Connection refused" HOT 2
- Plugin hddtemp not working under Debian Bookworm HOT 1
- collectd tells the init system it's ready before it actually is HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collectd.