Hi,
New to Nagios...
Got everything pretty much running, except when I try to modify things using
the web interface, I get this error:
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for
update!
The permissions on the external command file and/or directory may be
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
Set the sticky bit on the directory.
Rutger
On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner iberk...@gmail.com wrote:
Hi,
New to Nagios...
Got everything pretty much running, except when I try to modify things
using the web interface, I get this error:
Error: Could not open command file
Did not work, probably b/c I'm restarting the service as root?
Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?
On Sun, Oct 3, 2010 at 5:03 AM, Rutger Blom rut...@blokje.net wrote:
Set the sticky bit on the directory.
Rutger
On Sun, Oct 3, 2010 at
On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
Did not work, probably b/c I'm restarting the service as root?
Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?
Your web server is trying to write to the pipe so it's whatever user your web
server is
Hello,
I am trying to use the agentless WMI plugins to monitor a bunch of
items about SQL, Exchange, whatever. Just for easy conversation, I am
simply trying to get transactionspersec counter via WMI:
C:\cscript.exe //nologo //T:10
c:\nrpe_nt\plugins\v2\check_counter_counter.vbs -h server
Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)
On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell li...@xodus.org wrote:
On Oct 3, 2010, at 8:48 AM, Ilan Berkner
I followed the instructions in commandfile.html documentation to the letter,
its still not working.
Its clearly a permissions issue between the user that the web server is
running as and the user that nagios is running is. I did create a nagcmd
group where both users are a part of and set up the
I've reconfigured nagios to run as the same user and group as that of the
web server. Still getting this command file issue.
Any other suggestions?
Many thanks...
On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner iberk...@gmail.com wrote:
Yep, there's no question that's what it is, but I've set
Lets start here...
What is your nginx server running as? You can specify it or it takes
the owner that starts it depending how you have it configured. So if
it's not specified, do a 'ps aux|grep nginx' and check it there.
What is your nagios server running as? I am going to guess
Who's the owner of the pipe?
On 3 okt 2010, at 19.25, Ilan Berkner iberk...@gmail.com wrote:
Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)
On Sun, Oct 3, 2010
Unfortunately, I did the same and am still getting the same error.
From: Ilan Berkner [mailto:iberk...@gmail.com]
Sent: Sunday, October 03, 2010 1:35 PM
To: Nagios Users List
Subject: Re: [Nagios-users] nagios.cmd permission issue
I've reconfigured nagios to run as the same user and group
I have a fairly complicated setup at work where I don't have the option of
changing groups around system-wide so what I do is edit the startup file
instead.
You could edit the start() function to have an explicit chgrp on the
command-pipe to whatever group you need for your setup (after the
Have you verified that the user you log in with into the Nagios CGI has
permission to execute commands?
Rutger
On 3 okt 2010, at 21.25, Robert Wolfe robert.wo...@robertwolfe.org wrote:
Unfortunately, I did the same and am still getting the same error.
*From:* Ilan Berkner
Hi All,
Turns out that the FCGI wrapper process was running under a different user
than both the web server and nagios and although CGI scripts were running,
that may have contributed to the problem.
I also noticed that there were other nagios processes running at the same
time that should have
15 matches
Mail list logo