Fwd: nagios.cmd external

Nedim Bicic nedo72 at gmail.com
Mon Jan 22 02:02:23 CET 2007


ok here is what i have so far when i try putting in a comment error says:

Error: Could not open command file '/var/log/nagios/rw/nagios.cmd' for
update!

 The permissions on the external command file and/or directory may be
incorrect. Read the FAQs on how to setup proper permissions.

and i set external command to 1 and check interval to 1

and then i checked for the permission with this command

*> cd /var/log/nagios/rw*
*> ls -l*
total 0
prw-rw----  1 nagios nagiocmd 0 Jan 21 19:52 nagios.cmd


i restarted appache few times and stil with the same error
could it be that i created a user nobody and i am accessing nagios web
interface with a diffrent user??

thanks



---------- Forwarded message ----------
From: Nedim Bicic <nedo72 at gmail.com>
Date: Jan 21, 2007 6:32 PM
Subject: nagios.cmd external
To: nagios-users at lists.sourceforge.net


Hi all, i have nagios 2.4

I need want to change and input settings via the web interface like
scheduale downtime etc, which i read that the external command does this i
enabled it in nagiod.cfg =1
but i aslo found out that you need to create a nagios.cmd file and give it
directory permission , located in one of the folders that keeps this log

my question is how do i create this file and make it point to external
command so when i do isue an extenal command on web interface

does anyone know how this is set ...manual doesnt tell me much from what i
already did


thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070121/1e1fdf7d/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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