I have implemented OpsView Core withing a VMware player VM. Have a host monitored and have active service checks running against it. However I cannot get Windows Disk Space check to go.
From advice on a previous post ( http://www.opsview.com/forum/opsview-enterprise/latest-release/check-win...) I have implemented:-
check_nrpe -H $HOSTADDRESS$ -c nsc_checkdrivesize -a 'Drive=%WINDOWS_DRIVE%: %WINDOWS_DRIVE:1% ShowAll=long'
This does not work and from OPsview I get connection refused by host displayed in the GUI. From the Test Service Check utility on the Opsview Core box I get:-
$ /usr/local/nagios/libexec/check_nrpe -H AHBLD001PR.HQ.ADVENTINC.COM -c nsc_checkdrivesize -a 'Drive=: MinWarnFree=10% MinCritFree=5% ShowAll=long'
RETURN CODE: 2 (CRITICAL)
CRITICAL: Could not get free space for: :: :: reason: 3: The system cannot find the path specified
I can Telnet to the agent box on 5666 no issues. Other checks are working fine.
From the Test Agent exe I get :-
check_nrpe -H 127.0.0.1 -c nsc_checkdrivesize -a 'Drive=%WINDOWS_DRIVE%: %WINDOWS_DRIVE:1% ShowAll=long'
d NSClient++.cpp(1144) Injecting: check_nrpe: -H, 127.0.0.1, -c, nsc_checkdrivesize, -a, 'Drive=%WINDOWS_DRIVE%:, %WINDOWS_DRIVE:1%, ShowAll=long'
l NSClient++.cpp(1195) No handler for command: 'check_nrpe'
No handler for command: check_nrpe
Can anyone offer any help please?, I'm getting frustrated for what seems like it should be a simple check...