nagios external command error
Guillermo Padilla
gpadilla at cbct.com
Tue Jul 12 17:01:21 CEST 2005
At this point I've disabled selinux and I'm still getting the same
error. I've re-ran the external command instructions for v 1.0 and for
some reason I still receive an external command error. The way I've
been manually fixing this problem is by chmodin nagios.cmd to 777. But
there has to bee something causing nagiocmd group not to act the way it
should.
Here is a snippet of the nagios var dir
drwxrwxrwx 2 nagios nagios 4096 Jul 11 00:00 archives
-rwxrwxrwx 1 nagios nagios 32762 Jul 12 10:12 status.sav
-rw-r--r-- 1 nagios nagios 6 Jul 12 10:39 nagios.lock
drwxrwsr-x 2 nagios nagiocmd 4096 Jul 12 10:39 rw
-rw-rw-r-- 1 nagios nagios 0 Jul 12 10:39 downtime.log
-rw-rw-r-- 1 nagios nagios 314 Jul 12 10:45 comment.log
-rw-rw-r-- 1 nagios nagios 91003 Jul 12 10:58 nagios.log
-rw-rw-r-- 1 nagios nagios 44441 Jul 12 10:58 status.log
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu
Ghosh
Sent: Monday, July 11, 2005 11:47 PM
To: C. Bensend
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] nagios external command error
On Mon, 11 Jul 2005, C. Bensend wrote:
>
>> Nagios and apache need to be in the same group,
>> if SELINUX is running, allow http_context on var/rw/
>
> I wonder if the Makefile could be adapted to check for selinux, and
> if it's present/enabled, spit out a blurb stating the above?
>
> It seems to be a pretty common question. I'd submit a patch, but
> unfortunately makefiles are not exactly my strong suit. OK, I'm
> exaggerating - I couldn't makefile my way out of a wet paper
> bag. ;)
>
> Benny
>
Agreed - the whole SELINUX situation seems to be folks running settings
without understanding implications.
Should probably also add a FAQ item.
--
-sg
-------------------------------------------------------
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
-------------------------------------------------------
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
More information about the Users
mailing list