Re: UNIX monitoring Windows using Nagios Core
Posted: Fri Sep 01, 2017 2:38 pm
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:
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:
Check the updated rules with:
Have you also looked at this doc? see below....
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
If Red Hat,see instructions below...
To check the current firewall rules, use this command:
Code: Select all
sudo iptables -LTo 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 --permanentCode: Select all
$ sudo firewall-cmd --reloadCode: Select all
$ firewall-cmd --list-all https://assets.nagios.com/downloads/nag ... ios-XI.pdf