Mirza Dedic
2018-09-18 16:17:36 UTC
Hi,
I am trying to configure the "Check SQL database" WATO rule, checking a SQL 2012 database table for number of records.
The SQL statement that runs is..
SELECT COUNT (*) FROM [dbo].[SOME_TABLE]
This returns a numeric value.
I set the Lower levels for first output item to:
Warning if below: 10.00
Critical if below: 1.00
I want to get a warning if the table has no records, but it does not seem to be working.
The check itself works and the results are..
OK - 3109602
I just want to add warning/critical threshold around this.
Am I doing something wrong?
I am trying to configure the "Check SQL database" WATO rule, checking a SQL 2012 database table for number of records.
The SQL statement that runs is..
SELECT COUNT (*) FROM [dbo].[SOME_TABLE]
This returns a numeric value.
I set the Lower levels for first output item to:
Warning if below: 10.00
Critical if below: 1.00
I want to get a warning if the table has no records, but it does not seem to be working.
The check itself works and the results are..
OK - 3109602
I just want to add warning/critical threshold around this.
Am I doing something wrong?