Nagios fails to start after adding 'check_logs.pl' service
Jon Angliss
jon at netdork.net
Fri Aug 15 03:24:43 CEST 2008
On Thu, 14 Aug 2008 09:10:19 -0600, "Bret Goodfellow"
<Bret.Goodfellow at questar.com> 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.
[..]
> command_line $USER1$/check_logs.pl -c $ARG1$
>check_local_logs!/etc/nagios/check_logs_linux.cfg!
As well as Mark Powell's suggestions, try running the command as
nagios to see what happens to it.
./check_logs.pl -c /etc/nagios/check_logs_linux.cfg
--
Jon Angliss
-------------------------------------------------------------------------
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