Nagios Deamon failing on FreeBSD

Mark Campbell mark at redbrick.dcu.ie
Wed Jul 6 02:27:00 CEST 2005


Hi all,

I'm having some problems with the lastest nagios on FreeBSD 5.2.1 (more
information below), I am not experiencing the same trouble on my Linux
machines.  When I start the nagios daemon it seems to zombify itself instantly
and none of the scheduled nagios checks (remain in a PENDING state).  

Here are the options I used at compile time:

./configure  --prefix=/disk/saint --with-cgiurl=/cgi-bin --with-htmurl=
--with-nagios-user=nagios --with-nagios-grp=nagios --with-default-perfdata
--enable-embedded-perl --with-perlcache --with-gd-lib=/usr/local/lib
--with-gd-inc=/usr/local/include

# uname -a
FreeBSD fap.redbrick.dcu.ie 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Tue Jun 15
18:50:26 IST 2004     dizer at fap.cobweb:/disk/usr/obj/disk/usr/src/sys/FAP
i386

# ps auxwww | grep nagios
nagios 74570  0.0  0.5  3516 2644  ??  Ss   Mon09PM   0:07.40
/disk/saint/bin/nagios -d /disk/saint/etc/nagios.cfg
nagios     0  0.0  0.0     0    0  ??  ZW   -         0:00.00  (nagios)

The Nagios log doesn't seem to be having problems:

[1120507507] Nagios 2.0b3 starting... (PID=74569)
[1120507507] LOG VERSION: 2.0
[1120507507] Warning: Contact 'admin' is not a member of any contact groups!
[1120507507] Warning: Contact group 'elected-admins' is not used in any
host/service definitions or host/service escalations!
[1120507507] Finished daemonizing... (New PID=74570)

The only other thing that could be different is on this machine / is
read-only, however I don't see how this could have an impact on the problem:

# mount
/dev/ad0s1a on / (ufs, local, read-only)
devfs on /dev (devfs, local)
/dev/ad0s1d on /disk (ufs, local, soft-updates)
/dev/md0 on /var (ufs, local, soft-updates)

Anyone have any ideas what could be up?  If you require any further
information from me, please let me know

Thanks in advance for any assistance on this issue

Mark

-- 
Mark Campbell <mark_campbell at redbrick.dcu.ie> 
http://mark.redbrick.dcu.ie           
-                                                            
"Trying is the first step towards Failure"- Homer J. Simpson   


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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