Page 1 of 1

Port Requirements for Remote monitoring of Linux and Windows

Posted: Thu May 03, 2012 9:42 am
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

Re: Port Requirements for Remote monitoring of Linux and Win

Posted: Thu May 03, 2012 9:50 am
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....

Re: Port Requirements for Remote monitoring of Linux and Win

Posted: Thu May 03, 2012 12:08 pm
by itutd
Scott,
Do you know of these rules need to be bidiretional(outbound and inbound) or outbound only?

Thank You

Charley

Re: Port Requirements for Remote monitoring of Linux and Win

Posted: Thu May 03, 2012 2:02 pm
by lmiltchev
The Nagios server needs to receive the data from the client, so these rules need to be bidirectional.

Re: Port Requirements for Remote monitoring of Linux and Win

Posted: Fri May 04, 2012 7:39 am
by itutd
One more questions, are the ports tcp, udp or both?

Thank You

Re: Port Requirements for Remote monitoring of Linux and Win

Posted: Fri May 04, 2012 8:46 am
by scottwilkerson
These are all TCP