<!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.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I seem to be having some problems with
/usr/local/nagios/var/rw/nagios.cmd</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My Nagios is operating perfectly, except that when
I reboot or restart Nagios, it deletes the nagios.cmd file and then builds it
new upon restart. Only problem is, it sets ownership and permissions on
the file to nagios/nagios 0644 -- and it's no longer writable.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So I have to re-set ownership on the file to
"nobody" to allow the web interface to be able to write to the file, and set
permissions to 0777. Then I can do my web functions just fine again
because the file is writable again by the webserver.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestions on how to properly set things up so
I don't have to do this each time the machine or nagios is
restarted?</FONT></DIV></BODY></HTML>