NRPE CheckDriveSpace question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

NRPE CheckDriveSpace question

Post 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
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRPE CheckDriveSpace question

Post 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.
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: NRPE CheckDriveSpace question

Post by QS1 »

Thank you for the quick response..I had to escape the $..final argument :

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

the check now works properly
Locked