GithubHelp home page GithubHelp logo

Remove an Agent from Server about gullveig HOT 4 OPEN

rolikeusch avatar rolikeusch commented on June 20, 2024
Remove an Agent from Server

from gullveig.

Comments (4)

Addvilz avatar Addvilz commented on June 20, 2024

There is a pending TODO to add this feature to gullveig-util I will try to address soon. Right now you have two options:

  1. Data is stored in SQLite3. You can simply use SQLite3 CLI to remove any data you want from the DB tables. This is a bit manual.
  2. If you don't care about history before this - shutdown gullveig-web and gullveig-server, delete /var/lib/gullveig/gullveig.sqlite3, start gullveig-server and gullveig-web (in that order). This will wipe the local DB, of course.

I will keep this open till the CLI command is implemented. Will be like gullveig-util forget example.com and that will wipe all the data for that hostname from the server DB.

from gullveig.

rolikeusch avatar rolikeusch commented on June 20, 2024

as i don't have a lot of data, i can live with remove the database and start from scratch.

from gullveig.

Addvilz avatar Addvilz commented on June 20, 2024

Also as a sidenote, this is something I can't deal with automatically because there is no way to know - was the or some status reporting removed manually, should it have been, is it just offline, or what happened. Same with all other data - there is no way for server to legitimately know that something is no longer reported for a legitimate reason. Thus this will have to be done manually, via CLI.

from gullveig.

rolikeusch avatar rolikeusch commented on June 20, 2024

manually is perfect. as you already said, an agent can be offline, then the data must still be available.

from gullveig.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.