Hello

I'm still investigating on this item. I still have no success to get bacula-fd checked.
Does anyone have an idea about that?

regards

-------- Forwarded Message --------
Subject:        [Bacula-users] Fwd: check_bacula Authorization failed
Date:   Sun, 6 Nov 2016 12:32:20 +0100
From:   Robert Schulz <robert.sch...@chello.at>
To:     bacula-users@lists.sourceforge.net



Hello

I installed bacula-7.4.4. I compiled the supplied check_bacula and
installed it to nagios.
check_bacula works to check dir and fd but fails to check sd.

verleihnix:/usr/src/bacula-7.4.4/examples/nagios/check_bacula #
./check_bacula -H 192.168.5.3 -D dir -M verleihnix-con -P 9101 -K <pw-dir>
BACULA OK - Director Status OK

verleihnix:/usr/src/bacula-7.4.4/examples/nagios/check_bacula #
./check_bacula -H 192.168.5.3 -D fd -M verleihnix-mon -P 9102 -K <pw-fd>
BACULA OK - FileDaemon Status OK

verleihnix:/usr/src/bacula-7.4.4/examples/nagios/check_bacula #
./check_bacula -H 192.168.5.3 -D sd -M verleihnix-mon -P 9103 -K <pw-sd>
-d1000
check_bacula: bsock.c:203-0 Current 192.168.5.3:9103 All 192.168.5.3:9103
check_bacula: bsock.c:132-0 who=Storage daemon host=192.168.5.3 port=9103
check_bacula: bsock.c:305-0 OK connected to server  Storage daemon
192.168.5.3:9103.
check_bacula: watchdog.c:82-0 Initialising NicB-hacked watchdog thread
check_bacula: watchdog.c:197-0 Registered watchdog 9654910, interval
300<NULL>
check_bacula: watchdog.c:254-0 NicB-reworked watchdog thread entered
check_bacula: btimers.c:178-0 Start bsock timer 9654868 tid=b7160940 for
300 secs at 1478272578
check_bacula: cram-md5.c:133-0 cram-get received: auth cram-md5
<1546039970.1478272578@verleihnix-sd> ssl=0
check_bacula: cram-md5.c:157-0 sending resp to challenge:
5X+Dw/B6En+tcTFF5+czVD
check_bacula: cram-md5.c:166-0 Received bad response: 1999 Authorization
failed.

check_bacula: btimers.c:192-0 Stop bsock timer 9654868 tid=b7160940 at
1478272583.
check_bacula: watchdog.c:217-0 Unregistered watchdog 9654910
BACULA CRITICAL - Cannot authenticate to StorageDaemon: 1999
Authorization failed.

I tried different client definitions and trivial PWs but I had no success.
What I'm doing wrong?


Director definitions:
verleihnix:/opt/bacula/etc # cat HBH-dir-director.conf
Director {
   Name = verleihnix-dir
   DIRport = 9101
   QueryFile = "/opt/bacula/etc/query.sql"
   WorkingDirectory = "/opt/bacula/bin/working"
   PidDirectory = "/opt/bacula/bin/working"
   Maximum Concurrent Jobs = 20
   MaximumConsoleConnections = 10
   Heartbeat Interval = 600
   Password = "<pw-dir>"
   Messages = Daemon
}

verleihnix:/opt/bacula/etc # cat HBH-dir-storage.conf
#========================================================================================
# Storage
#========================================================================================
Storage {
   Name = File_Stor1
   Address = 192.168.5.3
   SDPort = 9103
   Password = "<pw-sd>"
   Device = Device_DISK1
   Media Type = File
   Maximum Concurrent Jobs = 5
}


SD Definitions:
verleihnix:/opt/bacula/etc # cat HBH-sd-director.conf
#
# List Directors who are permitted to contact Storage daemon
#
Director {
   Name = verleihnix-dir
   Password = "<pw-sd>"
}

# Monitor
Director {
   Name = verleihnix-mon
   Password = "<pw-sd>"
   Monitor = yes
}

Regards


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to