Page 1 of 1

NRPE CheckDriveSpace question

Posted: Fri Aug 30, 2013 12:50 pm
by QS1
Nagiosxi version = 2012R1.7
Centos 5.6 32 bit OS
Virtual Machine

I have a question outlined in the attached document asking for assistance with an NRPE service check. The host machine is a Windows OS utilizing NSClient++ CheckDriveSpace command for a UNC PATH. Any help is greatly appreciated

Re: NRPE CheckDriveSpace question

Posted: Fri Aug 30, 2013 1:04 pm
by slansing
You will need to define ARG2 like so:

Code: Select all

Drive='\\\\ms5\\eprescribe$'
You have to escape the slashes otherwise XI will remove them. May need to escape the '$' also try the above first.

Re: NRPE CheckDriveSpace question

Posted: Fri Aug 30, 2013 4:11 pm
by QS1
Thank you for the quick response..I had to escape the $..final argument :

Drive='\\\\ms5\\eprescribe$'\

the check now works properly