how to allow Nagios to monitor a windows host behind firewal

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
caterpillartce
Posts: 117
Joined: Mon Jul 11, 2016 11:22 am

how to allow Nagios to monitor a windows host behind firewal

Post by caterpillartce »

Hello,

I am setting up Nagios to monitor a windows host, which is behind firewall. Looks like only Ping works, all the other monitoring failed with socket timeout error. I think I need to notify the firewall team to allow Nagios traffic to go through. But not sure what I need to tell them - are their certain ports Nagios use that need to "open"?

Thanks!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: how to allow Nagios to monitor a windows host behind fir

Post by lmiltchev »

What agent did you install on the Windows machine - NSClient++, NCPA, etc.? If you are using NSClient++, you would need to open TCP port 12489 and port 5666 (if you are using nrpe). With NCPA, you will need to open port 5693. Here's a document, describing the most common ports/protocols used by nagios:

https://assets.nagios.com/downloads/nag ... tocols.pdf

If you don't want to open these ports, you could use passive checks instead. These are the checks initiated by the remote machine (not nagios). Here's our documentation on passive checks:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let us know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked