Menu

#233 use %View inside bb-display.cfg file

feature_request
open
nobody
None
7
2017-10-11
2017-10-11
No

Hi,
I installed and configured BigSister on Windows Server 2016 (w2k16) operating system using distribution from big-sister-1.12.NTpre.zip file.
Sucessfully installed bbd, bsmon, uxmon, bstrapd and mrtg as windows services.

Configuration of GhostScript and R-project was so painful :(, but now working.

I installed MySQL database and configure BigSister to log all messges to databse.

Also I configure MSSQL as databse to log all massages using dbi:ADO:Provider, but all reports needs to be change to support reading data from MSSQL database using dbi:ADO:Provider. It will be one of mine fetured task. Second task will be to write new plugins for monitoring computer on Windows platfom usnig SNMP, WMI, powershell.

I configured bb-display.cfg to work with different view using %View command.
When started bsmon process, new folder for each %View was created inside C:\bigsis\www folder.

On IIS server I configured two diffrent sites.

The first one, for BigSister server and the second one for data defined by %View command. For example:
%View customer1
will create folder customer1 inside C:\bigsis\www (C:\bigsis\www\customer1), with all files for particular customer1.
To realize this, I must change the way of creating symlink inside Display.pm files, for folders and files.
When I done this, everithing working fine.

Currently, I try to change look of index.html page for customer1 using %skin and %Logskin, but I get stuck with this. I copied folowing skins to new skins:
default -> default_view
frames -> frames_view
structured_bg -> structured_bg_view
techie -> techie_view

Compiled all new skins (also try with deleted cache files fom all skins folder), but there's no way to force index.html page, for customer1 to get new look, defined by new skins. I try so meany different combinations, but no one work as I wish:

%View customer1

version 1:
%skin static_lamps techie_view
$Logskin static_lamps techie_view

version 2:
%skin default_view static_lamps techie_view
%Logskin default_view static_lamps techie_view

version 3:
%skin default_view static_lamps structured_bg_view frames_view
%Logskin default_view static_lamps structured_bg_view frames_view

version 4:
%skin static_lamps structured_bg frames_view
%Logskin static_lamps structured_bg frames_view

version 5:
%skin default_view static_lamps white_bg frames_view
%Logskin default_view static_lamps white_bg frames_view

version 6:
%skin default_view static_lamps structured_bg_view frames_view
%Logskin default_view static_lamps structured_bg_view frames_view

%Page top customer1
...
%Frameset index top Big_Sister_customer1.local

In fact I wish to make index.html page for customer1 without 'Admin' and 'Help' buttons.
Inside new skins I deleted following lines inside FRAME1_MENUS.inc file:
@FRAME1_MENUADMIN.inc@
@FRAME1_MENUHELP.inc@

I look at the code and noticed that skin "default" is always is using when creating index page.

If I created content inside C:\bigsis\www\customer1 folder without index page, everithing is OK.
But I wish to use framed pages to show link with "Problem Hosts" (this is the most useful link inside BigSister server what others monitoring softwares don't have).

Is it possible to force BigSister to use new frames_view skin when creating page insisde %View directory or what I need to change inside BigSister files (Display.pm, DisplayCFG.pm, bbdisp.pm ...) to archive this goal ?
Can someone can point me to right direction?

If anyone need detail user manual how to install and configure BigSister server on w2k16 os and configure ISS to use data generated by BigSister server, please contact me and I will send detail manual with pictures.

Thanks in advance.
Vladan

Discussion


Log in to post a comment.