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!
how to allow Nagios to monitor a windows host behind firewal
-
caterpillartce
- Posts: 117
- Joined: Mon Jul 11, 2016 11:22 am
Re: how to allow Nagios to monitor a windows host behind fir
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.
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!