Re: PHP question on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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@nagios-server nagios]# cat /etc/redhat-release
CentOS release 4.5 (Final)
[root@nagios-server nagios]# pwd
/etc/nagios
[root@nagios-server nagios]# grep nagios.cmd * -n
nagios.cfg:183:command_file=/var/log/nagios/rw/nagios.cmd
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux