Add apt:update:post-invoke / apt:upgrade:post-invoke hooks #82

Open
opened 2024-04-08 07:21:36 +00:00 by peschmae · 0 comments
Owner

To run the scripts exporting apt metrics to prometheus

APT::Update::Post-Invoke  {"/opt/textfile-collector-script/apt_info.py | sponge /var/lib/node_exporter/apt_info.prom";};

Check if APT::Upgrade::Post-Invoke also exists

To run the scripts exporting apt metrics to prometheus ``` APT::Update::Post-Invoke {"/opt/textfile-collector-script/apt_info.py | sponge /var/lib/node_exporter/apt_info.prom";}; ``` Check if `APT::Upgrade::Post-Invoke` also exists
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
peschmae/ansible-home-ng#82
No description provided.