Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
I had to modify lines 74 and 75 adding a line that makes the ‘while’ loop to bail out if the line does not begin with ‘|’.
while() { next unless /^|/;
For some reason, the script worked fine if invoked by cli, but gave the following error if invoked inside Nagios:
**ePN /usr/lib/nagios/plugins/check_bacula_lastbackup.pl: Use of uninitialized value _jobStatus in string ne at (eval 1) line 80, JOBLIST line 1..