harmony/harmony_inventory_agent
Jean-Gabriel Gill-Couture 701d8cfab9 feat: automatically discover inventory (#127)
## Fully automated inventory gathering now works!

Boot up harmony_inventory_agent with `cargo run -p harmony_inventory_agent`
Launch the DiscoverInventoryAgentScore , currently available this way :

`RUST_LOG=info cargo run -p example-cli -- -f Discover -y`

And you will have automatically all hosts saved to the database. Run `cargo sqlx setup` if you have not done it yet.

Co-authored-by: Ian Letourneau <ian@noma.to>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/127
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-08-31 22:45:07 +00:00
..
src feat: automatically discover inventory (#127) 2025-08-31 22:45:07 +00:00
Cargo.toml feat: automatically discover inventory (#127) 2025-08-31 22:45:07 +00:00
README.md doc: Add README explaining how to build harmony_inventory_agent statically with musl target 2025-08-21 21:58:35 -04:00

Compiling :

cargo build -p harmony_inventory_agent --release --target x86_64-unknown-linux-musl

This will create a statically linked binary that can run on pretty much any x86_64 system.

This requires installation of the target

rustup target add x86_64-unknown-linux-musl

And installation of the musl tools too.

On Archlinux, they can be installed with :

pacman -S musl