I'm trying to monitor a windows server from Red Hat UNIX . . . how do I open the port 12489
NSClient has already been installed on the Windows server but, still cannot connect and communicate.
Any help would be appreciated
UNIX monitoring Windows using Nagios Core
Re: UNIX monitoring Windows using Nagios Core
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 -L
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
Code: Select all
$ firewall-cmd --list-all
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: UNIX monitoring Windows using Nagios Core
Thanks for the assist, @Derick Wasswa! OP, let us know if you need further assistance.
Former Nagios employee