up check failure with firewall

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
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

up check failure with firewall

Post by jriker1 »

if my windows box has a firewall and the UP check is failing, short of killing the firewall what are my options?

thanks
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: up check failure with firewall

Post by Box293 »

You can allow ICMP packets (with the Window built in firewall that's the File/Printer sharing rule).
If you have NSClient++ installed then you would have ports 5666 or 12489 open. You can use the client version check as an UP/Down check instead of a ping check:

Code: Select all

check_nt -H win2008r2-01 -p 12489 -v CLIENTVERSION

NSClient++ 0.5.0.17 2015-11-29
or

Code: Select all

check_nrpe -H win2008r2-01

I (0.5.0.17 2015-11-29) seem to be doing fine...
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

Re: up check failure with firewall

Post by jriker1 »

Thanks for the info. I went with just opening up the ability to ping the box from the firewall. Internal machine so no biggy.

Thanks.

JR
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: up check failure with firewall

Post by rkennedy »

Sounds good. Am I good to mark this thread as solved, and close it out?
Former Nagios Employee
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

Re: up check failure with firewall

Post by jriker1 »

Close away.
Locked