Hello, having an issue trying to get preferred DC API collecting properly. I am able to see preferred DC’s when I run the api against a cluster, api/protocols/cifs/domains, however, I can’t get any preferred dc’s to show up when running the custom collector. This is how I have my custom rest collector set up:
name: PreferredDC
query: api/protocols/cifs/domains
object: preferred_dc
counters:
- ^^svm.uuid => uuid
- ^svm.name => svm
- ^preferred_dcs.server_ip => server_ip
- ^preferred_dcs.fqdn => fqdn
export_options:
instance_keys:
- uuid
- svm
instance_labels:
- server_ip
- fqdn