Page 1 of 1

Re: UNIX monitoring Windows using Nagios Core

Posted: Fri Sep 01, 2017 2:38 pm
by dwasswa
Just to be clear? Do you wish to open this port on your windows server or Red Hat?

If Red Hat,see instructions below...

To check the current firewall rules, use this command:

Code: Select all

sudo iptables -L
Starting with CentOS and RHEL 7, firewall rule settings are managed by firewalld service daemon. A command-line client called firewall-cmd can talk to this daemon to update firewall rules permanently.

To open up a new port (e.g., TCP/80) permanently, use these commands:

Code: Select all

$ sudo firewall-cmd --zone=public --add-port=80/tcp --permanent

Code: Select all

$ sudo firewall-cmd --reload
Check the updated rules with:

Code: Select all

$ firewall-cmd --list-all 
Have you also looked at this doc? see below....
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: UNIX monitoring Windows using Nagios Core

Posted: Fri Sep 01, 2017 4:05 pm
by tmcdonald
Thanks for the assist, @Derick Wasswa! OP, let us know if you need further assistance.