Skip to content

feat(glpi_agent): add optional scheduled database inventory - #301

Open
danyalberchtoldlf wants to merge 1 commit into
mainfrom
feat/glpi-agent-database-inventory
Open

feat(glpi_agent): add optional scheduled database inventory#301
danyalberchtoldlf wants to merge 1 commit into
mainfrom
feat/glpi-agent-database-inventory

Conversation

@danyalberchtoldlf

Copy link
Copy Markdown
Contributor

Add a systemd timer that runs glpi-agent --partial=database as a dedicated read-only database user, so the always-on daemon no longer connects to the local database as root on every cycle. The credential is kept in a 0600 EnvironmentFile referenced from the service unit, so it is not exposed via systemctl show, and the database inventory category is disabled on the daemon while the timer is enabled. Also add glpi_agent__conf_no_category to disable arbitrary inventory categories.

Add a systemd timer that runs `glpi-agent --partial=database` as a
dedicated read-only database user, so the always-on daemon no longer
connects to the local database as root on every cycle. The credential
is kept in a 0600 EnvironmentFile referenced from the service unit, so
it is not exposed via `systemctl show`, and the `database` inventory
category is disabled on the daemon while the timer is enabled. Also add
`glpi_agent__conf_no_category` to disable arbitrary inventory categories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant