Added a new Windows 2012 R2 host via template and getting Cr

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Added a new Windows 2012 R2 host via template and getting Cr

Post by jfoshier »

I have added ports 5666 and 12489 in the host firewall and still getting critical service errors for CPU, Drives, Memory and Uptime. Nmap shows
Port 5666/tcp open nrpe
Port 12489/tcp filtered unknown

We are running the latest Nagios XI 5.4.8

I ran the latest nscp-0.4.4.23x64 with the defaults. Any thought what I may be missing. When I looked at the .ini file there was no entry for ports, strange.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Added a new Windows 2012 R2 host via template and gettin

Post by dwhitfield »

jfoshier wrote: When I looked at the .ini file there was no entry for ports, strange.
There's your problem.

You'll want to go through the entire document, but pay particular attention to page 3: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Added a new Windows 2012 R2 host via template and gettin

Post by jfoshier »

I reviewed the document and have added in an entry for port = 12489 to our nsclient.ini file but this did not resolve my issue, still getting the socket timeout errors. On the Windows server I am trying to monitor I ran netstat -an |findstr '12489' and there is no entries found.

nmap on nagiosXI for port 12489 shows port=12489 Stae=filtered Service=unknown
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Added a new Windows 2012 R2 host via template and gettin

Post by scottwilkerson »

can you share your nsclient.ini obfuscating any sensitive data?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jfoshier
Posts: 23
Joined: Thu Apr 24, 2014 6:15 am

Re: Added a new Windows 2012 R2 host via template and gettin

Post by jfoshier »

Here is our nsclient

# If you want to fill this file with all avalible options run the following command:
# nscp settings --generate --add-defaults --load-all
# If you want to activate a module and bring in all its options use:
# nscp settings --activate-module <MODULE NAME> --add-defaults
# For details run: nscp settings --help


; Undocumented section
[/settings/default]

; Undocumented key
password = dR7Nve1d8xPMvLN7

; PORT NUMBER
port = 12489

; Undocumented key
allowed hosts = 127.0.0.1,::1,10.1.0.147


; Undocumented section
[/settings/NRPE/server]

; Undocumented key
ssl options = no-sslv2,no-sslv3

; Undocumented key
verify mode = peer-cert

; Undocumented key
insecure = false


; Undocumented section
[/modules]

; Undocumented key
CheckExternalScripts = 1

; Undocumented key
CheckHelpers = 1

; Undocumented key
CheckEventLog = 1

; Undocumented key
CheckNSCP = 1

; Undocumented key
CheckDisk = 1

; Undocumented key
CheckSystem = 1

; Undocumented key
NRPEServer = 1
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Added a new Windows 2012 R2 host via template and gettin

Post by scottwilkerson »

This is only a fraction of the settings. Lets make a backup of your config and follow the directions on page 2-5 on this doc
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

then restart NSClient Service
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked