Open 5666 port in Solaris for NXI monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Open 5666 port in Solaris for NXI monitoring

Post by axvers »

Hi support,

We found that the solaris wizard need the solaris client open port 5666 for monitoring.

But no any solutions to open a port except this:

(on solaris client 192.168.255.68)
# vi /etc/services
*add lines like:*
nxi_monitoring 5666/tcp
nxi_monitoring 5666/udp

# svcadm restart inetd

And this doesn't work.

(on centos monitoring server)
# /usr/local/nagios/libexec/check_nrpe -H 192.168.255.68 -t 30 -c check_disk -a '-w 20% -c 10% -p /'

connect to address 192.168.255.68 port 5666: Connection refused
connect to host 192.168.255.68 port 5666: Connection refused

Please help us open a port on solaris.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Open 5666 port in Solaris for NXI monitoring

Post by cdienger »

Verify that port 5666 is up and listening on the Solaris machine with:

netstat -na | grep 5666

Also verify that the monitoring server's IP address is listed as an allowed host in nrpe.cfg(usually /usr/local/nagios/etc/nagios.cfg):

allowed_hosts=127.0.0.1,::1,monitoring_server_ip

Is the firewall running if run:

svcs -a |grep ipf

?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Re: Open 5666 port in Solaris for NXI monitoring

Post by axvers »

Hi Support,

1. [solaris client]
There's no ouptut for this:

Code: Select all

# netstat -na | grep 5666

2. [Centos monitoring server]
I added the ip in nrpe.cfg file, like this:

Code: Select all

allowed_hosts=127.0.0.1,::1,192.168.0.132
And restarted the nagios service.

3. [solaris client]

Code: Select all

# svcs -a |grep ipf
disabled       Oct_08   svc:/network/ipfilter:default
---
What should we do next?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Open 5666 port in Solaris for NXI monitoring

Post by cdienger »

The nagios service should open up port 5666. Are you seeing anything in the /var/svc/log/application-nagios-nrpe:default.log or /var/svc/log/network-nagios-nrpe:default.log files? What is the status when you run "svcs | grep nrpe" ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Re: Open 5666 port in Solaris for NXI monitoring

Post by axvers »

There's no output for any nrpe service on the solaris client.

So, do I need to add some plugin or package for solaris client?

I thought I can monitor solaris client through the solaris wizard on the monitoring server, and only thing needs to be done is open 5666 port.

What should I do next?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Open 5666 port in Solaris for NXI monitoring

Post by cdienger »

The NRPE agent would need to be installed on the Solaris server. The wizard should have links for it or you can find steps at https://support.nagios.com/kb/article/n ... ml#Solaris.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Re: Open 5666 port in Solaris for NXI monitoring

Post by axvers »

Ok, we got it.

please lock this posts.

Thanks for helping!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Open 5666 port in Solaris for NXI monitoring

Post by cdienger »

Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked