We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

[Nagios-devel] Bug - Command file creation

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

[Nagios-devel] Bug - Command file creation

Postby Guest » Thu May 23, 2002 12:57 pm

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

Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 17 guests