SELECT DATEDIFF(MINUTE,start_time,GETDATE())
FROM sys.dm_cdc_log_scan_sessions
WHERE session_id = (SELECT MAX(b.session_id) FROM sys.dm_cdc_log_scan_sessions AS b);
GO
It is configured against the known instance and DB (many other operational queries), but we get the error message:
- CRITICAL: Could not execute the Query.
Edit the service in the CCM and use the "Run Check Command" to get the full command. Try running the command both here as well as from the command line. Swith to the nagios user before running it from the command line:
cdienger wrote:Edit the service in the CCM and use the "Run Check Command" to get the full command. Try running the command both here as well as from the command line. Swith to the nagios user before running it from the command line: