Issues with Nagios Client on Solaris server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issues with Nagios Client on Solaris server

Post by abrist »

There are few different ways a Solaris box can have it's ports locked down. You can refer to the following link on dealing with the most common firewall on Solaris, ipfilter.
http://docs.oracle.com/cd/E19253-01/816 ... index.html
Your mileage may vary. You Unix admin may be right, as most Solaris installs default to "no firewall". Is the nrpe daemon started on the Solaris box? Is there a router/firewall between the two? You could always try nmapping the Solaris box locally to make sure it is not another firewall causing the problems.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

I added a line in /etc/services "nrpe 5666/tcp # Nagios Client".

Now when I do a "nmap [host ip address] -p 5666" command it tells me that the STATE of the port is "filtered". What does that mean?

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issues with Nagios Client on Solaris server

Post by abrist »

Th the means the port is closed or a firewall between the XI box and the remote host is filtering the port. What happens when you run nmap on the remote host?

On the remote solaris box:

Code: Select all

$ nmap localhost -p 5666
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tavo2k4
Posts: 19
Joined: Thu Jan 24, 2013 9:17 am

Re: Issues with Nagios Client on Solaris server

Post by tavo2k4 »

There is no Firewall in between these two machines, they are in the same network. the monitored host machine does not support "nmap" command. Can I install nmap on this solaris machine?

According to Solaris when /etc/ipf/ipf.conf is empty or no entries, it is the same as "all ports are open" on the machine, is this correct. The ipf.conf is empty on this machine.

Thanks,

Gus.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issues with Nagios Client on Solaris server

Post by abrist »

You can also use "telnet" to test the port on the solaris box as it looks like nmap must most likely be compiled from source.

Code: Select all

$ telnet localhost 5666
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked