#Harvest role: cmddirname: metrocluster ... mediator add ?

1 messages · Page 1 of 1 (latest)

remote heart
#

Hi All, I've just installed 4.0.7 and am updating the role permissions for harvest 24.08. What does it mean to allow the command "mediator add" but with only "readonly" access? Does that make sense? Or should it be just "mediator show", which would make more sense (to me :-))

wispy gulch
#

hi @remote heart that permission was required to collect SnapMirror active sync mediator metrics. You can always try without it if you prefer. The Mediator collector will fail but the other ones will succeed. More details here

FWIW, 24.11 was released a couple weeks ago. If you just setup things, might be worth moving to 24.11 instead of 24.08

remote heart
#

Hi Chris, thanks for getting back to me so quickly - cool!

#

So, just setting the mediator cmd permission to "show" will not bring anything?

wispy gulch
#

correct

remote heart
#

So the "add" is somehow better than just "show"?

#

Anyway, if add is correct, I'll set that

wispy gulch
#

it was required to make that REST call work, but you can try it without if you prefer and add it later

remote heart
#

It's running without it at the moment, I don't see any obvious consequences. We do have several MetroClusters (FC and IP).

#

I did notice that the MetroCluster Diagnostics dashboard is empty ... just a warning that it requires >=9.12 and REST

#

We have (mostly) 9.12.1 and I think the nabox polling mode is set to "automatic"

wispy gulch
#

if you ssh into nabox4, you can check the harvest.yml to determine if ZAPI or REST is being used.
sudo less /etc/nabox/harvest/harvest.yml

remote heart
#

I have a RFE for nabox (4.0.7): Set stricter limits/rules on the email "from" field. When I entered a synatically invalid value there, it killed the grafana container. I.e. the container continuously restarts

wispy gulch
#

@gloomy monolith

remote heart
#

harvest yaml stanza for the MCC has "api: Rest". But I'll update harvest and also add some more hosts, then re-check the dashboard

wispy gulch
#

Take a look at the collectors: section too, what is the order listed here

remote heart
#

...
port: 12002
addr: the_hostname
collectors:
- Rest
- RestPerf
- Zapi
- ZapiPerf
datacenter: STG
...

#

Hi All, Just installed 4.0.7 and am updating the role permissions for harvest. What does it mean tha

#

Argggh .

#

cannot find "paste unformatted" :-(

#

Anyway, yo get the idea what the file looks like.

wispy gulch
#

yes that looks good, Rest will be used before Zapi

remote heart
#

I think I've installed harvest 24.11. It was quick to return 🙂

gloomy monolith