[CentOS] PHP question on CentOS

Tue Jul 3 19:57:43 UTC 2007
Rogelio Bastardo <scubacuda at gmail.com>

> > I do a "locate nagios.cmd", and it turns up nothing.  I wasn't sure if the
> > /var/ part of the path meant that it had to do something with the fact
> that
> > my html files are in /var/www/html.
>
> This part depends on how you have nagios set up. The nagios.cmd file
> doesn't get created until nagios is actually running. It's the file
> which houses commands issued from the web front-end to nagios.

I found it. For others with this problem:

[root at nagios-server nagios]# cat /etc/redhat-release
CentOS release 4.5 (Final)
[root at nagios-server nagios]# pwd
/etc/nagios
[root at nagios-server nagios]# grep nagios.cmd * -n
nagios.cfg:183:command_file=/var/log/nagios/rw/nagios.cmd