]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/bacula-sd.conf.in
- Fix seg fault in AlertCommand
[bacula/bacula] / bacula / src / stored / bacula-sd.conf.in
index 1b58851c65ebbbc7595c6ca4534a84374efbabf0..1ad91aed555d0f388d4d4db14bfa30728fe30910 100644 (file)
@@ -26,6 +26,16 @@ Director {
   Password = "@sd_password@"
 }
 
+#
+# Restricted Director, used by tray-monitor to get the
+#   status of the storage daemon
+#
+Director {
+  Name = @hostname@-mon
+  Password = "@mon_sd_password@"
+  Monitor = yes
+}
+
 #
 # Devices supported by this Storage daemon
 # To connect, the Director's bacula-dir.conf must have the
@@ -57,7 +67,7 @@ Device {
 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
 ## Changer Device = /dev/sg0
 ## AutoChanger = yes
-## Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAlert'"
+## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
 #}
 
 #