mephux / envdb Goto Github PK
View Code? Open in Web Editor NEWLEGACY use https://github.com/mephux/kolide -- Envdb - Ask your environment questions with osquery.
License: Apache License 2.0
LEGACY use https://github.com/mephux/kolide -- Envdb - Ask your environment questions with osquery.
License: Apache License 2.0
$ make
==> Embedding Assets
==> Installing dependencies
can't load package: package _/home/dan/envdb: cannot find package "_/home/dan/envdb" in any of:
/usr/lib/go/src/pkg/_/home/dan/envdb (from $GOROOT)
/home/dan/envdb/Godeps/_workspace/src/_/home/dan/envdb (from $GOPATH)
/home/dan/stuff/src/_/home/dan/envdb
godep: go exit status 1
godep: exit status 1
make: *** [deps] Error 1
$ echo $GOROOT x $GOPATH
x /home/dan/stuff
I got envdb.io for the project and I want to build a web service for submiting useful queries and loading them from the EnvDB ui. I opened this issue to track feature concepts or use submitted feedback.
Very cool project. I'll be thinking about how we can integrate it with other tools in the space we're working in. Anyway, I wanted to suggest (since I saw you had as a todo) a tool used for a nice way to do extensions in Go:
https://github.com/progrium/go-extpoints
Here is a blog post explaining our first major use case and a bit on the user experience of it:
http://gliderlabs.com/blog/2015/03/31/new-logspout-extensible-docker-logging/
Is there any WIP to allow Envdb to use something other than sqlite? I'd love to be able to use Postgres so I could throw this up on Heroku. From the looks of things, since you're using xorm this should be pretty easy and mostly just a matter of some configuration changes. I might be able to work on a PR if this isn't already happening.
Facebook's osquery have similar concepts.
It would help if the README file would include a quick comparison.
This is a pretty bare bones ubuntu 14.04 box w/ go 1.4.2 installed w/ gvm. It looks like a Makefile issue... in that maybe it's trying to run bindata the target before installing bindata the dependency.
Here is the tail end of make --debug
Considering target file `all'.
File `all' does not exist.
Considering target file `deps'.
File `deps' does not exist.
Considering target file `bindata'.
File `bindata' does not exist.
Finished prerequisites of target file `bindata'.
Must remake target `bindata'.
Putting child 0x019e5430 (bindata) PID 23109 on the chain.
Live child 0x019e5430 (bindata) PID 23109
==> Embedding Assets
Reaping winning child 0x019e5430 PID 23109
make: go-bindata: Command not found
Live child 0x019e5430 (bindata) PID 23111
Reaping losing child 0x019e5430 PID 23111
make: *** [bindata] Error 127
Removing child 0x019e5430 PID 23111 from chain.
also, make is:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
I'm starting to play around with envdb but ran into a couple errors while compiling for OS X 10.10.3.
The main one is that -ldflags "-s" throws a deprecation error:
==> Embedding Assets
==> Building envdb
# _/Users/mojo/scratch/envdb
ld: warning: option -s is obsolete and being ignored
The resulting envdb binary then threw an error when trying to run it:
~/scratch/envdb/bin master! $ ./envdb
Bus error: 10
Removing the -ldflags from the Makefile worked for me.
A minor error is that the version of grep that OS X ships with doesn't have a Perl regex mode, so the -P throws a usage warning in your grep for Version:
==> Embedding Assets
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
Other than that everything is looking good so far -- thanks!
@mephux the main link needs to be updated.
Thank you for fixing the node scroll bar.
I had to redeploy the envdb 0.4.1 binary because 0.4.0 clients wouldn't reconnect to the server running 0.4.1.
I have enough nodes that at any browser window size I need to scroll to see them all.
The last node in my list is offline and I would like to delete it.
There isn't enough screen space for the full menu to appear so I can't delete the node.
I have the same issue for any other node in the list that happens to be positioned at/near the bottom of the browser window but I can work around them by adjusting the scroll bar and then trying again.
With the last item in the list that isn't an option.
Have you experienced this?
First off, envdb is a great idea. Great job.
How do I enable scroll for the nodes list?
The nodes list cuts off at screen size (using Chrome).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.