<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks for the reply, as far as what you suggested, I checked the log and </DIV>
<DIV>there are no errors in there that are outside the scope of the normal notifications</DIV>
<DIV>that Nagios gives. Does using the external commands require that it be configured</DIV>
<DIV>in more places than just the nagios.cfg? I'm guessing that maybe I'm missing </DIV>
<DIV>some other variable that the external command checking depends on or something. </DIV>
<DIV>Thanks again for the reply and help. <BR><BR><B><I>Marc Powell <marc@ena.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR><BR>> -----Original Message-----<BR>> From: nagios-users-admin@lists.sourceforge.net [mailto:nagios-users-<BR>> admin@lists.sourceforge.net] On Behalf Of Sxan<BR>> Sent: Friday, July 08, 2005 9:36 AM<BR>> To: nagios-users@lists.sourceforge.net<BR>> Subject: [Nagios-users] check_external_commands option<BR>> <BR>> <BR>> Hey all,<BR>> <BR>> I have a question regarding the check_external_commands option in the<BR>> nagios.cfg<BR>> file. Basically, I tried to schedule some downtime, saw that I needed<BR>to<BR>> have that<BR>> option enabled, so I went into the nagios.cfg file and changed the 0<BR>to a<BR>> 1 for that line<BR>> like it is below:<BR>> <BR>> check_external_commands=1<BR>> <BR>> I saved the .cfg and now when I try and restart nagios, it won't<BR>start. I<BR>> just get:<BR>> <BR>>
honda:/usr/local/nagios/etc # sh /etc/init.d/nagios restart<BR>> Running configuration check...done<BR>> Stopping network monitor: nagios<BR>> Starting network monitor: nagios<BR>> PID TTY TIME CMD<BR>> honda:/usr/local/nagios/etc #<BR>> <BR>> If I run the following<BR>> ..../nagios/etc/../bin/nagios -v nagios.cfg Everything checks out ok<BR>with<BR>> just a couple warnings<BR>> that have been there before. Am I missing something else I should be<BR>> doing? Like perhaps<BR>> specifying somewhere in the configs who has the right to run external<BR>> commands? Thanks.<BR><BR>Did you check nagios.log? Chances are that nagios isn't able to actually<BR>create the command pipe (nagios.cmd) in the path specified by<BR>command_file in nagios.cfg.<BR><BR>--<BR>Marc<BR><BR><BR>-------------------------------------------------------<BR>This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening<BR>July 14 at 8am PDT/11am EDT. We invite
you to explore the latest in dual<BR>core and dual graphics technology at this free one hour event hosted by HP,<BR>AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar<BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/nagios-users<BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>::: Messages without supporting info will risk being sent to /dev/null<BR></BLOCKQUOTE><p>
<hr size=1>Yahoo! Mail for Mobile<br>
<a href="http://us.rd.yahoo.com/evt=31132/*http://mobile.yahoo.com/learn/mail">Take Yahoo! Mail with you!</a> Check email on your mobile phone.