bacula/bacula-nagios-check-fix.patch

13 lines
648 B
Diff
Raw Normal View History

2021-04-16 11:19:24 +00:00
diff -Naur bacula-11.0.2.old/examples/nagios/check_bacula/check_bacula.c bacula-11.0.2/examples/nagios/check_bacula/check_bacula.c
--- bacula-11.0.2.old/examples/nagios/check_bacula/check_bacula.c 2021-04-16 13:14:48.443226030 +0200
+++ bacula-11.0.2/examples/nagios/check_bacula/check_bacula.c 2021-04-16 13:15:04.773497587 +0200
@@ -324,7 +324,7 @@
continue;
}
- if (strncmp(item->D_sock, "Events:", strlen("Events:")) == 0) {
+ if (strncmp(item->D_sock->msg, "Events:", strlen("Events:")) == 0) {
/* Daemons can send events to the director, ignore them here */
continue;
}