I have a number of legacy .Net C# applications - mostly running as Windows services. When they encounter error conditions, they write log information to a SQL database. So, for visibility, one would have to query the table, for rows with a "severity" of "error", within a date range, and therein would lie all the exception data.
Is there a way we could use SCOM to monitor these tables, such that should a new record be created for an error, it would show up in the SCOM monitor ? The boxes with the service and/or the database all have the Monitoring Agent running on them.
Is SCOM a useful match for this, and if so, would that entail writing my own "Management Pack" which knows which database/table to look for ? How would it know what a "new" record looked like ?
If it were possible, would such a custom MP be able to query different tables (and/or SQL servers) ? I have many applications, they don't all write to the same log table/database, but conceptually they do the same thing.