I've configured a 64-bit Windows Server 2012 R2 Standard computer to be monitored with NRDP. Every check is coming back to Nagios XI (5.6.14) as expected, except there is one drive (G:) that is 100% full. The host was previously configured to use NCSA which reported G: at 100% as expected. However, check_pdm.exe is returning an UNKNOWN state for this drive. Other drives are being reported correctly. Here's a sample from NRDS_Debug.log:
Code: Select all
9/22/2020 7:16:07 PM command to be run : C:\PROGRA~1\Nagios\NRDS_Win\plugins\check_pdm.exe --disk --drive F: -w 80 -c 90
9/22/2020 7:16:07 PM command line executing : cmd /c C:\PROGRA~1\Nagios\NRDS_Win\plugins\check_pdm.exe --disk --drive F: -w 80 -c 90 > %temp%\output.txt
9/22/2020 7:16:07 PM return results from plugin : DISK+OK+%2D+usage%3A+F%3A+7242931%2E9+MB+%2869%2E07%25+of+total+10485630%2E0+MB%29%7C%27disk+in+use%27%3D7242931%2E9MB%3B+%27disk+usage%27%3D69%2E07%25%3B80%3B90%3B+%27disk+total%27%3D10485630%2E0MB%3B
9/22/2020 7:16:07 PM return code from plugin : 0
9/22/2020 7:16:07 PM command to be run : C:\PROGRA~1\Nagios\NRDS_Win\plugins\check_pdm.exe --disk --drive G: -w 80 -c 90
9/22/2020 7:16:07 PM command line executing : cmd /c C:\PROGRA~1\Nagios\NRDS_Win\plugins\check_pdm.exe --disk --drive G: -w 80 -c 90 > %temp%\output.txt
9/22/2020 7:16:07 PM return results from plugin : DISK+UNKNOWN+%2D+Drive+information+problem
9/22/2020 7:16:07 PM return code from plugin : 3
9/22/2020 7:16:07 PM command to be run : C:\PROGRA~1\Nagios\NRDS_Win\plugins\check_pdm.exe --disk --drive H: -w 80 -c 90
9/22/2020 7:16:07 PM command line executing : cmd /c C:\PROGRA~1\Nagios\NRDS_Win\plugins\check_pdm.exe --disk --drive H: -w 80 -c 90 > %temp%\output.txt
9/22/2020 7:16:07 PM return results from plugin : DISK+OK+%2D+usage%3A+H%3A+26506744%2E2+MB+%2850%2E56%25+of+total+52428670%2E0+MB%29%7C%27disk+in+use%27%3D26506744%2E2MB%3B+%27disk+usage%27%3D50%2E56%25%3B80%3B90%3B+%27disk+total%27%3D52428670%2E0MB%3B
9/22/2020 7:16:07 PM return code from plugin : 0