user
06/07/2022, 10:04 PMIbra
06/08/2022, 1:18 PMIbra
06/08/2022, 1:19 PMAndreas Piening
06/08/2022, 7:11 PMdynamic inventories
for ansible
.Andreas Piening
06/08/2022, 8:41 PMosquery
shell with /opt/orbit/bin/osqueryd/linux/stable/osqueryd -S
and run the following query:
SELECT path, type, ROUND((blocks_available * blocks_size * 10e-10), 2) AS free_gb, ROUND ((blocks_available * 1.0 / blocks * 1.0) * 100, 2) AS free_perc FROM mounts WHERE path = '/';
I receive floating point values with 1-2 digits after the decimal point as expected. However, the same query in fleet
gives me strange values like 29.370000000000001
for the column free_perc
. Same is true when I do this query on the console with fleetctl
. There is something wrong with parsing floating point results I guess.Angelo
06/08/2022, 11:54 PMzwass
Mo Zhu
06/10/2022, 9:28 PMosqueryi
but getting command not found
in terminal. Is there some way to run osqueryi? I would think that if I have fleet installed, I should be able to use osqueryi, right? do I need to install it separately?user
06/11/2022, 12:23 AMMystery Incorporated
06/11/2022, 8:52 AMIbra
06/13/2022, 9:28 AMIbra
06/13/2022, 9:28 AMIbra
06/13/2022, 9:29 AMAdam Connor
06/13/2022, 1:37 PMZachary Case
06/13/2022, 9:00 PMAdam Connor
06/14/2022, 8:19 AMRafael
06/14/2022, 10:37 AMAdam Connor
06/14/2022, 12:38 PM// Server
man.addConfigString("server.address", "0.0.0.0:8080",
"Fleet server address (host:port)")
Lines 438> from here-
https://github.com/fleetdm/fleet/blob/main/server/config/config.goGregory Storme
06/14/2022, 12:41 PMIbra
06/14/2022, 2:09 PMManish
06/14/2022, 4:05 PMOjas
06/15/2022, 8:52 AMAdam Connor
06/15/2022, 12:30 PMwget <https://github.com/fleetdm/fleet/blob/main/docs/01-Using-Fleet/standard-query-library/standard-query-library.yml>
fleetctl apply -f standard-query-library.yml
Error: error converting YAML to JSON: yaml: line 21: mapping values are not allowed in this context
Michele
06/15/2022, 4:58 PMMo Zhu
06/15/2022, 6:12 PMWarning: Version mismatch.
Client Version: 4.14.0
Server Version: 0.0.0-SNAPSHOT-d61df9a
I think this means my fleetctl needs to be updated? How do I do that? Couldnāt find it in the docs. Do I just go through node?Mo Zhu
06/15/2022, 6:23 PMfleetctl query
or fleetctl config
, I have to call sudo. Is there some way for me to make that go away, or is that on purpose?user
06/16/2022, 5:02 PMAvery
06/16/2022, 5:47 PMAvery
06/16/2022, 6:12 PMIbra
06/17/2022, 1:50 PM