Numerous permissions errors in SQL Server 2012 agent
Several metrics were are limited by the execute permission message:
EXECUTE permission was denied on the object 'sp_executesql', and 'sp_trace_setevent', in the database 'mssqlsystemresource'
By default, all SQL server users are granted Execute permission on the sp_executesql stored procedure. If this permission is revoked during SQL Server hardening procedures, Foglight SQL Server agent collections may fail to run.
Manually add execute permissions to 'xp_msver' and 'sp_executesql'
To grant the sp_executesql execute permission to the Foglight database agent user:
To grant the xp_msver execute permission to the Foglight database agent user, run the following command in the monitored database:
USE msdb; GO GRANT EXECUTE ON sp.xp_msver TO [Domain\Account] GO |
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center