Configuring Nagios on Solaris 10 (Sparc)

Grant Lowe glowe at sbcglobal.net
Thu Feb 12 16:10:07 CET 2009


Hey Dermot,

Check the SMF log file /var/svc/log/network-nagios-nrpe\:default.log. 
If things still arent working, execute /lib/svc/method/nagios-nrpe
manually with some bourne debugging. This will show you what the
nagios-nrpe script is trying to do. 
# sh -x /lib/svc/method/nagios-nrpe





________________________________
From: "dermot.malone at bt.com" <dermot.malone at bt.com>
To: nagios-users at lists.sourceforge.net
Sent: Thursday, February 12, 2009 2:32:25 AM
Subject: [Nagios-users] Configuring Nagios on Solaris 10 (Sparc)

 
Hi ,
            I’m
having firecr bother getting Nagios working as a client on a T2000 . 
 
Below are the details…
 
uname -a
SunOS 5.10 Generic_120011-14 sun4v sparc SUNW,Sun-Fire-T2000
 
echo $PATH
/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin
 
 
I got the nagios plugin that I want compiled i.e 
 
check_users
check_load
check_disk
check_procs
 
nrpe compiled fine as well…
 
but it returns nothing when you run the following command…
 
/usr/local/nagios/bin/nrpe -c /etc/nrpe.cfg –d
 
dhs0931i-iedrs: svcs -a | grep nrpe
online        
Feb_10   svc:/network/nrpe/tcp:default
 
I added
the following entry to /etc/services:
nrpe
5666/tcp # NRPE
 
I added
the following line to the end of /etc/inet/inetd.conf:
nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd  /usr/local/nagios/bin/nrpe
-c /etc/nrpe.cfg –d
 
The following error appears in my log file 
 
Feb 10 15:46:56nrpe[18]: [ID
434846 daemon.error] Network server bind failure (125: Address already in use)
 
 
 
Any help or assistance would be greatly appreciated…
 
Thanks in advance,
Dermot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090212/37c77db0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list