Code: Select all
SELECT object_name, counter_name, instance_name, cntr_value, cntr_type
FROM sys.sysperfinfo
WHERE (counter_name = 'Log Cache Hit Ratio')Code: Select all
SELECT object_name, counter_name, instance_name, cntr_value, cntr_type
FROM sys.sysperfinfo
WHERE (counter_name = 'Log Cache Hit Ratio')----------------------------------------------------------------------------------------------------------------------------------------------------------------rkennedy wrote:Do you have an answer to this?What are the rights that are granted to the user account on the MSSQl server?
Also - does your password contain any special characters? Are you using domain\username to login or just username?
See this links for a bit more info -
https://support.microsoft.com/en-us/kb/555332
http://stackoverflow.com/questions/3583 ... sql-server
Alright, we cannot do this in production for obvious reasons (therefore this has to be resolved by Nagios team, I think)tgriep wrote:We tested this on out on a MSSQL 2008 server and the only way we could get it to work is to edit the user account and set it's Server Role as a sysadmin.
All of the other settings would not make this work. Can you try that and see if it resolves the issue?
This is correct - you cannot use a domain user - it has to be a local account.- one more question: should this be a local sysadmin account (no a domain, right)?
OK to lock.lmiltchev wrote:This is correct - you cannot use a domain user - it has to be a local account.- one more question: should this be a local sysadmin account (no a domain, right)?
Do you mind if we lock this topic or you would like to keep it open for a while?