Port Requirements for Remote monitoring of Linux and Windows

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
itutd
Posts: 18
Joined: Fri Apr 27, 2012 8:07 am

Port Requirements for Remote monitoring of Linux and Windows

Post by itutd »

We have just purchased NagiosXI and will be implementing Nagios to monitor Linux and windows server clients in remote data centers, is there a list of ports utilized by Nagios for that can be referenced for setting up our fiewalls to allow this monitoring traffic. This would be for the basic linux and windows agents monitoring the servers

Thank You
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Port Requirements for Remote monitoring of Linux and Win

Post by scottwilkerson »

It really depends on how you will be monitoring them, as Windows machines can be monitored with
NSClient++ standard - 12489
NRPE - 5666
SNMP 161

Linux machine are often monitored with:
NRPE - 5666
SSH - 22

Also, Nagios can receive passive checks from either type of machine on
NSCA - 5667
NRPE - 80 or 443


Taking that all in, ALL of these can be changed from the defaults if need be....
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
itutd
Posts: 18
Joined: Fri Apr 27, 2012 8:07 am

Re: Port Requirements for Remote monitoring of Linux and Win

Post by itutd »

Scott,
Do you know of these rules need to be bidiretional(outbound and inbound) or outbound only?

Thank You

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

Re: Port Requirements for Remote monitoring of Linux and Win

Post by lmiltchev »

The Nagios server needs to receive the data from the client, so these rules need to be bidirectional.
Be sure to check out our Knowledgebase for helpful articles and solutions!
itutd
Posts: 18
Joined: Fri Apr 27, 2012 8:07 am

Re: Port Requirements for Remote monitoring of Linux and Win

Post by itutd »

One more questions, are the ports tcp, udp or both?

Thank You
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Port Requirements for Remote monitoring of Linux and Win

Post by scottwilkerson »

These are all TCP
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked