* #cd /usr/local/nagios/etc/
* #vi hosts.cfg
* #vi hostgroups.cfg
* #vi contacts.cfg
* #vi contactgroups.cfg
* #vi service.cfg
* #/usr/loca/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
* #service nagios restart
* #cd /usr/local/nagios/etc/
* #vi hosts.cfg
* #vi hostgroups.cfg
* #vi contacts.cfg
* #vi contactgroups.cfg
* #vi service.cfg
* #/usr/loca/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
* #service nagios restart
Last edited by gopal; 05-05-2004 at 02:45 PM.
So how did you secure/password protect the pages/cgis from the general public?
EDIT: I found it in case anyone else is interested.
Place your .htaccess files in /usr/local/nagios/sbin for your cgis and /usr/local/nagios/share for your html if you are installing it from their docs. Don't place it in the cgi-bin or www that cpanel creates.
Last edited by myusername; 08-14-2004 at 06:40 PM.
GlowHost.com | Professional Managed Web Hosting Since 2002.
>> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
>> Cloud Servers for Enterprise