check_external_commands option

Sxan sxanrr at yahoo.com
Mon Jul 11 14:02:01 CEST 2005


 
 
Thanks for the reply, as far as what you suggested, I checked the log and 
there are no errors in there that are outside the scope of the normal notifications
that Nagios gives. Does using the external commands require that it be configured
in more places than just the nagios.cfg? I'm guessing that maybe I'm missing 
some other variable that the external command checking depends on or something. 
Thanks again for the reply and help. 

Marc Powell <marc at ena.com> wrote:


> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Sxan
> Sent: Friday, July 08, 2005 9:36 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_external_commands option
> 
> 
> Hey all,
> 
> I have a question regarding the check_external_commands option in the
> nagios.cfg
> file. Basically, I tried to schedule some downtime, saw that I needed
to
> have that
> option enabled, so I went into the nagios.cfg file and changed the 0
to a
> 1 for that line
> like it is below:
> 
> check_external_commands=1
> 
> I saved the .cfg and now when I try and restart nagios, it won't
start. I
> just get:
> 
> honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart
> Running configuration check...done
> Stopping network monitor: nagios
> Starting network monitor: nagios
> PID TTY TIME CMD
> honda:/usr/local/nagios/etc #
> 
> If I run the following
> ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok
with
> just a couple warnings
> that have been there before. Am I missing something else I should be
> doing? Like perhaps
> specifying somewhere in the configs who has the right to run external
> commands? Thanks.

Did you check nagios.log? Chances are that nagios isn't able to actually
create the command pipe (nagios.cmd) in the path specified by
command_file in nagios.cfg.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
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

		
---------------------------------
Yahoo! Mail for Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050711/f407c1bd/attachment.html>


More information about the Users mailing list