using check_nrpe to monitor devices on remote machine

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dawsoad
Posts: 10
Joined: Thu Jul 07, 2011 9:11 am

using check_nrpe to monitor devices on remote machine

Post by dawsoad »

Hello,

I have Nagios XI installed on a virtual machine and I am monitoring processes via my web brower; internet explorer. The url for the web browser is the ip address + nagiosxi; e.g. http://xxx.xxx.xxx.xxx/nagiosxi. I have figured out how to add and view in the 'Service Detail' window devices/services for a remote machine; not on my red hat linux machine that the VM exist. For instance, I added a host (windows machine with its snmp agent activated) and setup servcies to monitor the C and D drive using the 'check_snmp' command. However, I wanted to get more detailed information by monitoring the local disk with the 'check_disk' command; e.g. I want to see how much space is available on the disk and/or if it is operational. This command seems to only provide information about the linux box, but I need the information from the remote machine instead. This is how I stumbled upon the 'check_nrpe' command. Which seems to be exactly what I am looking for, but I do not seem to be able to find out how to get it work properly.

remotehost = ip address to the windows machine

For example, when running the check_nrpe command to monitor users (check_users); "./check_nrpe -H remotehost -c check_users", I get the following message, "Connection refused by host". I have been reading from some sources that I found online that the windows machine will have to a NRPE daemon installed and configured on it in order for this to work. Is that correct? If so, can someone point me in the right direction to obtain this and some instructions on how to configure it on a remote/windows machine? Also, please let me know if this is the only avenue I can take in getting the status information I wish to obtain or if I have another option available to me, thanks.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: using check_nrpe to monitor devices on remote machine

Post by agriffin »

You need to install NSClient++ on the Windows machine. You can find documentation and downloads here: http://www.nsclient.org/nscp/
dawsoad
Posts: 10
Joined: Thu Jul 07, 2011 9:11 am

Re: using check_nrpe to monitor devices on remote machine

Post by dawsoad »

Thanks! I was just reading up on this one. I downloaded it from the nagios.org site and now about to install it. I will post whether I was successful or not and if I have any more questions concerning it. Thanks again!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: using check_nrpe to monitor devices on remote machine

Post by mguthrie »

You bet! Let us know if you have any additional questions.
Locked