Host unreachable Windows 10

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Host unreachable Windows 10

Postby LibrarianJoe » Fri Feb 08, 2019 1:48 pm

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
LibrarianJoe
 
Posts: 6
Joined: Fri Feb 08, 2019 1:26 pm

Re: Host unreachable Windows 10

Postby scottwilkerson » Fri Feb 08, 2019 2:14 pm

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host unreachable Windows 10

Postby LibrarianJoe » Fri Feb 08, 2019 4:21 pm

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.
LibrarianJoe
 
Posts: 6
Joined: Fri Feb 08, 2019 1:26 pm

Re: Host unreachable Windows 10

Postby scottwilkerson » Fri Feb 08, 2019 5:09 pm

I also would like to see the command definition for check_nt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host unreachable Windows 10

Postby LibrarianJoe » Mon Feb 11, 2019 6:57 pm

Here it is:

define command {

command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
LibrarianJoe
 
Posts: 6
Joined: Fri Feb 08, 2019 1:26 pm

Re: Host unreachable Windows 10

Postby scottwilkerson » Tue Feb 12, 2019 8:43 am

From your Nagios server can you ping this host?

Code: Select all
ping 192.168.10.85
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host unreachable Windows 10

Postby LibrarianJoe » Wed Feb 13, 2019 2:04 pm

No, it times out
LibrarianJoe
 
Posts: 6
Joined: Fri Feb 08, 2019 1:26 pm

Re: Host unreachable Windows 10

Postby scottwilkerson » Wed Feb 13, 2019 2:08 pm

LibrarianJoe wrote:No, it times out


It looks like your Nagios server cannot reach the server you are trying to monitor
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host unreachable Windows 10

Postby LibrarianJoe » Wed Feb 13, 2019 2:30 pm

Makes sense. Is that something I'd need to get the network administrator to adjust? Or a Nagios-end thing I can adjust?
LibrarianJoe
 
Posts: 6
Joined: Fri Feb 08, 2019 1:26 pm

Re: Host unreachable Windows 10

Postby scottwilkerson » Wed Feb 13, 2019 2:39 pm

LibrarianJoe wrote:Makes sense. Is that something I'd need to get the network administrator to adjust?

Yes
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 13480
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Next

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 34 guests