Bareos Bug Tracker
Bareos Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000630bareos-core[All Projects] file daemonpublic2016-03-02 13:112016-03-14 10:58
Reporterotto 
Assigned Tojoergs 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version15.2.2 
Target VersionFixed in Version 
Summary0000630: Need cmdline status info
DescriptionHello,

i miss the possibility to check status of my own client.
Like Tray Monitor for cmd-line.

Some user want to check there Backups via nagios and must not have access to the director.

Perhaps it is only a small command needed to read the binaray status file
 /var/lib/bareos/bareos-fd.9102.state
otherwise this have to connect via the monitor ressource to the client like the tray monitor.


best regards

Thomas Otto
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action
Attached Files

- Relationships

-  Notes
(0002207)
joergs (administrator)
2016-03-10 15:07

Take a look at https://github.com/joergsteffens/python-bareos/tree/joergs/fdconnect [^]

You can use
bin/bareos-fd-connect.py --name <name_of_director_in_fd> --password <secret> localhost "status"

As this library has been intended to work against a Director Console, it fails for a number of fd commands, however "status" working fine (because the connection is closed as soon as the result have been given).

Depending on the feedback, I can include it into the main python-bareos package (from bareos/contrib).
(0002210)
otto (reporter)
2016-03-10 17:36

Thanks this looks fine and a package would be great.
(0002219)
joergs (administrator)
2016-03-14 10:58

Okay, package is build. I guess, it will be available on http://download.bareos.org/bareos/contrib/ [^] tomorrow.

You are welcome, to provide feedback on the bareos-users mailinglist.

- Issue History
Date Modified Username Field Change
2016-03-02 13:11 otto New Issue
2016-03-03 15:11 joergs Assigned To => joergs
2016-03-03 15:11 joergs Status new => assigned
2016-03-10 15:07 joergs Note Added: 0002207
2016-03-10 15:07 joergs Status assigned => feedback
2016-03-10 17:36 otto Note Added: 0002210
2016-03-10 17:36 otto Status feedback => assigned
2016-03-14 10:58 joergs Note Added: 0002219
2016-03-14 10:58 joergs Status assigned => resolved
2016-03-14 10:58 joergs Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker