Comments (3)
Hey, @bgabler. Unfortunately, I can't reproduce the issue.
I was surprised by this issue as I was confident that the log rotation handling was working - there is even a test case for it.
Anyway I decided to do a manual test and had no problem:
- install
nginx
. - restart
netdata
and make sure it tails/var/log/nginx/access.log
. - run
sudo logrotate --force /etc/logrotate.d/nginx
. - check web log charts.
I think there is confusion, because
template: NGINX
on: nginx.requests
has nothing to do with logs/rotation. The nginx.requests
metrics collected by go.d/nginx.
It sends HTTP requests to the NGINX location stub-status, which is a built-in location that provides metrics about the NGINX server.
from netdata.
It's so strange, as soon as we restart netdata it starts collecting again.
I modified our go.d file to have:
autodetection_retry: 3
This was commented out before.
from netdata.
autodetection_retry
is
Recheck interval in seconds. Zero means no recheck will be scheduled.
Before starting a data collection job, the plugin checks whether the data can be collected and does not run the job if the check fails. So I see no how this option will help you.
Consider checking logs, always a good idea when debugging a problem.
- tail Netdata logs
journalctl --namespace=netdata -f
- force nginx logrotate
- see logs
from netdata.
Related Issues (20)
- [Bug]: Storage tiers keep reenabling themselves HOT 15
- [Bug]: Netdata service restarting randomly in one of the server HOT 6
- [Bug]: Parents are dying unexpectedly without any signs of problems happening before HOT 25
- Tag nightlies
- [Bug]: dbengine storage tiers cause Segmentation fault HOT 5
- [Bug]: building on FreeBSD fails because of network-viewer.plugin
- [Feat]: Custom HTML dashboard v2
- [Bug]: Dead links on "Data Collection" sub pages for alerts on the website HOT 1
- [Bug]: Netdata agent on TrueNas upgrade error HOT 1
- [Feat]: add CE & UE counter for EDAC collector HOT 2
- [Bug]: Missing container name for the alert Container ${label:k8s_container_name} of pod ${label:k8s_pod_name} of namespace ${label:k8s_namespace} HOT 1
- [Bug]: (Proxmox/Debian) kickstart not working, `couldn't be accessed by user '_apt'` HOT 5
- [Bug]: FreeBSD rc.d init script sends wrong signal for savedb
- [Bug]: incorrect documentation about ebpf plugin configuration HOT 6
- [Bug]: High CPU ACLKSYNC HOT 7
- [Bug]: Source build fails HOT 2
- [Bug]: Running netdata increases oom_kill HOT 7
- [Feat]: network interface hardware statistics HOT 1
- [Bug]: Postgres collector in static build does not use correct config base HOT 4
- [Bug]: Postgres collector needs explicit enabling HOT 2
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.