FreeBSD Nagios 2.12

Marc Powell marc at ena.com
Sun Jun 22 18:31:22 CEST 2008


On Jun 20, 2008, at 12:16 PM, Andrew D wrote:

>

> get_raw_command_line() start
>         Input: check_dns
> clear_argv_macros() start
> clear_argv_macros() end
> find_command() start
>         Output: $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$
> get_raw_command_line() end
> process_macros() start
> process_macros() end
>
>
>
> And thats where it stops and locks.

Thanks. After this, nagios makes a call to the event broker,  
determines if the plugin is a perl plugin (to use ePN if enabled),  
then forks the check_command.

Did you compile with the event broker? Is it enabled? Maybe try a  
compilation without the event broker/embedded perl interpreter.

There is (was?) a known issue with FreeBSD related to pthreads that  
may be in play (Known Issues - http://nagios.sourceforge.net/docs/2_0/whatsnew.html 
, Google for 'nagios freebsd pthreads'). It does specifically relate  
to the forking of check processes and a hang. I do not recall what the  
current status of that issue is but remember chatter about it either  
here or on nagios-devel. Perhaps on of the other FreeBSD users can  
chime in on that. My feeling is that it was fixed or there's a  
workaround but I don't remember specifics.

--
Marc

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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