Example checkStatus implementation. Uses snapshot logic, not sql. checkStatus method can do anything needed, though. For example executeShell is outside the database completely