Comments (10)
I'm facing the same issue.
I think the help string containing (default: true)
are coming from node_exporter's kingpin flags themselves: https://github.com/prometheus/node_exporter/blob/v1.0.1/collector/collector.go#L67
meanwhile, in do-agent, various collectors are disabled by default as pointed out above:
do-agent/cmd/do-agent/config_linux.go
Line 10 in a5ad214
in practice, what this ends up doing is adding --no-collector.arp
etc to do-agent's internal cli flag set:
do-agent/cmd/do-agent/config.go
Line 143 in a5ad214
and then any subsequent --collector.arp
flag is interpreted after that
the exact same issue would occur if running node_exporter directly, fwiw.
# ./node_exporter-1.1.2.linux-amd64/node_exporter --no-collector.arp --collector.arp
node_exporter: error: flag 'collector.arp' cannot be repeated, try --help
in config.go
's disableCollectors
you could do kingpin.CommandLine.GetFlag(fmt.Sprintf("collector.%s", name)).Default("false")
, and then remove the os.Argv
modification, but it won't help with the help strings
from do-agent.
This issue is somewhat related to #52 too.
from do-agent.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.
from do-agent.
This issue is not stale and has not received a response from Digital Ocean in 3 months.
from do-agent.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.
from do-agent.
still valid
from do-agent.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.
from do-agent.
Issue not stale yet, just a bit older.
from do-agent.
still valid
from do-agent.
I'm facing the same issue
from do-agent.
Related Issues (20)
- do-agent process constant high CPU usage HOT 22
- do-agent on FreeBSD does build but not run HOT 3
- do-agent on FreeBSD exports only CPU, load, disk usage and bandwidth metric HOT 16
- Agent incorrectly calculates memory usage HOT 6
- Support for Rocky Linux HOT 1
- do-agent does not start on CentOS v7 HOT 6
- Package gnupg2 not available on Ubuntu20.04 and superior HOT 2
- server certificate verification failed HOT 2
- do-agent logging into /var/log/kern.log HOT 2
- Some files have wrong UID HOT 5
- Please provide a systemd timer as alternative to the crontab entry HOT 3
- Ubuntu 22.04: apt-key is deprecated warning HOT 8
- Updates change `/etc/passwd` HOT 1
- New Issue Test
- RSA/SHA1 signature not allowed to be used on RHEL 9 HOT 2
- Key is stored in legacy trusted keyring HOT 2
- gpg: no valid OpenPGP data found. HOT 5
- test-issue
- Export host ssh key for use with doctl compute ssh 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 do-agent.