Having configured an OMD Multisite with two slaves, all slave NagVis maps 
copied to the master,
following problems exists:
1) the icons in the master nagvis snapin staying orange
2) what will be the backend_id of a slave within a "real" local map for 
services/hosts etc on the master?
    The idea is to have a map on master referring to certain states on the 
slaves.
3) why to copy these slave nagvis maps to the master, if the link will be 
rewritten within apacheconf?
    In general: is the approach described below for having all maps functional 
on the master correct?
 
 who can help, thanks
 
using omd 1.2.4p5 on sles 11.1 with following changes:
 
etc/check_mk/multisite.mk:
    sites = {
      "site1": {
         "alias":          "site1",
         "socket":         "tcp:192.168.1.14:6558",
         "url_prefix":     "/site1/",
      },
      "site2": {
         "alias":          "site2",
         "socket":         "tcp:192.168.1.14:6557",
         "url_prefix":     "/site2/",
       },
    }
 
etc/apache/mode.conf:
    <Location /opal/nagvis>
       RewriteEngine On
       RewriteRule /opal/nagvis/(.*)=site1(.*) 
http://192.168.1.14/site1/nagvis/$1=site1$2 [P,L]
       RewriteRule /opal/nagvis/(.*)=site2(.*) 
http://192.168.1.14/site2/nagvis/$1=site2$2 [P,L]
    </Location>
 

etc/nagvis/maps/:
    cp /omd/sites/site1/etc/nagvis/maps/* .
    cp /omd/sites/site2/etc/nagvis/maps/* .
 
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to