Hello Everyone.

I'm using Tray Monitor on a server that runs Director at my site.  The Tray
Monitor does not correctly report the Scheduled Jobs, Running Jobs or
Terminated Jobs in the DIR section.  The FD and SD sections show accurate
information.

I'm hoping that I've done something stupid, but after a week of looking at
it, it isn't obvious to me.  I've found one reference to a similar problem
on the users list, but it did not resolve my issue.

Here is the screen from Tray Monitor - DIR:

TeraDirSE-dir Version: 2.2.4 (14 September 2007) i686-pc-linux-gnu redhat
Daemon started 30-Sep-07 21:06, 77 Jobs run since started.
 Heap: heap=2,842,624 smbytes=300,029 max_bytes=5,933,082 bufs=2,868
max_bufs=28,017
No Scheduled Jobs.
====

Running Jobs:
Console connected at 04-Oct-07 08:56
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================

====


This is the screen if I use bconsole and run status dir:

*status dir
TeraDirSE-dir Version: 2.2.4 (14 September 2007) i686-pc-linux-gnu redhat
Daemon started 30-Sep-07 21:06, 78 Jobs run since started.
 Heap: heap=2,842,624 smbytes=300,029 max_bytes=5,933,082 bufs=2,868
max_bufs=28,017

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Full           Backup    10  05-Oct-07 15:05    MarshCap-davidg    *unknown*
Incremental    Backup    10  05-Oct-07 23:05    BElliott-SonyVaio  *unknown*
Incremental    Backup    10  05-Oct-07 23:05    TeraDirSE
TeraDirSE-Vol0006
Incremental    Backup    10  05-Oct-07 23:05    Schmidt-HP8150
Schmidt-HP8150-Vol0005
Incremental    Backup    10  05-Oct-07 23:05    Schmidt-Gateway
Schmidt-Gateway-Vol0002
Incremental    Backup    10  05-Oct-07 23:05    Schmidt-Averatec   *unknown*
Incremental    Backup    10  05-Oct-07 23:05    Schmidt-ASUS       *unknown*
Incremental    Backup    10  05-Oct-07 23:05    Schmidt-Pavilion   *unknown*
Incremental    Backup    10  06-Oct-07 00:05    BK-XPHomeTest      *unknown*
Full           Backup    10  06-Oct-07 05:00    TeraDirSECatalog   *unknown*
====

Running Jobs:
Console connected at 04-Oct-07 08:56
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================
   279  Incr        718    1.683 G  OK       04-Oct-07 15:19 MarshCap-davidg
   280  Incr        217    209.0 M  OK       04-Oct-07 23:06
BElliott-SonyVaio
   281  Incr     15,189    144.1 M  OK       04-Oct-07 23:10
Schmidt-Pavilion
   283  Incr     11,481    75.44 M  OK       04-Oct-07 23:13
Schmidt-Averatec
   284  Incr      8,757    52.82 M  OK       04-Oct-07 23:15 Schmidt-Gateway
   285  Incr        548    42.93 M  OK       04-Oct-07 23:16 Schmidt-HP8150
   286  Incr      3,370    260.0 M  OK       04-Oct-07 23:19 TeraDirSE
   282  Full     43,426    12.31 G  OK       04-Oct-07 23:52 Schmidt-ASUS
   287  Incr        115    75.09 M  OK       05-Oct-07 00:05 BK-XPHomeTest
   288  Full          1    53.03 M  OK       05-Oct-07 05:00
TeraDirSECatalog

====
*

You can see that the header information is the same on both, but the job
information is missing in the one from Tray-Monitor.  If I change the
password in either tray-monitor.conf or the console directive in
bacula-dir.conf I get error messages when I launch the tray monitor, so I am
pretty sure that the password is not the issue.  Bacula-tray-monitor does
not produce any error messages when I launch it from a shell.

Here is the tray-monitor.conf (with modified passwords):

#
# Bacula Tray Monitor Configuration File
#

# mon configuration for Director
#
Monitor {
  Name = TeraDirSE-mon
  Password = "dir password"         # password for the Directors
  RefreshInterval = 5 seconds
}

Client {
  Name = TeraDirSE-fd
  Address = 192.168.111.6
  FDPort = 9102
  Password = "fd passwordf"          # password for FileDaemon
}

Storage {
  Name = TeraDirSE-sd
  Address = 192.168.111.6
  SDPort = 9103
  Password = "sd password"          # password for StorageDaemon
}

Director {
  Name = TeraDirSE-dir
  DIRPort = 9101
  Address = 192.168.111.6
}

Here is the console Directive from bacula-dir.conf:

#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
  Name = TeraDirSE-mon
  Password = "dir password"
  CommandACL = status, .status
}

Any assistance much appreciated.


-- 
Douglas Schmidt
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to