Nagios fails to start after adding 'check_logs.pl' service
Marc Powell
marc at ena.com
Thu Aug 14 19:04:29 CEST 2008
On Aug 14, 2008, at 10:10 AM, Bret Goodfellow wrote:
>
> I have started monitoring the nagios server (local checks), and all
> has worked fine until I added a service to check the local logs.
> When the 'check_local_logs' service is added, the startup of Nagios
> fails after about 10 seconds. I have also run 'strace' but am not
> sure how to interpret.
Maybe post the last 50 lines or so of the strace output...
> Aug 14 08:56:29 colorado nagios: Finished daemonizing... (New
> PID=6940) Aug 14 08:56:41 colorado nagios: Caught SIGSEGV, shutting
> down...
> define service{
> check_command check_local_logs!/etc/nagios/
> check_logs_linux.cfg!
> }
Try leaving off the last '!'. That indicates to nagios that there is
another $ARGx$ to follow but none is present. Perhaps you're tweaking
a bug that doesn't know how to handle that properly. If it persists,
try a more recent version of nagios (2.12 or 3.0.).
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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