multiple instances

Mario Sergio Candian mscandian at freebsdbrasil.com.br
Tue Oct 5 19:59:50 CEST 2004


Oks guys,

i will edit the cgi.cfg, and i will need to define some attributes as
like:

main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg
main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg
main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg

url_html_path=/nagios
url_html_path=/companyA
url_html_path=/companyB

authorized_for_system_information=admin,userA,userB

will i need to copy the etc (with the .cfg files) for other directory
(/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files
in the /nagios/etc?

then, i will define the hosts, hostgroups, services, and i need to create
the aliases scripts:

    ScriptAlias /companyA/cgi-bin/
/usr/home/eksffa/public_html/nagios/companyA/sbin/
   <Directory "/usr/home/eksffa/public_html/nagios/sbin/">
      AllowOverride AuthConfig
      Options ExecCGI
      Order allow,deny
      Allow from all
   </Directory>

    ScriptAlias /companyB/cgi-bin/
/usr/home/eksffa/public_html/nagios/CompanyB/sbin/
   <Directory "/usr/home/eksffa/public_html/nagios/sbin/">
      AllowOverride AuthConfig
      Options ExecCGI
      Order allow,deny
      Allow from all
   </Directory>

   Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/
  <Directory "/usr/home/eksffa/public_html/nagios/share/">
     Options None
     AllowOverride AuthConfig
     Order allow,deny
     Allow from all
  </Directory>

   Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/
  <Directory "/usr/home/eksffa/public_html/nagios/share/">
     Options None
     AllowOverride AuthConfig
     Order allow,deny
     Allow from all
  </Directory>

Is this correcty?

Mario Sergio



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list