From: C. V. <cle...@gm...> - 2008-02-27 11:04:17
Attachments:
webmin_bacula.patch
|
Hi everyone, I was playing with the bacula-backup module (and bacule by the way) and I found what's look like a bug. Actually, it was impossible to see the completed jobs in the "Director Status", "Storage Status" and "Client Status" pages. So I took a little bit of patience, and I corrected the regexp of this modules concerning completed jobs. Unfortunatly, I wasn't able to test it on something else than a CentOS 5.1/Webmin 1.40/Bacula 2.03 (EPEL Version actually). Hope this can help... P.S. : excuse my eventual typo, I'm learning Dvorak french keyboard since last week :) -- Clément Véret |
From: Jamie C. <jca...@we...> - 2008-02-27 19:23:58
|
Thanks for the patch! I will include this in the next Webmin release .. - Jamie On 27/Feb/2008 03:04 Clément VERET wrote .. > Hi everyone, > > I was playing with the bacula-backup module (and bacule by the way) > and I found what's look like a bug. > > Actually, it was impossible to see the completed jobs in the "Director > Status", "Storage Status" and "Client Status" pages. > > So I took a little bit of patience, and I corrected the regexp of this > modules concerning completed jobs. > > Unfortunatly, I wasn't able to test it on something else than a CentOS > 5.1/Webmin 1.40/Bacula 2.03 (EPEL Version actually). > > Hope this can help... > > P.S. : excuse my eventual typo, I'm learning Dvorak french keyboard > since last week :) > -- > Clément Véret |
From: C. V. <cle...@gm...> - 2008-03-21 07:44:28
Attachments:
webmin_bacula_patch2.patch
|
Errr... I've just seen that there was a little problem with this patch : before applying it, the Bacula Module just displays you jobs that have the "Error" status ; after, it displays you only jobs that have the "OK" status (ooops...). That's particularly unuseful if you want to know the status of all jobs done by Bacula. I send you the correction : I was wrong on a little part of the regular expression (jobs in OK status display the quantity of data under the form '135.56 M', jobs in error status display '0' instead). Sorry for the first wrong patch. Regards. 2008/2/27, Jamie Cameron <jca...@we...>: > Thanks for the patch! I will include this in the next Webmin release .. > > - Jamie > > On 27/Feb/2008 03:04 Clément VERET wrote .. > > > Hi everyone, > > > > I was playing with the bacula-backup module (and bacule by the way) > > and I found what's look like a bug. > > > > Actually, it was impossible to see the completed jobs in the "Director > > Status", "Storage Status" and "Client Status" pages. > > > > So I took a little bit of patience, and I corrected the regexp of this > > modules concerning completed jobs. > > > > Unfortunatly, I wasn't able to test it on something else than a CentOS > > 5.1/Webmin 1.40/Bacula 2.03 (EPEL Version actually). > > > > Hope this can help... > > > > P.S. : excuse my eventual typo, I'm learning Dvorak french keyboard > > since last week :) > > -- > > Clément Véret > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > -- Clément Véret |
From: Jamie C. <jca...@we...> - 2008-03-21 18:11:18
|
Thanks for the new patch .. I'd like to verify this a bit more closely though. Could you send me the output of the 'status dir', 'status client' and 'status storage' commands run at the Bacula console on your system, showing some successful and failed jobs? I suspect that it is different from my system.. - Jamie On 21/Mar/2008 00:44 Clément VERET wrote .. > Errr... I've just seen that there was a little problem with this patch > : before applying it, the Bacula Module just displays you jobs that > have the "Error" status ; after, it displays you only jobs that have > the "OK" status (ooops...). That's particularly unuseful if you want > to know the status of all jobs done by Bacula. > > I send you the correction : I was wrong on a little part of the > regular expression (jobs in OK status display the quantity of data > under the form '135.56 M', jobs in error status display '0' instead). > > Sorry for the first wrong patch. > > Regards. > > 2008/2/27, Jamie Cameron <jca...@we...>: > > Thanks for the patch! I will include this in the next Webmin release .. > > > > - Jamie > > > > On 27/Feb/2008 03:04 Clément VERET wrote .. > > > > > Hi everyone, > > > > > > I was playing with the bacula-backup module (and bacule by the way) > > > and I found what's look like a bug. > > > > > > Actually, it was impossible to see the completed jobs in the "Director > > > Status", "Storage Status" and "Client Status" pages. > > > > > > So I took a little bit of patience, and I corrected the regexp of this > > > modules concerning completed jobs. > > > > > > Unfortunatly, I wasn't able to test it on something else than a CentOS > > > 5.1/Webmin 1.40/Bacula 2.03 (EPEL Version actually). > > > > > > Hope this can help... > > > > > > P.S. : excuse my eventual typo, I'm learning Dvorak french keyboard > > > since last week :) > > > -- > > > Clément Véret > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > - > > Forwarded by the Webmin development list at web...@we... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > > > > > > -- > Clément Véret |
From: C. V. <cle...@gm...> - 2008-03-25 08:51:33
|
2008/3/21, Jamie Cameron <jca...@we...>: > Thanks for the new patch .. > > I'd like to verify this a bit more closely though. Could you > send me the output of the 'status dir', 'status client' and > 'status storage' commands run at the Bacula console on your > system, showing some successful and failed jobs? I suspect > that it is different from my system.. No problem : *status director bacula-01-dir Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu redhat Enterp rise release Daemon started 21-mar-08 08:38, 14 Jobs run since started. Heap: bytes=40,750 max_bytes=51,634 bufs=199 max_bufs=241 Scheduled Jobs: Level Type Pri Scheduled Name Volume ================================================================================ === Incremental Backup 10 25-mar-08 21:00 SvgData JN0001 ==== Running Jobs: No Jobs running. ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name ==================================================================== 1 Full 250 22.41 M OK 25-mar-08 02:25 SvgData 2 Full 0 0 Cancel 25-mar-08 02:27 SvgData ==== (this is not an Error but a Cancel status, but the output is the same...) *status storage=Tape Connecting to Storage daemon Tape at bacula-01:9103 bacula-01-sd Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu redhat Enterprise release Daemon started 21-mar-08 08:42, 2 Jobs run since started. Heap: bytes=87,246 max_bytes=154,630 bufs=77 max_bufs=100 Running Jobs: No Jobs running. ==== Jobs waiting to reserve a drive: ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name =================================================================== 1 Full 250 22.44 M OK 25-mar-08 02:25 SvgData 2 Full 0 0 Cancel 25-mar-08 02:27 SvgData ==== Device status: Device "FileStorage" (/tmp) is not open. Device "TapeDrive" (/dev/tape) open but no Bacula volume is currently mounted. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 ==== In Use Volume status: ==== *status client Automatically selected Client: bacula-01-fd Connecting to Client bacula-01-fd at bacula-01:9102 bacula-01-fd Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu redhat Enterprise release Daemon started 21-mar-08 08:00, 2 Jobs run since started. Heap: bytes=11,284 max_bytes=422,236 bufs=52 max_bufs=1,474 Sizeof: boffset_t=8 size_t=4 debug=0 trace=0 Running Jobs: Director connected at: 25-mar-08 02:30 No Jobs running. ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name ====================================================================== 1 Full 250 22.41 M OK 25-mar-08 02:25 SvgData 2 Full 0 0 Cancel 25-mar-08 02:27 SvgData ==== -- Clément Véret |
From: Jamie C. <jca...@we...> - 2008-03-26 05:20:19
|
On 25/Mar/2008 01:51 Clément VERET wrote .. > 2008/3/21, Jamie Cameron <jca...@we...>: > > Thanks for the new patch .. > > > > I'd like to verify this a bit more closely though. Could you > > send me the output of the 'status dir', 'status client' and > > 'status storage' commands run at the Bacula console on your > > system, showing some successful and failed jobs? I suspect > > that it is different from my system.. > > No problem : > > *status director > bacula-01-dir Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu > redhat Enterp > rise release > Daemon started 21-mar-08 08:38, 14 Jobs run since started. > Heap: bytes=40,750 max_bytes=51,634 bufs=199 max_bufs=241 > > Scheduled Jobs: > Level Type Pri Scheduled Name Volume > ================================================================================ > > === > Incremental Backup 10 25-mar-08 21:00 SvgData JN0001 > ==== > > Running Jobs: > No Jobs running. > ==== > > Terminated Jobs: > JobId Level Files Bytes Status Finished Name > ==================================================================== > 1 Full 250 22.41 M OK 25-mar-08 02:25 SvgData > 2 Full 0 0 Cancel 25-mar-08 02:27 SvgData > > ==== > > (this is not an Error but a Cancel status, but the output is the same...) > > *status storage=Tape > Connecting to Storage daemon Tape at bacula-01:9103 > > bacula-01-sd Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu > redhat Enterprise release > Daemon started 21-mar-08 08:42, 2 Jobs run since started. > Heap: bytes=87,246 max_bytes=154,630 bufs=77 max_bufs=100 > > Running Jobs: > No Jobs running. > ==== > > Jobs waiting to reserve a drive: > ==== > > Terminated Jobs: > JobId Level Files Bytes Status Finished Name > =================================================================== > 1 Full 250 22.44 M OK 25-mar-08 02:25 SvgData > 2 Full 0 0 Cancel 25-mar-08 02:27 SvgData > ==== > > Device status: > Device "FileStorage" (/tmp) is not open. > Device "TapeDrive" (/dev/tape) open but no Bacula volume is currently mounted. > Total Bytes Read=0 Blocks Read=0 Bytes/block=0 > Positioned at File=0 Block=0 > ==== > > In Use Volume status: > ==== > > *status client > Automatically selected Client: bacula-01-fd > Connecting to Client bacula-01-fd at bacula-01:9102 > > bacula-01-fd Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu > redhat Enterprise release > Daemon started 21-mar-08 08:00, 2 Jobs run since started. > Heap: bytes=11,284 max_bytes=422,236 bufs=52 max_bufs=1,474 > Sizeof: boffset_t=8 size_t=4 debug=0 trace=0 > > Running Jobs: > Director connected at: 25-mar-08 02:30 > No Jobs running. > ==== > > Terminated Jobs: > JobId Level Files Bytes Status Finished Name > ====================================================================== > 1 Full 250 22.41 M OK 25-mar-08 02:25 SvgData > 2 Full 0 0 Cancel 25-mar-08 02:27 SvgData > ==== Thanks - I will tweak the regexps to handle those formats. - Jamie |