{"name":"SQL Server instance restarted","description":"Determines whether a SQL Server instance has been restarted since last collection. Reports a value >0 if there has been a restart, 0 if not.","tsql":"SELECT DATEDIFF(s, '1970-01-01', (SELECT crdate FROM sysdatabases WHERE name = 'tempdb'))","instances":false,"databases":{"mode":1},"frequency":300,"rateofchange":true,"metricenabled":true,"alertname":"Instance restarted","alertdescription":"This alert is raised when a SQL Server instance has been restarted.","_thresholds_high":{"selected":false},"_thresholds_medium":{"selected":true,"value":0},"aboveorbelow":"above","_thresholds_low":{"selected":false},"collections":1,"alertenabled":true,"targetentitytype":0}