Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mssql_jobs without a name #796

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kleinski
Copy link
Contributor

General information

Some mssql_jobs may not have a name.

It occurred that some jobs do not have a name so that field is missing in the agent plugin output (both, the deprecated mssql.vbs and the new mk-sql.exe) and will be set to an empty string in the parsed output.

That leads to a discovery crash and all subsequent jobs will not be discovered as well, so I added the proof of the length of the job_name to keep the discovery from crashing.

Example agent plugin output of mk-sql.exe is attached.
mssql_jobs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant