BBMAP is a set of PHP pages (mainly) that tend to give a status map capacity to Big Brother.
Implementation details: In case you want to go inside deeper
================
; set the background map BACKGROUND = filemap.png (default : the one defined in globalmap.cfg) ; In order to limit bbgen creation part, not mandatory ; services defined in host are prioritary ; if none are defined (neither in SERVICES, neither in hosts), then full services SERVICES = service1:serv2:... ; host, hostgroup and submap definitions : '[' and ']' means optional, 'xxx,...' means comma separated list HOST = hostname:parenthost1,...:x:y:picture[:serv1,serv2,... (limit of services, prioritary on SERVICES] HOSTGROUP = hostgroupname:parenthost1,...:x:y:picture:host1,host2,host3,...[:serv1,serv2,...] SUBMAP = submapname:parenthost1,...:x:y:picture
; where hostname is one of the hostname in bb-hosts ; where submapname is whatever you want except a hostname in bb4 ; where hostgroupname is whatever you want except a hostname in bb4 or a submapname ; where parenthost is empty for no parent or a comma separated list of the hostname or hostgroupname ; or a comma separated list of '!' separated list like ; hostname[!color[!width[!title]]],hostgroupname[!color[!width[!title]]],... ; where options are color, width and title (set as you want) for the link between host and parent ; where x and y are central coordinate in the map ; where picture is one of (rectangle,square,diamond,triangle,circle) or a picture file name ; where service is one of column headers in bb web page VAR = name:value ; in order to override for one particular map some value (title for instance)
GlobalHost['Name_of_host'] = [ (0):Name_of_host, (1):[[Name_of_parent_host1,color1,width1,title1], [Name_of_parent_host2,color1,width1,title1], ...], (2):'HOST' or 'HOSTGROUP' or 'SUBMAP', (3):x, (4):y, (5):picture_namefile, (6):empty (HOST,SUBMAP) or [ host1, host2, ...](HOSTGROUP), (7):[service1, service2, ...] (optional service list, empty if SUBMAP), (8):[(0):host(group) global color (1-6) base on the service list, (1):[serv1, serv2, ...] (HOST) or [host1, host2, ...] (HOSTGROUP,SUBMAP) in color 1, (2): same for color 2, ..., (6): same for color 6] ] (9):[shape(area), coord for area, picture in java scrip] ]
So GlobalHost['hostname'][3] gives for instance the X position on the map of hostname.