[Nagios-devel] Bug - Command file creation

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Bug - Command file creation

Post by Guest »

Good day,

Sorry to bother the list again, but, I came across another bug.

The command file gets created with the wrong permissions when Nagios starts
up (the directory that the command file is in has the right permissions,
though). I can go in and change it manually, but it just gets overwritten
with the wrong permissions when Nagios restarts.

prw-rw---- 1 nagios nagios 0 May 23 11:09 nagios.cmd

The file should at least be writable by the web user (which is apache on my
Red Hat 7.3 box). The configure script does correctly guess the right
command user; Nagios just doesn't seem to use it. From configure:

General Options:
-------------------------
Nagios user: nagios
Nagios group: nagios
Command user: apache
Command group: apache
Embedded Perl: yes, without caching
Install ${prefix}: /usr
Lock file: /var/run/nagios.pid
Init directory: /etc/rc.d/init.d


Thanks in advance,

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Darren.Gamble@sjrb.ca
Locked