<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff size=2>Jon,
</FONT></SPAN></DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff size=2>I am
99% sure, (from what I read in the ps -ef output, and
httpd.conf)</FONT></SPAN></DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2>Relevant part from httpd.conf</FONT></SPAN></DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2>------------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff size=2># If
you wish httpd to run as a different user or group, you must run<BR># httpd as
root initially and it will switch.<BR>#<BR># User/Group: The name (or #number)
of the user/group to run httpd as.<BR># . On SCO (ODT 3) use "User nouser"
and "Group nogroup".<BR># . On HPUX you may not be able to use shared
memory as nobody, and the<BR># suggested workaround is to
create a user www and use that user.<BR># NOTE that some kernels refuse to
setgid(Group) or semctl(IPC_SET)<BR># when the value of (unsigned)Group is
above 60000;<BR># don't use Group #-1 on these systems!<BR>#<BR>User
apache<BR>Group apache</FONT></SPAN></DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff size=2>I've
even tried changing Group to 'nagiocmd', no luck with that
either.</FONT></SPAN></DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff size=2>NOTE
This is APACHE 2 as supplied by REDHAT 8 CD's</FONT></SPAN></DIV>
<DIV><SPAN class=937555116-09122002><FONT face=Arial color=#0000ff
size=2><STRONG>Server version: Apache/2.0.40</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=937555116-09122002><STRONG><FONT face=Arial color=#0000ff
size=2></FONT></STRONG></SPAN> </DIV>
<DIV><SPAN class=937555116-09122002><SPAN class=765304716-09122002><FONT
face=Arial color=#0000ff size=2>Thanks for your suggestion
anyway,</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=937555116-09122002><SPAN class=765304716-09122002><FONT
face=Arial color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=937555116-09122002><SPAN class=765304716-09122002><FONT
face=Arial color=#0000ff size=2>I'm starting to wonder if this is an issue with
Nagios on Apache2, has anyone else got this working
successfully?</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=937555116-09122002></SPAN><SPAN class=765304716-09122002><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=765304716-09122002><FONT face=Arial color=#0000ff
size=2>Chris</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Jon Lyons
[mailto:jlyons30@yahoo.com]<BR><B>Sent:</B> 09 December 2002
15:28<BR><B>To:</B> Chris Losch; 'Terry Inzauro'<BR><B>Cc:</B>
'nagios-users@lists.sourceforge.net'<BR><B>Subject:</B> Re: [Nagios-users] RE:
Permissions Error (Could not stat() command file )<BR><BR></FONT></DIV>
<P>Are you sure apache is running as "apache" and not "www"?
<P> <B><I>Chris Losch <Chris.Losch@newham.gov.uk></I></B> wrote:
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>Change of Subject line, things were getting
confused....</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>----</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff size=2>It
was worth a try, still didnt work though *sigh*</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>Just in case I'm missing something.</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff size=2>ls
-la /usr/local/nagios/var/rw</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>-----------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>total 8<BR>drwxrwS--- 2 nagios
nagiocmd 4096 Dec 6 17:20
.<BR>drwxrwxr-x 4 nagios
nagios 4096 Dec 9 14:37
..<BR>prw-rwx--- 1 nagios
nagiocmd 0 Dec 6 17:20
nagios.cmd (after chmod'ing with <FONT face=Tahoma color=#000000>Terry
Inzauro's </FONT>suggestion - see below, default group perms are rw-)
</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>/etc/group (relevant bits)</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>----------------</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><SPAN class=750503214-09122002><FONT
face=Arial color=#0000ff size=2>apache:x:48:</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>nobody:x:99:</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>nagios:x:500:<BR>nagiocmd:x:501:nagios,nobody,apache</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff size=2>ps
-ef | grep httpd output</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>-------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>root 10311 1 0
Dec06 ? 00:00:02
/usr/sbin/httpd<BR>apache 14958 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14959 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14960 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14961 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14962 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14963 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14964 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 14965 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>apache 15022 10311 0 14:28
? 00:00:00
/usr/sbin/httpd<BR>root 16310 15956 0 14:34
pts/3 00:00:00 grep httpd</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff size=2>ps
-ef | grep nagios</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>---------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>nagios 8504 1 0 Dec06
? 00:03:52
/usr/local/nagios/bin/nagios -d</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>(lots, but all the same)</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>I'm not wrong in thinking that the httpd is running under the APACHE
user, am I? </FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=750503214-09122002><FONT face=Arial color=#0000ff
size=2>Chris</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=750503214-09122002></SPAN></FONT></FONT> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=750503214-09122002> </SPAN>-----Original
Message-----<BR><B>From:</B> Terry Inzauro
[mailto:tinzauro@axiomintegration.com]<BR><B>Sent:</B> 06 December 2002
19:27<BR><B>To:</B> Chris Losch<BR><B>Subject:</B> RE: [Nagios-users] RE:
Permissions Error<BR><BR></DIV></FONT></FONT>I think the nagios user,the
apache user need to have write access rwx access to that file. make
sure that each of the respective users have the necessary perms. or
just add the nagios user to the group owner in the /etc/group file.
<BR><BR>worth a try? <BR><BR>Terry Inzauro <BR><BR><BR>On Fri, 2002-12-06
at 11:31, Chris Losch wrote:
<BLOCKQUOTE><FONT color=#73131d><FONT size=2><I>I'm afraid its a case of
been there, done that...</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I> </FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>but just in case I did something wrong, I tried
again...</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I> </FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>Stopped Nagios </FONT></FONT></I><FONT
color=#73131d><FONT size=2><I>and $INSTALLPATH/var/rw/nagios.cmd
disappeared (as it should - see I even tried reading the manual :-D
)</FONT></FONT></I> <BR><FONT color=#73131d><FONT size=2><I>Used the
/etc/rc.d/init/nagios script to start it,
$INSTALLPATH/var/rw/nagios.cmd re-appears with the default
permissions </FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I> </FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>prw-rw---- 1 nagios
nagiocmd 0 Dec 6 17:20
nagios.cmd</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I> </FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>CHMOD'd 777 it, still receiving the same error when attempting
the command. </FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I> </FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>Have even tried restarting the httpd :( which runs under the
'apache' user, which is part of the nagiocmd group.</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=3><I> </FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>Incidently the parent (rw)
directory has the permissions,</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I> </FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>drwxrwS--- 2
nagios nagiocmd 4096 Dec 6
17:20 rw</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I> </FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>Maybe someone will spot where im going
wrong.</FONT></FONT></I> <BR><FONT color=#73131d><FONT size=2><I>Anyway,
have a good weekend all.</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>Chris</FONT></FONT></I>
<BLOCKQUOTE><FONT color=#73131d><FONT size=2><I>-----Original
Message-----</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><B><I>From:</FONT></FONT></B></I><FONT color=#73131d><FONT
size=2><I> Terry Inzauro
[mailto:tinzauro@axiomintegration.com]</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><B><I>Sent:</FONT></FONT></B></I><FONT
color=#73131d><FONT size=2><I> 06 December 2002
15:12</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><B><I>To:</FONT></FONT></B></I><FONT color=#73131d><FONT
size=2><I> Chris Losch</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><B><I>Cc:</FONT></FONT></B></I><FONT color=#73131d><FONT
size=2><I> nagios-users@lists.sourceforge.net</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><B><I>Subject:</FONT></FONT></B></I><FONT color=#73131d><FONT
size=2><I> RE: [Nagios-users] RE: Permissions Error</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I>I cam across the same error once.
If there was a nagios process running, kill it. If there is a
$INSTALLPATH/var/rw/nagios.cmd file, delete it. Next, start
nagios with the /etc/rc.d/init/nagios script. Then try the
request again. If does the same thing. try chmodddddding the
$INSTALLPATH/var/rw/nagios.cmd file for something like 777, then work
it backwards from there. </FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I>Terry Inzauro
</FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT size=3><I>On
Fri, 2002-12-06 at 06:41, Chris Losch wrote: </FONT></FONT></I>
<BLOCKQUOTE><FONT color=#73131d><FONT size=2><I>FYI,
</FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=2><I>I have just built up a clean install of Redhat 8, and
Nagios1.0</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>I have got Authentication setup and working ok (I can view
cgi's), however I am unable to send commands from the Web Pages to
Nagios (Scheduling Checks etc.) </FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>I am recieving the error
</FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=2><I> Error: Could not stat() command file
'/usr/local/nagios/var/rw/nagios.cmd'!</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I> The external command file may
be missing, Nagios may not be running, and/or Nagios may not be
checking external commands. </FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I> An error occurred while
attempting to commit your command for processing.</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>:(</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>If possible I would suggest you backup
the config CGI's (hosts services etc) and start over, it seems to be
easier than troubleshooting.</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>Chris... yup another
Chris.</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=2><I>Just for reference I've included the bits below so you can
cross reference your config files.</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>cgi.cfg</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>-------</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>authorized_for_system_information=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>authorized_for_system_commands=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>authorized_for_configuration_information=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>authorized_for_all_hosts=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>authorized_for_all_host_commands=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>authorized_for_all_services=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>authorized_for_all_service_commands=xxxx,nagiosadmin,</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>.htaccess (in /usr/local/nagios/share/
and /usr/local/nagios/sbin/)</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>---------</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>AuthName "Nagios
Access"</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>AuthType Basic</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>AuthUserFile
/usr/local/nagios/etc/htpasswd.users</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT
size=2><I>/usr/local/nagios/etc/htpasswd.users</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>------------------------------------</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>nagiosadmin:<encrypted></FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>/etc/httpd/conf/httpd.conf (added the
following, otherwise, no changes from default)</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>--------------------------
</FONT></FONT></I><BR><FONT color=#73131d><FONT
size=2><I>ScriptAlias /nagios/cgi-bin/
/usr/local/nagios/sbin/</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I><Directory
"/usr/local/nagios/sbin/"></FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I> AllowOverride
AuthConfig</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I> Options ExecCGI</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I> Order
allow,deny</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I> Allow from all</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I></Directory></FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>Alias /nagios/
/usr/local/nagios/share/</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I><Directory
"/usr/local/nagios/share"></FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I> Options
None</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I> AllowOverride
AuthConfig</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I> Order allow,deny</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I> Allow
from all</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I></Directory></FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT
size=2><I>/etc/local/nagios/etc/contacts.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>----------------------------------</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>define contact
{</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>contact_name
nagiosadmin</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>alias
Nagios Admin</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>service_notification_period
24x7</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>host_notification_period
24x7</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>service_notification_options
w,u,c,r</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>host_notification_options
d,u,r</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>service_notification_commands
notify-by-email,notify-by-epager</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>host_notification_commands
host-notify-by-email,host-notify-by-epager</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>email
nagios-admin@localhost.localdomain</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>pager
pagenagios-admin@localhost.localdomain</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>}</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT
size=2><I>/etc/local/nagios/etc/nagios.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>---------------------------------</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>#</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I># nagios.cfg - Config file
for Nagios (www.nagios.org)</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>#</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I># Written by Nagat. Manually editing
this file is a bad idea since Nagat will</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I># overwrite it. Delete the
nagatobj.dat file in the nagios/etc directory to</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I># reread the Nagios
configuration.</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>#</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>log_file=/usr/local/nagios/var/nagios.log</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/checkcommands.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/misccommands.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/contactgroups.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/contacts.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/dependencies.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/escalations.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/hostgroups.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/hosts.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/services.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>cfg_file=/usr/local/nagios/etc/timeperiods.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>resource_file=/usr/local/nagios/etc/resource.cfg</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>status_file=/usr/local/nagios/var/status.log</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>nagios_user=nagios</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>nagios_group=nagios</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>check_external_commands=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>command_check_interval=-1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>command_file=/usr/local/nagios/var/rw/nagios.cmd</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>comment_file=/usr/local/nagios/var/comment.log</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>downtime_file=/usr/local/nagios/var/downtime.log</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>lock_file=/usr/local/nagios/var/nagios.lock</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>temp_file=/usr/local/nagios/var/nagios.tmp</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>log_rotation_method=d</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>log_archive_path=/usr/local/nagios/var/archives</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>use_syslog=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>log_notifications=1</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>log_service_retries=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>log_host_retries=1</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>log_event_handlers=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>log_initial_states=0</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>log_external_commands=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>log_passive_service_checks=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>inter_check_delay_method=s</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>service_interleave_factor=s</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>max_concurrent_checks=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>service_reaper_frequency=10</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>sleep_time=1</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>service_check_timeout=60</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>host_check_timeout=30</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>event_handler_timeout=30</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>notification_timeout=30</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>ocsp_timeout=5</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>perfdata_timeout=5</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>retain_state_information=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>state_retention_file=/usr/local/nagios/var/status.sav</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>retention_update_interval=60</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>use_retained_program_state=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>interval_length=60</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>use_agressive_host_checking=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>execute_service_checks=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>accept_passive_service_checks=1</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>enable_notifications=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>enable_event_handlers=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>process_performance_data=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>obsess_over_services=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>check_for_orphaned_services=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>check_service_freshness=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>freshness_check_interval=60</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>aggregate_status_updates=1</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>status_update_interval=15</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>enable_flap_detection=0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>low_service_flap_threshold=5.0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>high_service_flap_threshold=20.0</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>low_host_flap_threshold=5.0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>high_host_flap_threshold=20.0</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>date_format=euro</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>illegal_object_name_chars=`~!$%^&*|'"<>?,()=</FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>illegal_macro_output_chars=`~$&|'"<></FONT></FONT></I>
<BR><FONT color=#73131d><FONT
size=2><I>admin_email=nagios</FONT></FONT></I> <BR><FONT
color=#73131d><FONT
size=2><I>admin_pager=pagenagios</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>-----Original
Message-----</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>From: Chris Fairbanks [</FONT></FONT></I><A
href="mailto:ChrisF@winterlink.net"><FONT
size=2><I>mailto:ChrisF@winterlink.net</FONT></I></A><FONT
color=#73131d><FONT size=2><I>]</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>Sent: 06 December 2002
07:22</FONT></FONT></I> <BR><FONT color=#73131d><FONT size=2><I>To:
Chris Fairbanks; wrnash; Potter, G M (Greg); Nagios-users
(E-mail)</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=2><I>Cc: Robertson, Brown</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>Subject: RE: [Nagios-users] RE:
Permissions Error</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=2><I>Another interesting tibit, I tired disabling
use_authentication and</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>setting up a default user, but I still
get the same issues.</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I>
</FONT></FONT></I><FONT color=#73131d><FONT
size=2><I>Thanks</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I>
</FONT></FONT></I><FONT color=#73131d><FONT
size=2><I>Chris</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=2><I>-----Original Message-----</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>From: Chris Fairbanks
</FONT></FONT></I><BR><FONT color=#73131d><FONT size=2><I>Sent:
Thursday, December 05, 2002 10:47 PM</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>To: wrnash; Potter, G M (Greg);
Nagios-users (E-mail)</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>Cc: Robertson, Brown</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>Subject: RE: [Nagios-users]
RE: Permissions Error</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT size=2><I>My httpasswd.users file and everything
is setup totally correctly and</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>use_authentication=1 is set. I
have also tried setting all the</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>authorized_for's = * but to no
avail. From the sounds of it, it looks</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=2><I>like this might be an issue
with RH8.0 or Apache 2.0.40 that ships</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>default with RH8.0. Is there
anyone on this list that has Nagios</FONT></FONT></I> <BR><FONT
color=#73131d><FONT size=2><I>working on RH8.0?</FONT></FONT></I>
<BR><FONT color=#73131d><FONT size=3><I></FONT></FONT></I><BR><FONT
color=#73131d><FONT
size=3><I>
</FONT></FONT></I><FONT color=#73131d><FONT
size=2><I>Thanks,</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I>
</FONT></FONT></I><FONT color=#73131d><FONT
size=2><I>Chris</FONT></FONT></I> <BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I><BR><FONT color=#73131d><FONT
size=3><I><TT>**********************************************************************</FONT></FONT></I></TT>
<BR><FONT color=#73131d><FONT
size=3><I><TT>Important:</FONT></FONT></I></TT> <BR><FONT
color=#73131d><FONT size=3><I><TT>This e-mail is intended for the
above named person only and should be</FONT></FONT></I></TT>
<BR><FONT color=#73131d><FONT size=3><I><TT>treated as confidential.
If this has come to you in error you should
take</FONT></FONT></I></TT> <BR><FONT color=#73131d><FONT
size=3><I><TT>no action based on it, nor should you copy or show it
to anyone; </FONT></FONT></I></TT><BR><FONT color=#73131d><FONT
size=3><I><TT>please telephone us
immediately.</FONT></FONT></I></TT> <BR><FONT color=#73131d><FONT
size=3><I><TT>**********************************************************************</FONT></FONT></I></TT>
<BR><FONT color=#73131d><FONT
size=3><I></FONT></FONT></I></BLOCKQUOTE>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR></TR>
<TR></TR>
<TR>
<TD>
<TABLE>
<TBODY>
<TR></TR>
<TR></TR>
<TR>
<TD><FONT color=#73131d><FONT size=3><B><I>Terry
Inzauro</FONT></FONT></B></I> <BR><FONT
color=#73131d><FONT size=3><I>Systems Engineer
</FONT></FONT></I></TD></TR>
<TR>
<TD><PRE><FONT color=#73131d><FONT size=3><I>Email: </FONT></FONT></I><A href="mailto:tinzauro@axiomintegration.com"><FONT size=3><B><I>tinzauro@axiomintegration.com</FONT></B></I></A>
<FONT color=#73131d><FONT size=3><I>Phone: </FONT></FONT></I><FONT color=#73131d><FONT size=3><B><I>402.345.5500</FONT></FONT></B></I>
<FONT color=#73131d><FONT size=3><I>Fax: </FONT></FONT></I><FONT color=#73131d><FONT size=3><B><I>402.345.5501</FONT></FONT></B></I>
<FONT color=#73131d><FONT size=3><I>US Mail: </FONT></FONT></I><A href="http://www.axiomintegration.com/"><FONT size=3><I>Axiom Integration, Inc.</FONT></I></A>
<FONT color=#73131d><FONT size=3><I> </FONT></FONT></I><A href="http://www.axiomintegration.com/"><FONT size=3><I>One Owen Pkwy</FONT></I></A>
<FONT color=#73131d><FONT size=3><I> </FONT></FONT></I><A href="http://www.axiomintegration.com/"><FONT size=3><I>2200 Abbott Drive</FONT></I></A>
<FONT color=#73131d><FONT size=3><I> </FONT></FONT></I><A href="http://www.axiomintegration.com/"><FONT size=3><I>Carter Lake, IA</FONT></I></A><FONT color=#73131d><FONT size=3><I> </FONT></FONT></I><A href="http://www.usps.gov/ncsc/lookups/lookups.htm"><FONT size=3><I>51510</FONT></I></A></PRE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BLOCKQUOTE></BLOCKQUOTE>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD>
<TABLE>
<TBODY>
<TR>
<TD><FONT size=3><B>Terry Inzauro</FONT></B> <BR>Systems
Engineer </TD></TR>
<TR>
<TD><PRE>Email: <A href="mailto:tinzauro@axiomintegration.com"><FONT size=3><B><I>tinzauro@axiomintegration.com</FONT></B></I></A>
Phone: <FONT size=3><B>402.345.5500</FONT></B>
Fax: <FONT size=3><B>402.345.5501</FONT></B>
US Mail: <A href="http://www.axiomintegration.com/">Axiom Integration, Inc.</A>
<A href="http://www.axiomintegration.com/">One Owen Pkwy</A>
<A href="http://www.axiomintegration.com/">2200 Abbott Drive</A>
<A href="http://www.axiomintegration.com/">Carter Lake, IA</A> <A href="http://www.usps.gov/ncsc/lookups/lookups.htm">51510</A></PRE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BLOCKQUOTE></BLOCKQUOTE>
<P><BR>
<HR SIZE=1>
Do you Yahoo!?<BR><A
href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail
Plus</A> - Powerful. Affordable. <A
href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up
now</A></BLOCKQUOTE></BODY></HTML>