Open IvanBayan opened 6 years ago
Well, you already opened an additional issue.
In principle it is the same as stated in https://github.com/bareos/python-bareos/issues/8.
Not all commands support JSON output. You can access them by bareos.bsock.DirectorConsole, but not with bareos.bsock.DirectorConsoleJson.
Our reasoning has been, that the information provides by status dir
can also, and even better retrieved by list job=oracle_weekly_ow-backup03
.
Status information from daemons other then the Director are hard to retrieve, has the communication between daemon is not handled as JSON.
Sorry if i misunderstood you, but status dir
and list job=...
completely different commands.
I want to use status dir
to check is director is running normally or not, same time i use list job=...
to retrieve information about job.
Looks like i found another bug, there is output from bconsole:
Python:
Am i wrong and it's expected behavior?
PS I found another strange behavior, bconsole:
Python:
Should i open another one issue for that?