SUMMARY setup nagios Solaris 10

From: Beverley Reynolds <breynolds_at_Cymtec.com>
Date: Fri Sep 19 2008 - 12:25:20 EDT
Thanks to all that replied.



I did an ldd on the nrpe executable, copied the missing libs from
production, deleted the service and started nagios as a daemon.



So it is working fine now.



Again, many thanks

Bev





I am trying to get nagios to run on SUN Solaris 10 on a T2000 - we have
the nagios server running on a linux box so just need to get everything
setup so the sun can be monitored.



I found some pieces of nagios on another machine and placed those in the
same location on the T2000

Then I tried to do.........



/usr/local/nagios/bin/nrpe -c /usr/local/etc/nrpe.cfg -daemon



Which produced..................

ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or
directory

Killed







Openssl is installed in







# find / -name 'SUNWopenssl*' -print



/var/sadm/pkg/SUNWopenssl-libraries

/var/sadm/pkg/SUNWopenssl-libraries/save/pspool/SUNWopenssl-libraries

/var/sadm/pkg/SUNWopenssl-commands

/var/sadm/pkg/SUNWopenssl-commands/save/pspool/SUNWopenssl-commands

/var/sadm/pkg/SUNWopenssl-include

/var/sadm/pkg/SUNWopenssl-include/save/pspool/SUNWopenssl-include

/var/sadm/pkg/SUNWopenssl-man

/var/sadm/pkg/SUNWopenssl-man/save/pspool/SUNWopenssl-man

/var/sadm/pkg/SUNWopensslr

/var/sadm/pkg/SUNWopensslr/save/pspool/SUNWopensslr







I tried setting..............

LD_LIBRARY_PATH=/usr/sfw/lib ;export LD_LIBRARY_PATH







I guess just copying these files doesn't work.



Can someone give me a SIMPLE explanation about how to get nagios setup
on this machine so it can be monitored by our nagios server?



This is what I have done so far.............





tar -xvf nrpe.tar

groupadd nagios

useradd -g nagios nagios

cp nagios-nrpe /lib/svc/method/

cp nagios-nrpe.xml /var/svc/manifest/network/

chown -R nagios:nagios /usr/local/nagios/

chown -R nagios:nagios /usr/local/etc/nrpe.cfg

svccfg import /var/svc/manifest/network/nagios-nrpe.xml







svcs -xv



svc:/network/nagios/nrpe:default (Nagios Remote Plug-In Executor (NRPE))

 State: maintenance since Thu Sep 18 10:36:13 2008

Reason: Start method exited with $SMF_EXIT_ERR_FATAL.

   See: http://sun.com/msg/SMF-8000-KS

   See: /var/svc/log/network-nagios-nrpe:default.log

Impact: This service is not running.







Thanks




#############################################################################
##
This message from Cymtec Systems, Inc. contains confidential information and
is solely for the use of the recipient(s) named above.  If you are not the
intended recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this message in
error and that any review, disclosure, copying, distribution or use of the
contents of this message is strictly prohibited.  If you have received this
message in error, please destroy it immediately and notify Cymtec Systems,
Inc. by telephone at +1.314.993.8700 or by return e-mail.
#############################################################################
##
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Sep 19 12:32:15 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:12 EST