Skip to content
Snippets Groups Projects
Commit dd43bbcd authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

db: count db-rows regularily

parent 69d1c005
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,18 @@
- database
- zabbix
- name: ensure rows are counted regularily and saved in comment
cron:
name: "count rows"
special_time: monthly
job: psql zabbix -c "select * from zbx_update_partition_table_comments();"
state: present
user: postgres
delegate_to: "{{ zabbix_db_host }}"
tags:
- database
- zabbix
- name: upload the partition cleanup script
copy:
src: partition-cleanup.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment