DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th June 2008
awd awd is offline
New User
 
Join Date: Jun 2008
Posts: 3
Exclamation Nagios 2.12 locks

Hi there,

We have installed nagios on 2 servers to monitor our network, however since the last portupgrade, nagios on both machines just sits there, and doesn't probe any machines or services.


The logs don't say anything other than
[1213758202] Nagios 2.12 starting... (PID=77539)
[1213758202] LOG VERSION: 2.0
[1213758202] Finished daemonizing... (New PID=77540)
[1213758218] Caught SIGTERM, shutting down...

The sigterm doesn't actually kill it, it still just sits there. I can't kill the process even with a -9.

Anyone seen this or have any ideas?

# uname -a
FreeBSD my.webzone.net.au 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Mon Oct 30 22:18:18 CST 2006 root@my.webzone.net.au:/usr/src/sys/i386/compile/KERN i386

# pkg_info nagios*
Information for nagios-2.12_1:

I am aware of the EOL on 5.x however both servers nagios' stopped before the EOL came into play.

TIA
Cheers
cya
Andrew

Last edited by awd; 18th June 2008 at 04:35 AM. Reason: forgot to add logging
Reply With Quote
  #2   (View Single Post)  
Old 18th June 2008
KernelPanic KernelPanic is offline
Port Guard
 
Join Date: May 2008
Posts: 19
Default

I currently have Nagios 2.12 running on FreeBSD 6.3 i386 and FreeBSD 7.0 amd64 without any problems.

When FreeBSD 7.0 first came out I tried running Nagios on an i386 system. While the main process did not go crazy I started having child processes hang just like that (i.e. unkillable zombie) Rather than mess with it I rolled the box back to FreeBSD 6.3.

Nagios' use of fork and FreeBSD have not had a very cordial relationship.

You may want to try and hit the nagios-users mailing list and/or email the maintainer to see if he might have suggestions.
Reply With Quote
  #3   (View Single Post)  
Old 18th June 2008
awd awd is offline
New User
 
Join Date: Jun 2008
Posts: 3
Default

Quote:
Originally Posted by KernelPanic View Post
I currently have Nagios 2.12 running on FreeBSD 6.3 i386 and FreeBSD 7.0 amd64 without any problems.
I've got one to work, a warning about a contact not associated a group or service. Sorted that out and away it went. Beforehand it didn't worry about it
I have nagios 2.12 on a number of other sites without issue.

Quote:
Originally Posted by KernelPanic
You may want to try and hit the nagios-users mailing list and/or email the maintainer to see if he might have suggestions.
ok thanks
Reply With Quote
  #4   (View Single Post)  
Old 18th June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 661
Default

Assuming you're more or less familiar with nagios, you probably realize that warning isn't that important, it can just refer to a contact that you've put in and aren't using yet. Warnings are fine, errors are bad.

KP, good to see you. You're fortunate that I didn't know you knew nagios several months ago.

Although it's for a different O/S I found Max Hetrick's CentOS wiki howto very good for coming to grips with nagios. (In my case, I'm running it on CentOS anyway, but Max breaks down what each file does in a way that I found very easy to follow.)
Too lazy to give the link right now, but it's somewhere on wiki.centos.org.
Reply With Quote
  #5   (View Single Post)  
Old 19th June 2008
awd awd is offline
New User
 
Join Date: Jun 2008
Posts: 3
Default

Quote:
Originally Posted by scottro View Post
Assuming you're more or less familiar with nagios, you probably realize that warning isn't that important, it can just refer to a contact that you've put in and aren't using yet. Warnings are fine, errors are bad.
I've been using it for about 3 years and I can pretty much monitor anything , provided perl is installed. I realise that warnings are 'fine', however when nagios starts working after associating a contact with a group when it wasn't b4 (which is just a warning), indicates something is a miss.

I'd be interested to see if someone could put a contact into their nagios and not associating it with a machine or group, to see what happens.

Cheers
cya
Andrew
Reply With Quote
  #6   (View Single Post)  
Old 19th June 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 661
Default

Probably just a warning, I assume. I only have a production machine with it right now, so can't really experiment.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide: Solaris 10 - Nagios -rrdtool -pnp4Nagios roundkat Guides 6 30th December 2008 07:07 PM
Compiling Nagios 3.02 roundkat Solaris 1 2nd June 2008 09:09 PM
Nagios issue scottro General software and network 5 31st May 2008 10:18 AM
Spin locks and interrupts disabling n4uti1us FreeBSD General 5 20th May 2008 01:51 PM


All times are GMT. The time now is 12:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick