[Nagiosplug-help] plugin 'check_disk' fails on Solaris 10 with 16 TiB volume (with research)

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Jan 14 14:49:35 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/01/08 05:28 PM, Dennis Jenkins wrote:
> (Originally posted to "Nagios-Users" this morning.  Reposted without change after another posted indicated that this is a more appropriate group):
> 
> 
> Hello,
> 
>     This is my first post to this list.  I was unable to find any 
> previous mention of an issue like this, nor was I able to find a better 
> place to submit this (bug report?) to.  I'm not a Solaris expert (I am 
> pretty good with Linux and BSD though - including writing low-level 
> system code).  It is entirely possible that I'm off my rocker and that I 
> somehow and at fault.. but I doubt it  :) 
> 
>     The server in question is a Sun x4600 ("thumper").  It is a 64 bit 
> AMD server running Solaris 10 (SunOS 5.10) [1].  The system has a few 
> small volumes and one HUGE 16TiB volume (in a zpool).  This ZFS volume 
> is exported as several volumes over NFS.
> 
>     Nagios was installed following the instructions on terdmonk's web 
> site [2].  Nagios itself runs on a remote Gentoo Linux box.  I use nrpe 
> on the Solaris box to execute the plugins.  I have ruled out nrpe as the 
> source of the problem.  I think that the problem is in the plugin's 
> (check_disk) call to "statvfs".
> 

Hi again,

The attached patch seems to be the appropriate way of fixing this.

thanks

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi2hv6dZ+Kt5BchYRAoapAKDALjQIyGWxRjyKcXOA7NpIylD4VwCgj/LU
IaRgf0y+f2zGUH9Y5yE97BQ=
=vpwx
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lfs.patch
Type: text/x-diff
Size: 293 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080114/48da6036/attachment.patch>


More information about the Help mailing list