Page 1 of 2

Host unreachable Windows 10

Posted: Fri Feb 08, 2019 1:48 pm
by LibrarianJoe
Hello,

Have installed NSClient++, with all the options checked, on a Windows 10 machine to monitor it from the Nagios console/Web GUI on an Ubuntu machine. Currently the windows host appears in the hosts lists, but every service and the host in general reads "Host unreachable"

Have tried:

-Uninstalling and reinstalling NSClient++
-Restarting the Nagios service
-Checking firewall settings, couldn't ID any issues

What else can I try?

Best,
Joe

Re: Host unreachable Windows 10

Posted: Fri Feb 08, 2019 2:14 pm
by scottwilkerson
Host unreachable
This indicates that the plugin cannot get to the host to perform the checks.

Can you share your check_nt command definition along with the host and service definitions

Re: Host unreachable Windows 10

Posted: Fri Feb 08, 2019 4:21 pm
by LibrarianJoe
Here's the check_nt one:

define service {
use generic-service
host_name Techserv workstation
service_description Uptime
check_command check_nt!UPTIME
}
And the host:

define host {
use windows-server
host_name Techservworkstation
alias My Windows Server
address 192.168.10.85
}

Is that all the information needed? If not, please let me know. I'm fairly new to this and to Linux in general so fully expect to be off and accept correction.

Re: Host unreachable Windows 10

Posted: Fri Feb 08, 2019 5:09 pm
by scottwilkerson
I also would like to see the command definition for check_nt

Re: Host unreachable Windows 10

Posted: Mon Feb 11, 2019 6:57 pm
by LibrarianJoe
Here it is:

define command {

command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}

Re: Host unreachable Windows 10

Posted: Tue Feb 12, 2019 8:43 am
by scottwilkerson
From your Nagios server can you ping this host?

Code: Select all

ping 192.168.10.85

Re: Host unreachable Windows 10

Posted: Wed Feb 13, 2019 2:04 pm
by LibrarianJoe
No, it times out

Re: Host unreachable Windows 10

Posted: Wed Feb 13, 2019 2:08 pm
by scottwilkerson
LibrarianJoe wrote:No, it times out
It looks like your Nagios server cannot reach the server you are trying to monitor

Re: Host unreachable Windows 10

Posted: Wed Feb 13, 2019 2:30 pm
by LibrarianJoe
Makes sense. Is that something I'd need to get the network administrator to adjust? Or a Nagios-end thing I can adjust?

Re: Host unreachable Windows 10

Posted: Wed Feb 13, 2019 2:39 pm
by scottwilkerson
LibrarianJoe wrote:Makes sense. Is that something I'd need to get the network administrator to adjust?
Yes