Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Notice above /u02, /u04 and /u04 report invalid percentages compared to the df output.
It seems to persist that all of the errant status have zfs filesystems over 1TB. I haven't found a single one of our servers with a 1TB+ zfs filesystem that does not encounter this issue.
Thanks.
Last edited by salderman1 on Thu Feb 06, 2014 1:52 pm, edited 1 time in total.
There is a good chance this was fixed in 1.5 and beyond. But you already know this. The real trick is building the 1.5 plugins pack on your legacy hardware and there are no 1.5 bins available for your platform.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist wrote:There is a good chance this was fixed in 1.5 and beyond. But you already know this. The real trick is building the 1.5 plugins pack on your legacy hardware and there are no 1.5 bins available for your platform.
And even more complicated is the fact that we're using Puppet to manage nagios/nrpe packages, services, and checks via exported resources. It might be that my only recourse is to compile and replace only the check_disks plugin on a few boxes and see if the issue resolves. Otherwise Puppet is just going to point nrpe back to the original plugins package... I'll see what I can do.
Alright. Let us know how it goes. At least try the new version on one of the problematic boxes to see if that will resolve the issue.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist wrote:Alright. Let us know how it goes. At least try the new version on one of the problematic boxes to see if that will resolve the issue.
Well, I've found a SPARC T4 to build on but it's not going smoothly... Please bear with my, this is the first compiled project I've worked with from github. Here's my compile issue:
Making all in plugins
make: Fatal error in reader: Makefile, line 2456: Unexpected end of line seen
Current working directory /usr/local/git/nagios-plugins/plugins
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
case "all-recursive" in \
distclean-* | maintainer-clean-*) list='gl tap lib plugins plugins-scripts plugins-root po' ;; \
*) list='gl tap lib plugins plugins-scripts plugins-root po' ;; \
esac; \
for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/git/nagios-plugins
*** Error code 1
make: Fatal error: Command failed for target `all'
I took a peek at plugins/Makefile on the line quoted and in vi it's a blank line. It doesn't appear to be problematic. Should I be checking out a specific tag before trying to build?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Seems like you're right this issue is resolved in the latest greatest. I guess I'll reach out to the OpenCSW folks and see what their timeline is or make a request. The latest 1.4 version is packages and available from all three of their repo's unstable, test and "stable" whatever they call that one now. Seems like it shouldn't be too hard to get 1.5 into unstable. In the meantime, I might just use puppet to distribute the 1.5 check_disk binary to the SPARC boxes.
Notice /u02, /u04, and u05 below. The first execution is v. 1.5, the second (faulty) execution is out of the CSW packaged 1.4...
Great. Thanks for your sleuthing and patience with it.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.