Hi all,
So I configured my own Nagios core server (version 4.4.3) on Ubuntu 18.04 LTS VM. I have set it up to monitor most of the hosts on my infra, both Linux & Windows.
On my web interface, I can see that my machine I'm monitoring has picked up all the defined check_nt services I have listed in my .cfg directory:
https://imgur.com/a/CG1uE6h
The hosts .cfg file is as follows:
When I run the same commands on the termial however, it get a timeout error. Adding the -t flag doesn't help either:
https://imgur.com/a/hY9ccdK
nsclient.ini here:
Can't get check_nrpe or check_nt to work on a Windows Host
Can't get check_nrpe or check_nt to work on a Windows Host
- Attachments
-
- my-pc.cfg
- my.cfg
- (3.99 KiB) Downloaded 84 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't get check_nrpe or check_nt to work on a Windows Ho
You need to add the port (-p 12489)
Code: Select all
/usr/local/nagios/libexec/check_nt -H 192.168.60.41 -p 12489 -v CLIENTVERSION
Re: Can't get check_nrpe or check_nt to work on a Windows Ho
Damn...
Well, post closed.
I'm still getting issues using NRPE on the Windows host, but ill post that seperately.
Well, post closed.
I'm still getting issues using NRPE on the Windows host, but ill post that seperately.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Can't get check_nrpe or check_nt to work on a Windows Ho
okcraigtho wrote:Damn...
Well, post closed.
I'm still getting issues using NRPE on the Windows host, but ill post that seperately.
Locking