Comments (18)
There is #8 but I can't test that...
from asprom.
Oh somehow missed it.
I can test that for you.
from asprom.
That would be great. The person who made the original request disappeared.
So yeah, if you don't pay for enterprise you won't even have the option to use authentication, afaik.
from asprom.
That may be true. I'm doing this for my work and we jumped straight to the enterprise edition. Building as we speak. Will let you know in a couple minutes :-)
from asprom.
Doesn't look like it's working. Still not getting metrics out of asprom.
Ran:
/tmp/asprom -username stats -listen ":9146"
But still returns
# HELP aerospike_node_scrapes_total Total number of times Aerospike was scraped for metrics.
# TYPE aerospike_node_scrapes_total counter
aerospike_node_scrapes_total 2
# HELP aerospike_node_up Is this node up
# TYPE aerospike_node_up gauge
aerospike_node_up 0```
from asprom.
ok. Which aerospike version are you using? 4?
from asprom.
3.15
from asprom.
You use no password? Only a username?
from asprom.
I added a log line when authentication fails. Could you pull the auth
branch, build, and try again?
from asprom.
Yeah. Passwords are optionals.
But just tested with a user with a password, fails too.
Let me build your new version.
from asprom.
/tmp/asprom -listen ":9146" -username stats -password stats
2018/02/22 16:20:27 starting asprom. listening on :9146
2018/02/22 16:20:29 auth error: Authentication failed
from asprom.
Aha. Password must be hashed. This is not a very convenient way to debug things :/
I'm working on this, will let you know... soon.
from asprom.
Pushed a possible fix to the auth
branch (that's the same branch as before). It now hashes the password. Sorry about the roundaboutness of this all.
(I haven't yet found a way to get a trial license from aerospike Inc)
from asprom.
No don't worry. Thanks for doing this :-) Testing.
from asprom.
Works with and without a password!
If I may have a suggestion, maybe test the authentication at startup time. But I guess that doesn't have to be.
Thanks for fixing it!
I'll keep an eye out for when you merge that back into master.
# HELP aerospike_node_batch_error batch error
# TYPE aerospike_node_batch_error gauge
aerospike_node_batch_error 0
# HELP aerospike_node_batch_index_complete batch index complete
# TYPE aerospike_node_batch_index_complete gauge
aerospike_node_batch_index_complete 0
...
from asprom.
Thanks, good to hear!
I contacted aerospike, maybe they can give me a license so this is easier next time. I like the startup authentication test idea.
from asprom.
Merged, a build is available on https://github.com/alicebob/asprom/releases/tag/1.1.0
from asprom.
Thanks!
from asprom.
Related Issues (14)
- "Missing" statistics HOT 6
- segfault HOT 8
- dashboard HOT 7
- prometheus.Counter's Set method is deprecated HOT 1
- Latency metrics for batch reads? HOT 10
- Provision to pass credential via environment variables HOT 4
- Added TLS support configuration HOT 7
- ./main.go:168:34: cannot use hp (type []byte) as type string in argument to conn.Authenticate HOT 5
- add control over export port via env parameters HOT 1
- No binaries in release? HOT 2
- aerospike_node_up 0 HOT 25
- latency: missing measurements line HOT 2
- relationship to asgraphite HOT 4
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 asprom.