Thanks 1000x. I am back on track. Regards Martin
On 6/13/06, Jedrzej Jajor <[EMAIL PROTECTED]> wrote: > Hi, > > I've just found out that the CVS snapshot contains the fixed version. > > Regards, > jj. > > Jedrzej Jajor wrote: > > Hi, > > > > you are comparing different versions of the plugin. In 1.4.3 there is > > new feature to test i-node usage (--iwarning, --icritical options). I > > suppose the bug is in the "-p" parameter handling. If you look into the > > check_disk.c you can find four assingments around line 464. These are > > w_df, c_df, w_dfp, c_dfp, but there are no assignments for w_idfp and > > c_idfp, so these two structure members remain uninitialized. After adding > > se->w_idfp = w_idfp; > > se->c_idfp = c_idfp; > > and recompiling the plugin works fine for me. > > I suppose that assignments of w_idfp and c_idfp should be also added to > > "-x" and "-X" parameters processing, and around line 550. > > > > Regards, > > Jedrzej > > > > Martin Møller Pedersen wrote: > >> Hi, > >> I have problems with the check_disk plugin on solaris. > >> > >> -bash-3.00# /usr/local/nagios/libexec/check_disk -w 8 -c 4 -p / > >> INPUT ERROR: C_IDFP > >> (30921422145122913280688628035811224757608221345310986534862865070038080057393929234440030082558635962973836854288896764936583266668058930356980333691804700554233010460325310262775727685686679067115016275490894316823635502904258885990887044258247524818658732802048.000000) > >> should be less than W_IDFP (0.0) and both should be between zero and > >> 100 percent, inclusive for / > >> check_disk: Could not parse arguments > >> Usage: check_disk -w limit -c limit [-p path | -x device] [-t > >> timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > >> bash-3.00# /usr/local/nagios/libexec/check_disk --version > >> check_disk (nagios-plugins 1.4.3) 1.64 > >> > >> > >> But on my linux-box it works: > >> sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk -w 8 -c 4 > >> -p / > >> DISK OK - free space: / 23761 MB (91%);| /=2337MB;26089;26093;0;26097 > >> sirius:/home/mm/nrpe-2.5.1# /usr/lib/nagios/plugins/check_disk --version > >> check_disk (nagios-plugins 1.4) 1.56 > >> > >> Strange ? > >> > >> Regards > >> Martin > >> > > > > -- "All general statements are false." "If atheism is a religion, then not collecting stamps is a hobby." A: Fordi det ændrer rækkefølgen folk normalt kommunikerer på. Q: Hvorfor er top-svar en dårlig ting? A: Top-svar. Q: Hvad er det mest irriterende i e-mail? "We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null