Hi guys, do you know in what cases the osquery age...
# fleet
s
Hi guys, do you know in what cases the osquery agents will re-enroll ?
j
I think they will enroll f they don't have a
node_key
in their local DB. E.g. if you delete the DB, the next time osqueryd is running, it will try to enroll.
s
If we change the fleet's db, will it trigger the agent to re-enroll?
j
Change it how? I'd normally just delete the whole
/var/osquery
directory.
s
change to a new db which has no entries in the host table
j
I'm sorry, but I don't understand what that means. I'm talking about osqueryd's database, not Fleet's.
maybe if you deleted the node from Fleet's UI, that would probably cause it to re-enroll.
Actually, that would probably cause an authentication error when the node tried to talk to Fleet because its
node_key
would be missing from Fleet's DB.