View Issue Details

IDProjectCategoryView StatusLast Update
0000630bareos-corefile daemonpublic2019-12-18 15:25
Reporterotto Assigned Tojoergs  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version15.2.2 
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.

Activities

joergs

joergs

2016-03-10 15:07

developer   ~0002207

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).
otto

otto

2016-03-10 17:36

reporter   ~0002210

Thanks this looks fine and a package would be great.
joergs

joergs

2016-03-14 10:58

developer   ~0002219

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
2019-12-18 15:25 arogge Status resolved => closed