Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Shodan
byShodan, April 2, 2013
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.
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.
byShodan, February 28, 2013
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..
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..