]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix check_bacula.c to ignore daemon events
authorEric Bollengier <eric@baculasystems.com>
Thu, 18 Mar 2021 10:26:25 +0000 (11:26 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:00 +0000 (09:03 +0100)
commitaa68216e3f4261f8a9677367286690315b2dd4c8
treec560d473d9ac60cc7b75e08f7f555cdebd29c2f9
parent7c424cf7d7231db2d78723bc602c38328d10a838
Fix check_bacula.c to ignore daemon events

Description:
------------

check_bacula fails on file daemon

$ check_bacula -H localhost -D fd -M vlbackup.obvsg.at-mon -K secretsecret
BACULA CRITICAL - FileDaemon Status: Events: code=FC0002 daemon=vlbackup.obvsg.at-fd ref=0x7fe29000ee58 type=connection source=xxx-mon text=Director connection

Workaround:
-----------

It should be possible to disable events for these filedaemons.
bacula/examples/nagios/check_bacula/check_bacula.c