Teutenberg / DBAid2

SQL Server administrative support database
MIT License
1 stars 1 forks source link

Create agent job that writes checkmk results into errorlog #15

Closed Teutenberg closed 4 years ago

Teutenberg commented 4 years ago

Create a agent job to write checkmk procedure results into the errorlog when they raise a warning or critical. This will allow monitoring through log aggregation system like Splunk.

Teutenberg commented 4 years ago

New agent job calls procedures with parameter @writelog = 1. Deploys to instance in a disabled state, if required can be enabled. https://github.com/Teutenberg/DBAid2/blob/master/database/post_script.sql#L473