Checking Windows Host using check_nrpe

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sheen.lim
Posts: 25
Joined: Mon Aug 07, 2017 7:49 pm

Checking Windows Host using check_nrpe

Post by sheen.lim »

Is there any documentation that I can use to monitor windows hosts using NRPE?

is check_nt deprecated? which one is better to use? check_nt? or check_nrpe for windows host?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Checking Windows Host using check_nrpe

Post by mcapra »

sheen.lim wrote:is check_nt deprecated?
Not that I am aware of.
sheen.lim wrote:which one is better to use? check_nt? or check_nrpe for windows host?
check_nrpe offers much more functionality than check_nt, so on that basis I would say check_nrpe is better.

Here's some documentation for enabling the NRPE listener in NSClient++:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Feel free to chime in if you encounter any problems with that documentation.
Former Nagios employee
https://www.mcapra.com/
kyang

Re: Checking Windows Host using check_nrpe

Post by kyang »

Thanks @mcapra! OP, as suggested let us know if you have any more questions.

To give you more options, you could take a look at NCPA if you wanted to monitor your windows hosts.

https://www.nagios.org/ncpa

https://www.nagios.org/ncpa/getting-started.php#windows
User avatar
DrNox
Posts: 37
Joined: Wed Apr 19, 2017 9:20 am

Re: Checking Windows Host using check_nrpe

Post by DrNox »

Check_nt and Check_nrpe is equal except that nrpe can use script. Is this ?
French Baguette
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Checking Windows Host using check_nrpe

Post by dwhitfield »

check_nrpe can be used on pretty much any operating system. I think your statement is on its face false.

However, both can be used through NSClient, so if that's where the question of equivalency comes from, the answer is true.
User avatar
DrNox
Posts: 37
Joined: Wed Apr 19, 2017 9:20 am

Re: Checking Windows Host using check_nrpe

Post by DrNox »

Yep, that's what i thougth ^.^
Check_nt is only for Windows but it's usefull for beginners like me !
French Baguette
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Checking Windows Host using check_nrpe

Post by dwhitfield »

Did you have any other questions, or are we ready to lock the thread?
sheen.lim
Posts: 25
Joined: Mon Aug 07, 2017 7:49 pm

Re: Checking Windows Host using check_nrpe

Post by sheen.lim »

Okay, Sorry for the late reply.

So I've setup a test windows server and installed NSClient++ with insecure mode (so that I can use check_nt).
I have added the Nagios Server IP address and assigned a password on my Windows Host. I can confirm port 12489 is open on the windows host.

However when I start to test it from the nagios server i get the following message.
Image

Do I need to anything else on the NSClient++ on the Windows hosts?
sheen.lim
Posts: 25
Joined: Mon Aug 07, 2017 7:49 pm

Re: Checking Windows Host using check_nrpe

Post by sheen.lim »

Okay, I got it working.

On my windows host, the modules that are responsible for the OPTION i am using on check_nt are disabled.
Image

I changed the string from "disabled" to "enabled" and restarted the NSCLient++ service on the windows host and whala!!

Is there a documentation though in NSClient++ or nagios so that I can tell what module on the Windows host is the OPTION belongs to. (I couldn't find it on google by the way)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Checking Windows Host using check_nrpe

Post by scottwilkerson »

Glad you were successful!

There is docs on their site, but they can be confusing
https://docs.nsclient.org/tutorial/#configuration
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked