Re: [Bacula-users] About bdirjson, bsdjson, bfdjson
2017-07-17 09:08:19
Hello Kern - For messages I was not aware there is any level. You will need to be more explicit.In my Message resource I have configured what messages I want to receive, in this case (all and !skipped)....But in the json output is showing more than I configured (All, !Debug, !Saved, !Skipped) { "Type": "Mail", "MsgTypes": ["All","!Debug","!Saved","!Skipped"], },
- For the ports, please show me an example as there is no need to print it unless it has changed. About the ports I'm using the default ports (9101, 9102 and 9103) You can see that the ports are the default and they're not printed in json output (OK), but if I want to use a GUI interface to recreate the .conf files I always have to include this parameter. Director{ ... DIRport = 9101 ... }
Storage{ ... SDPort = 9103 ... }
FileDaemon { ... FDport = 9102
}
[ { "Director": { "Name": "bacula-dir", "Description": "Sistema de Backup Famacris", "Messages": "Daemon", "QueryFile": "/etc/bacula/scripts/_query.sql", "WorkingDirectory": "/etc/bacula/working", "PidDirectory": "/etc/bacula/working", "MaximumConcurrentJobs": 50, "Password": "DIRThrOweyEh47XFJHoedlf4OXylbRJhurJAjlhsMIVI", "HeartbeatInterval": 300, "StatisticsRetention": 94608000 } } ]
[ { "Storage": { "Name": "bacula-sd", "WorkingDirectory": "/etc/bacula/working", "PidDirectory": "/etc/bacula/working", "MaximumConcurrentJobs": 50, "HeartbeatInterval": 300 } } ]
[{ "FileDaemon": { "Name": "bacula-fd", "WorkingDirectory": "/etc/bacula/working", "PidDirectory": "/etc/bacula/working", "PluginDirectory": "/etc/bacula/plugins", "MaximumConcurrentJobs": 50, "HeartbeatInterval": 300 } } ]
You can see that the ports are the default and they're not printed in json output because you said they are "default", but if I want to use a GUI interface to recreate the .conf files I always will have to check if exists and if not exists include this parameter.
In the Messages (like above) there are more types of messages in the json output than .conf file of message resource. IMHO would be interesting show all informations that are stored in .conf and not exclude from json output.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
ADSM.ORG Privacy and Data Security by https://kimlaw.us
|