UNIX monitoring Windows using Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
salukuri
Posts: 4
Joined: Fri Sep 01, 2017 1:25 pm

UNIX monitoring Windows using Nagios Core

Post by salukuri »

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
Attachments
screen shot from nagios
screen shot from nagios
dwasswa

Re: UNIX monitoring Windows using Nagios Core

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: UNIX monitoring Windows using Nagios Core

Post by tmcdonald »

Thanks for the assist, @Derick Wasswa! OP, let us know if you need further assistance.
Former Nagios employee
Locked