using check_nrpe to monitor devices on remote machine
Posted: Tue Jul 12, 2011 10:26 am
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.
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.