Build precise queries to find exactly what you need
Press ESC to close
@Shodan
Favorites0
Views
Projects0
Thank you! I just had to modify a couple of lines: I added # nagios -epn just after the interpreter declaration so Nagios won't try to use its embedded perl interpreter (which exits with some compile errors) I also had to move "Unbound" from line 895 to line 891. For some reason my AX4-5 reports the Hot Spare disk as Unbound making the script report 0 HS available and triggering a warning.
Reviewed 12 years ago
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..
Reviewed 13 years ago