Hello, I have a playbook that runs a few times a week to find snapmirror relationships with a lag time of >7 days. I’ve had my eye on a volume that has a lag time of 15 days now, and the API has only picked this up once, other times it shows num_records: 0. I’ve ran this 6 times, so it should have caught this every time.. not intermittently.
This is part of the playbook:
- name: Find unhealthy snapmirror relationships with >7 days lag time
netapp.ontap.na_ontap_rest_info:
hostname: hostname
username: username
password: password
https: true
validate_certs: false
gather_subset:
- snapmirror_info
parameters:
source.svm: ‘*’
source.path: ‘*’
destination.path: ‘*’
destination.svm: ‘*’
lag_time: ‘>P7DT’
healthy: ‘false’
unhealthy_reason.message: ‘*’
register: unhealthy_snapmirrors
Any help here would be greatly appreciated!