NSClient++ Help (#1) - No output returned when using size-value option with CheckDriveSize (#964) - Message List
No output returned when using size-value option with CheckDriveSize
Hi,
We're experiencing a problem where "CHECK_NRPE: No output returned from daemon." is returned when using CheckDriveSize with the size-value option.
Here is the output when using %:
./check_nrpe -H 192.168.42.8 -p 5666 -c CheckDriveSize -u -a ShowAll MinWarnFree=15% MinCritFree=10% CheckAll FilterType=FIXED CRITICAL: C:\: 55.5G, D:\: Total: 397G - Used: 363G (91%) - Free: 34.7G (9%) < critical, E:\: Total: 1.37T - Used: 1.35T (98%) - Free: 19.9G (2%) < critical, F:\: 1.43T, Q:\: 6.04G|'C:\ %'=45%;15;10 'C:\'=55.47G;15;10;0;100 'D:\ %'=9%;15;10 'D:\'=362.78G;59.6;39.74;0;397.46 'E:\ %'=2%;15;10 'E:\'=1380G;210;140;0;1400 'F:\ %'=21%;15;10 'F:\'=1460.13G;276.4;184.3;0;1843.2 'Q:\ %'=85%;15;10 'Q:\'=6.0300000000000002G;6;4;0;39.99
Here is the output when using size-value
./check_nrpe -H 192.168.42.8 -p 5666 -c CheckDriveSize -u -a ShowAll MinWarnFree=15G MinCritFree=10G CheckAll FilterType=FIXED CHECK_NRPE: No output returned from daemon.
Running NSClient++ in test mode results in the following:
d rvice\NSClient++.cpp:604 NSClient++ - 0,4,0,163 2012-04-14 Started! l ce\simple_client.hpp:32 Enter command to inject or exit to terminate... d pe\server\server.cpp:95 Accepting connection from: ::ffff:10.255.124.16 d r\ssl_connection.cpp:27 starting secure data connection d erver\connection.cpp:37 starting data connection d ver\handler_impl.cpp:34 Running command: CheckDriveSize d rvice\NSClient++.cpp:923 Injecting: checkdrivesize... c i_plugin_wrapper.hpp:245 Exception in: NSHandleCommand: bad lexical cast: source type value could not be interpreted as target d rvice\NSClient++.cpp:947 Result checkdrivesize: WARNING d ver\handler_impl.cpp:36 Running command: CheckDriveSize = d erver\connection.cpp:51 Timeout reading: 1024 d erver\connection.cpp:106 Wrote data: 1036
NSClient++ is running on Server 2008 64bit.
Thanks
md
05/03/12 04:04:59 (13 months ago)
-
Message #2554
THis seems to be a defect I will try to resolve and rebuild tonight...
mickem05/03/12 10:20:31 (13 months ago) -
Message #2555
Fixed in latest nightly build (170) please verify and I will release as 0.4.0.
Michael Medin
mickem05/04/12 06:28:38 (13 months ago)-
Message #2556
Fixed :)
./check_nrpe -H 192.168.42.8 -p 5666 -c CheckDriveSize -u -a ShowAll MinWarnFree=15G MinCritFree=10G CheckAll FilterType=FIXED OK: C:\: 56.1G, D:\: 365G, E:\: 1.35T, F:\: 1.43T, Q:\: 6.04G|'C:\ %'=44%;85;90 'C:\'=56.12G;3;2;0;100 'D:\ %'=9%;96;97 'D:\'=364.78G;3;2;0;397.46 'E:\ %'=2%;98;99 'E:\'=1380.3G;3;2;0;1400 'F:\ %'=21%;99;99 'F:\'=1460.62G;3;2;0;1843.2 'Q:\ %'=85%;62;74 'Q:\'=6.0300000000000002G;3;2;0;39.99
Thank you
md05/04/12 07:04:55 (13 months ago)
-








