Host unreachable Windows 10
-
- Posts: 16
- Joined: Fri Feb 08, 2019 1:26 pm
Host unreachable Windows 10
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host unreachable Windows 10
This indicates that the plugin cannot get to the host to perform the checks.Host unreachable
Can you share your check_nt command definition along with the host and service definitions
-
- Posts: 16
- Joined: Fri Feb 08, 2019 1:26 pm
Re: Host unreachable Windows 10
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.
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host unreachable Windows 10
I also would like to see the command definition for check_nt
-
- Posts: 16
- Joined: Fri Feb 08, 2019 1:26 pm
Re: Host unreachable Windows 10
Here it is:
define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
define command {
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host unreachable Windows 10
From your Nagios server can you ping this host?
Code: Select all
ping 192.168.10.85
-
- Posts: 16
- Joined: Fri Feb 08, 2019 1:26 pm
Re: Host unreachable Windows 10
No, it times out
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host unreachable Windows 10
It looks like your Nagios server cannot reach the server you are trying to monitorLibrarianJoe wrote:No, it times out
-
- Posts: 16
- Joined: Fri Feb 08, 2019 1:26 pm
Re: Host unreachable Windows 10
Makes sense. Is that something I'd need to get the network administrator to adjust? Or a Nagios-end thing I can adjust?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Host unreachable Windows 10
YesLibrarianJoe wrote:Makes sense. Is that something I'd need to get the network administrator to adjust?