0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-05-15 05:50:42 +00:00
netdata_netdata/collectors/python.d.plugin/python_modules/bases
Austin S. Hemmelgarn 63114bcedd Handle disconnected sockets in unbound collector. ()
* Handle disconnected sockets in unbound collector.

This adds an explicit check for the case of a socket that's already
disconnected and skips logging an error message.  The conditionn
technically is an error, but it's one that we can recover from trivially
by just doing nothing in this case (we were trying to disconnect the
scoket anyway, so if it's already disconnected, we don't need to change
anything).

This uses Python's `errno` module so that we can detect this situation
in a system-agnostic manner.

Fixes 
2019-07-30 23:21:39 +03:00
..
FrameworkServices Handle disconnected sockets in unbound collector. () 2019-07-30 23:21:39 +03:00
__init__.py modularized all source code () 2018-10-15 23:16:42 +03:00
charts.py Add memory free and per process memory usage to nvidia_smi () 2019-04-05 10:59:14 +03:00
collection.py py stuff: change l2isbad to ilyam8 () 2019-03-21 12:35:44 +03:00
loaders.py py stuff: change l2isbad to ilyam8 () 2019-03-21 12:35:44 +03:00
loggers.py py stuff: change l2isbad to ilyam8 () 2019-03-21 12:35:44 +03:00