Solaris 10 and Nagios monitoring

Hello,

I have a Nagios server install on a Linux server and I would like monitor 5 Solaris 10 clients (I don't have DMZ problem).

Can you tell me what is the best choice ?

- NRPE (I don't find package for Solaris 10)

- NSCA

- RSH/SSH

- Other ...

Thank's for your reply.

[325 byte] By [Nanard78] at [2007-11-26 11:39:26]
# 1

Hi,

We also use nagios here.

We have nagios installed on a Linux system and we use it to monitor our Solaris systems. We use the NRPE client on Solaris 8 and Solaris 10.

You can download the source for the NRPE package from www.nagios.org and then compile it on a Solaris10 system. Once you've done that once you can use that compiled version on the other systems.

Regards,

Nico

NicoB at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
You can use NRPE or NSCA both are simple to use. We are using NRPE on all Solaris clients, but we have nagios server also running on Solaris.Compiling NRPE is quite simple. Just look into README/INSTALL file. Shouldn't be much problem I believe.Good luck,ZIA
zhassan at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

I setup Nagios on a Solaris 10/SPARC system, both the server and the client software. I found that after much trial and error I needed to compile the plugins as 64bit binaries.

I also used the following when compiling with GCC 3.4.6 from SunFreeware.com, I had problems using the /usr/sfw/bin/gcc.

Use the CFLAGS options -m64 and -mtune=ultrasparc -mcpu=ultrasparc.

and LDFLAGS="-m64"

I found some decided to compile everything 64bit after having some problems with the check_procs plugin.

Also keep in mind to not run the plugins in a Solaris Zone. The reason being is that the check_procs plugin requires access to /dev/kmem which is not allowed in a non global Solaris zone. I know I tried. ;-)

NRPE can be compiled as 32bit though and it should run fine.

I

circuitjp at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
is there a work -around for the check_proc plugin compiled on Solaris 10?
linuxhorizon at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5
is there a work -around for the check_proc plugin compiled on Solaris 10 zone env?
linuxhorizon at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
Hi,What do you mean ?We basically compile the plugins on one Solaris10 box and then just tar up the binaries and copy them over to all our other boxes which run Solaris10. This works fine for us and the check_proc command works allright.Nico
NicoB at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
Has anyone had the same problem monitoring a Solaris 10 Zone?What about running Nagios from a non-global zone?I'll try do this and I want to know any problems I may have have.
SebastianVasquez at 2007-7-7 11:40:03 > top of Java-index,Solaris Operating System,Solaris 10 Features...