Trouble using Nagios Core to monitor Remote Windows hosts
Posted: Sun Oct 23, 2016 6:41 pm
My organization is trying to use Nagios core to monitor ~100 Windows hosts in about 10 different sites. I've installed the latest Nagios and plugins in a VM. according to the documentation. I know that in order to monitor remote windows hosts, I will have to use a public static IP and I'm also going to use NSClient++ on every Windows host and forward the correct ports on the routers in every site.
My plan was to test this in the internal network before we actually put it into production, however, I'm having trouble getting the server to talk to the host. Since it's in a VM they are technically on different subnets and I'm getting either socket timeout with windows firewall on or connection refused on port 12489 (port used by NSClient++)
nsclient.ini has the IP of the server and the password configured which is also in the check_nt service of the commands.cfg on the server side.
My linux knowledge is somewhat basic and I've only been using nagios for less than a week I know that managing the configs will probably be somewhat tedious, but can anyone point me in the right direction on how to troubleshoot this? I also messed up my httpd.conf when trying to get nagios to use the public IP instead of localhost or the internal machine IP so I may need help fixing that as well.
To reiterate my goal is to get nagios to use our public static IP instead of localhost and use NSClient++ to monitor ~100 hosts across 10 sites but I've gotten either socket timeout or connection refused on the port used by NSClient++ I also need some assistance in what .conf files I have to edit in order for nagios to sue our public IP via dynamic DNS rather than using the localhost. Thanks guys. Any recommendations to make this easier are also welcome as I'm just getting back into Linux myself.
My plan was to test this in the internal network before we actually put it into production, however, I'm having trouble getting the server to talk to the host. Since it's in a VM they are technically on different subnets and I'm getting either socket timeout with windows firewall on or connection refused on port 12489 (port used by NSClient++)
nsclient.ini has the IP of the server and the password configured which is also in the check_nt service of the commands.cfg on the server side.
My linux knowledge is somewhat basic and I've only been using nagios for less than a week I know that managing the configs will probably be somewhat tedious, but can anyone point me in the right direction on how to troubleshoot this? I also messed up my httpd.conf when trying to get nagios to use the public IP instead of localhost or the internal machine IP so I may need help fixing that as well.
To reiterate my goal is to get nagios to use our public static IP instead of localhost and use NSClient++ to monitor ~100 hosts across 10 sites but I've gotten either socket timeout or connection refused on the port used by NSClient++ I also need some assistance in what .conf files I have to edit in order for nagios to sue our public IP via dynamic DNS rather than using the localhost. Thanks guys. Any recommendations to make this easier are also welcome as I'm just getting back into Linux myself.