Commit dd43bbcd authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

db: count db-rows regularily

parent 69d1c005
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment