On Mon, 31 Aug 2009 08:48:57 -0700, "Massimo Balestra" <massimobales...@hotmail.com> wrote:
> > >Hi everybody, > >I have a configuration with a Nagios monitoring some linux servers and few >Windows ones. >I have a problem monitoring the USEDDISKSPACE on one drive of one of the >windows servers. >It is a Windows Server 2003 R2 Standard edition (Service pack 2). >The problem occurs after I did the last Windows Update last Friday. Before >it was working. What patches got installed? >I am using nsclient++ > >C:\>"C:\Program Files\NSClient++\\NSClient++.exe" -version > >l NSClient++.cpp(360) NSClient++ Version: 0.3.6.818 2009-06-14, Plattform: >w32 >And, on the Nagios site, check_nt: >/usr/local/nagios/libexec/check_nt --version > >check_nt v1991 (nagios-plugins 1.4.13) >I show the problem running the plug-in from the command line because it >shows better what happens. > > > >The windows server has 2 disks (2 raid partitions): c and d > >The problem is: > >If I run the USEDDISKSPACE on the drive D everything is OK. > ># /usr/local/nagios/libexec/check_nt -H servername -p 12489 -s password -v >USEDDISKSPACE -l d ; echo $? > >d:\ - total: 182.12 Gb - used: 14.56 Gb (8%) - free 167.56 Gb (92%) | 'd:\ >Used Space'=14.56Gb;0.00;0.00;0.00;182.12 > >0 > > > >But if I run the same identical command on the drive c. > ># /usr/local/nagios/libexec/check_nt -H servername -p 12489 -s password -v >USEDDISKSPACE -l c ; echo $? > >Segmentation fault > >139 Tried running strace to see what it is doing when it dies? >I tried running the nsclient++ service in both ways: as administrator (with >password) and as system account (allowing service to interact with the >desktop) with the same results. >Does anybody knows what is the problem and how to solve it? >Note: I tried to stop the nsclient++ service and run it from the command >line with the option /test. > >It works. No error is shown and the ckeck_nt result is what I expect. So >this segmentation fauld in the linux/Nagios site occurs only what nsclient++ >runs as a service. What's the value that gets returned when using /test? -- Jonathan Angliss <j...@netdork.net> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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