matoH12 / check_mk_vcsa7_health_monitoring

0 stars 0 forks source link

Read-Only User doesn't work #3

Open Alex-C9ku opened 3 months ago

Alex-C9ku commented 3 months ago

First of all, thank you for this great plugin! It works perfectly with an administrator account👍

For security reasons, I want to run it with a read-only user, but I get this error: Failed: Failed to fetch data from : Error(MKFetcherError('Agent exited with code 1: Traceback (most recent call last):\n File "/omd/sites//local/share/check_mk/agents/special/agent_vcsa_services_health", line 404, in \n print ("vcenter-update;%s;%s;%s" % (data_update[\'state\'],data_update[\'version\'],data_update[\'latest_query_time\']))\n ~~~^^^^^^^^^\nKeyError: \'state\''))

I have already extended read-only user permissions with "SystemConfiguration.ReadOnly" as described here: https://saravanansubbiah.in/vmware/vcenter-api-monitoring/