Skip to content

Commit db351f8

Browse files
committed
add cronjob for zabbix check
1 parent bae15b4 commit db351f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ansible/roles/oso_host_monitoring/templates/monitoring-config.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,10 @@ host_monitoring_cron:
386386
minute: "8"
387387
job: ops-runner -f -s 15 -n cssc.openshift.public.ssl.expired.info /usr/bin/cron-send-ssl-check -l {% for domain in g_oso_monitoring_ssl_public_domains %} {{ domain}}.{{ osohm_cluster_id }}.openshift.com {% endfor %} {% for router in oa_routers %} srecheck.{{ router.shard }}.{{ osohm_cluster_id }}.openshiftapps.com {% endfor %} -key openshift.master.public.ssl.expiry
388388

389+
- name: check if zabbix monitored all the node
390+
hour: "*/6"
391+
job: ops-runner -f -s 15 -n cszic.openshift.zabbix.inventory.info /usr/bin/cron-send-zabbix-inventory-check --clusterid {{ osohm_cluster_id }}
392+
389393
- name: check ssl exprired status by http header internal
390394
hour: "11"
391395
minute: "9"

0 commit comments

Comments
 (0)