diff --git a/bin/check-journal.rb b/bin/check-journal.rb index fc5cfa8..e103380 100755 --- a/bin/check-journal.rb +++ b/bin/check-journal.rb @@ -98,7 +98,7 @@ def run n_matches = search_journal(journalctl_args) - message = "#{n_matches} matches found for #{config[:pattern]} in `journalctl #{journalctl_args}`" + message = "#{n_matches} matches found for #{config[:pattern]} in `LD_LIBRARY_PATH= journalctl #{journalctl_args}`" if n_matches >= config[:critical_count] critical message + " (threshold #{config[:critical_count]})" elsif n_matches >= config[:warning_count]