From 36f69fb736929c3f45c60906bb0b33ad861f8408 Mon Sep 17 00:00:00 2001 From: Christian Fenzl Date: Tue, 13 Oct 2020 23:04:44 +0200 Subject: [PATCH] healthcheck: Fixed not using plugin dir --- bin/healthcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/healthcheck b/bin/healthcheck index c02a798..e6c04a6 100644 --- a/bin/healthcheck +++ b/bin/healthcheck @@ -30,7 +30,7 @@ if( $check_err > 0 ) { if( $check_sum > 0 ) { push @text, "Last notification: ***"; # Read notifications - my @notifications = get_notifications( $lbpplugindir, "Backup"); + my @notifications = get_notifications( 'lbbackup', "Backup"); push @text, "ERROR:" if ( $notifications[0]->{SEVERITY} eq "3" ); push @text, "Info:" if ( $notifications[0]->{SEVERITY} eq "6" ); push @text, $notifications[0]->{CONTENTRAW};