Comments (8)
Hey, @ilyam8 could you please clarify why this issue is being closed? Do you need any more info?
from netdata.
Hi. smartd_log
(python version) was deprecated in favor of go.d/smartctl, see v1.46.0 deprecation notice.
- New installations don't have
smartd_log
. - Existing installations (upgrade, your case) still have it. If you need it for some reason - you can still enable it in
python.d.conf
.
from netdata.
@ilyam8 thanks for the clarification. My issue is that no alternative seems to have been enabled, so I currently have no SMART logging regardless of collector. Do I need to somehow manually activate go.d/smartctl? The docs seem to imply it will be active as long as the necessary setup is in place (which it is).
from netdata.
If you need it for some reason - you can still enable it in python.d.conf.
I was wrong, it is not disabled by default in python.d.conf. So it works for existing installations (upgrade). If you have problems with it, you can still debug them like any other python.d module using the debug mode.
Do I need to somehow manually activate go.d/smartctl?
No. It should work if the prerequisites are met.
To troubleshoot issues: debug mode.
Where is your smartctl
located? Should be in /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
. If you have it in a different directory, create a symlink to (for example) usr/local/bin
and restart Netdata.
from netdata.
smartctl
is at /usr/sbin/smartctl
, so that wasn't the issue.
I figured it out: I had an empty file at go.d/smartctl.conf which apparently causes the collector to not do anything. After removing it the logging started working correctly. I am a bit perplexed though, because I do not recall creating this file. The upgrade was done automatically via unattended-upgrades about 2 days ago, and I didn't even notice the missing SMART stuff until today. Looking back at the logs of the past two days, SMART wasn't being logged anywhere until I fixed it now.
Well, regardless, thanks for your work on the new collector!
from netdata.
an empty file at go.d/smartctl.conf
That is strange! The stock configuration file is not empty.
Can you please check python.d/smartd_log.conf
? The fact that python.d/smartd_log stopped working for you is also strange.
from netdata.
an empty file at go.d/smartctl.conf which apparently causes the collector to not do anything
Yes, that is how it works. If the file is empty, no jobs will be created. This is why a stock configuration file typically includes at least one job by default.
from netdata.
Frankly, I may have created the empty file today by mistake while trying to debug the issue, but that still wouldn't explain why nothing was logging right after the upgrade. This is a bit of a head-scratcher. I also manually set smartctl: yes
on go.d.conf
while trying to fix it, which shouldn't make a difference as that should be the default, but who knows.
I just confirmed I do not have anything inside python.d/
.
from netdata.
Related Issues (20)
- [Bug]: /proc mounted with hidepid=1 breaks network interface collectors HOT 2
- [Bug]: OPENWRT c好多日志 哈子意思 好像是重启了 HOT 1
- [Feat]: dm-cache monitoring collector HOT 9
- [Bug]: IPMI plugin fails after some days. HOT 3
- [Bug]: `apt upgrade` - File has unexpected size HOT 7
- [Bug]: Only one of several provided families is listed in submenu (new plugin) HOT 7
- [Bug]: rspamd collector fails if fuzzy hashes are disabled in rspamd HOT 1
- [Feat]: Add $DOCKER_HOST support for go.d docker plugin and also sd/docker
- [Bug]: health.d/ping.conf triggers ping_host_reachable after server reboot or netdata first start/restart after delay HOT 6
- [Feat]: Improve doc about using go.d plugins smartctl and docker with Netdata in Docker HOT 6
- [Bug]: Doc "How to write a Netdata collector in Go" is outdated/incorrect
- [Bug]: v.1.46.1 size mismatch in debian bookworm mirror HOT 1
- [Bug]: Lastest version broke my custom monitor, was data-netdata="disk_space._" renamed again? HOT 3
- [Bug]: Netdata does not compile with clang on a musl system
- [Feat]: Allow build with unvendored libbpf HOT 2
- [Bug]: netdata service doesn't get enabled HOT 3
- [Bug]: netdata 1.46.1 fails to build on FreeBSD 14.0 amd64
- [Bug]: netdata fails to found Wireguard HOT 4
- [Bug]: fails to build: implicit declaration of function 'LZ4_decompress_safe' 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 netdata.