Permalink
Browse files

Moved demo rotation configuration to demo.ini.php file to allow the -…

…o option of install.sh to remove demo rotation as well
  • Loading branch information...
macarrie committed Dec 11, 2017
1 parent 8149419 commit a0c3078d5be48eab6adb40869bb82678fd079c38
Showing with 13 additions and 5 deletions.
  1. +9 −1 etc/conf.d/demo.ini.php
  2. +4 −4 etc/nagvis.ini.php-sample
View
@@ -3,9 +3,17 @@
; viewing this file from web.
; DON'T REMOVE IT!
; This file defines a backend instance of the Test backend
; This file defines the rotation object for default maps. This
; can be removed when you are not interested in demo maps rotation.
; This file also defines a backend instance of the Test backend
; which is used by some demo maps. This can be removed when
; you are not interested in the demo maps.
[rotation_demo]
maps="demo-germany,demo-ham-racks,demo-load,demo-muc-srv1,demo-geomap,demo-automap"
interval=15
[backend_demo]
backendtype=Test
@@ -441,15 +441,15 @@ backendtype="ndomy"
; ----------------------------
; in this example the browser switches between the maps demo and demo2 every 15
; seconds, the rotation is enabled by url: index.php?rotation=demo
[rotation_demo]
; seconds, the rotation is enabled by url: index.php?rotation=example
;[rotation_example]
; These steps are rotated. The single steps may have optional prefixes like "Demo2:"
; which are used as display text on the index pages rotation list.
; You may also add external URLs as steps. Simply enclose the url using []
; instead of the map name.
maps="demo-germany,demo-ham-racks,demo-load,demo-muc-srv1,demo-geomap,demo-automap"
;maps="map1,map2,map3"
; rotation interval (seconds)
interval=15
;interval=15
; ----------------------------
; Action definitions

0 comments on commit a0c3078

Please sign in to comment.