<div>ok this is how far i got with the documentation but same error keeps coming up when i try to put in external command ex: comment in host:</div>
<div> </div>
<div>
<div class="errorMessage">Error: Could not open command file '/var/log/nagios/rw/nagios.cmd' for update!</div>
<div class="errorMessage"> </div>
<div class="errorMessage">ok and here is what i have for my permission set since thats indicating to be the problem </div>
<div class="errorMessage"> </div>
<div class="errorMessage"><strong>> ls -al</strong><br>total 612<br>drwxr-xr-x  4 nagios nagios     4096 Jan 22 12:20 .<br>drwxr-xr-x  6 root   root       4096 Jan 21 04:02 ..<br>drwxr-xr-x  2 nagios nagios     4096 Jan 22 00:00 archives
<br>-rw-rw-r--  1 nagios nagios      238 Jan 21 09:18 comments.dat<br>-rw-------  1 nagios nagios    16161 Jan  2 09:45 dead.letter<br>-rw-rw-r--  1 nagios nagios      239 Nov  1 19:59 downtime.dat<br>-rw-rw-r--  1 nagios nagios    24965 Jan 22 12:12 
nagios.log<br>-rw-------  1 nagios nagios    18260 Jan  2 13:34 nagios.tmpXc4VgH<br>-rw-r--r--  1 nagios nagios   146210 Jan 22 11:53 objects.cache<br>-rw-------  1 nagios nagios   180872 Jan 22 11:53 retention.dat<br>drwxrwsr-x  2 nagios nagiocmd   4096 Jan 22 11:53 rw
<br>-rw-rw-r--  1 nagios nagios   173636 Jan 22 12:20 status.dat<br><b>> cd rw</b><br><b>> ls</b><br>nagios.cmd<br><b>> ls -al</b><br>total 16<br>drwxrwsr-x  2 nagios nagiocmd 4096 Jan 22 11:53 .<br>drwxr-xr-x  4 nagios nagios   4096 Jan 22 12:21 ..
<br>prw-rw----  1 nagios nagiocmd    0 Jan 22 11:53 nagios.cmd<br> </div>
<div class="errorMessage"> </div>
<div class="errorMessage">everything is how it suppose to be as shown in the manual </div>
<div class="errorMessage"> </div>
<div class="errorMessage">need help nagios.cmd file is there just can not edit anything and i have external_command enables and interval check set to -1</div>
<div class="errorMessage"> </div>
<div class="errorMessage"> </div>
<div class="errorMessage">thanks<br> </div></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 1/22/07, <b class="gmail_sendername">Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">
nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Nedim Bicic<br>
> Sent: Sunday, January 21, 2007 5:33 PM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: [Nagios-users] nagios.cmd external<br>><br>> Hi all, i have nagios 
2.4<br>><br>> I need want to change and input settings via the web interface like<br>> scheduale downtime etc, which i read that the external command does<br>this i<br>> enabled it in nagiod.cfg =1<br>> but i aslo found out that you need to create a 
nagios.cmd file and<br>give it<br>> directory permission , located in one of the folders that keeps this<br>log<br>><br>> my question is how do i create this file and make it point to external<br>> command so when i do isue an extenal command on web interface
<br><br>Please read the documentation for the section titled 'External<br>Commands'. It answers all your questions.<br><br>--<br>Marc<br><br><br>-------------------------------------------------------------------------
<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your<br>opinions on IT & business topics through brief surveys - and earn cash
<br><a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>_______________________________________________
<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><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></div><br>