-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from XavierBerger/devel
Version 2.9
- Loading branch information
Showing
53 changed files
with
9,915 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.8 | ||
2.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
######################################################################## | ||
# Example how to use Labels and Badges in status page | ||
# Page: 1 | ||
# Information Status Statistics | ||
# - example static data - yes -no | ||
# | ||
# Note: | ||
# Icon from http://goo.gl/TTYP62 | ||
######################################################################## | ||
web.status.1.content.1.name=Labels/Badges | ||
web.status.1.content.1.icon=daemons.png | ||
web.status.1.content.1.line.1="Labels: "+Label(1,"==1","default","default")+" "+Label(1,"==1","primary","primary")+" "+Label(1,"==1","success","success")+" "+Label(1,"==1","info","info")+" "+Label(1,"==1","warning","warning")+" "+Label(1,"==1","danger","danger") | ||
web.status.1.content.1.line.2="Badges: "+Badge(1,"==1","default","default")+" "+Badge(1,"==1","primary","primary")+" "+Badge(1,"==1","success","success")+" "+Badge(1,"==1","info","info")+" "+Badge(1,"==1","warning","warning")+" "+Badge(1,"==1","danger","danger") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
######################################################################## | ||
# Example how to use JustGageBar in status page | ||
# Page: 1 | ||
# Information Status Statistics | ||
# - example static data - yes -no | ||
######################################################################## | ||
web.status.1.content.1.name=JustGageBar | ||
web.status.1.content.1.icon=version.png | ||
web.status.1.content.1.line.1='<b>JustGageBar default configuration</b>' | ||
web.status.1.content.1.line.2=JustGageBar("Normal", "No Colors",0, 25, 100)+" "+JustGageBar("Warning", "No Colors",0, 50, 100)+" "+JustGageBar("Critical", "No Colors",0, 75, 100) | ||
web.status.1.content.1.line.3='<b>JustGageBar custom colors</b>' | ||
web.status.1.content.1.line.4=JustGageBar("Normal", "Colors",0, 25, 100,100,80,[ "#0ba9d7", "#02f9c8", "#00ff00" ])+" "+JustGageBar("Warning", "Colors",0, 50, 100,100,80,[ "#0ba9d7", "#02f9c8", "#00ff00" ])+" "+JustGageBar("Critical", "Colors",0, 75, 100,100,80,[ "#0ba9d7", "#02f9c8", "#00ff00" ]) | ||
web.status.1.content.1.line.5='<b>JustGageBar custom level for warning and critical level</b>' | ||
web.status.1.content.1.line.6=JustGageBar("Normal", "WarnCrit",0, 5, 100,100,80,percentColors,10,50)+" "+JustGageBar("Warning", "WarnCrit",0, 15, 100,100,80,percentColors,10,50)+" "+JustGageBar("Critical", "WarnCrit",0, 51, 100,100,80,percentColors,10,50) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
######################################################################## | ||
# Example how to use progressbar in status page | ||
# Page: 1 | ||
# Information Status Statistics | ||
# - example static data - yes -no | ||
######################################################################## | ||
web.status.1.content.1.name=ProgressBar | ||
web.status.1.content.1.icon=version.png | ||
web.status.1.content.1.line.1='<b>ProgressBar without warning or critical</b>' | ||
web.status.1.content.1.line.2=ProgressBar(33, 100) | ||
web.status.1.content.1.line.3='<b>ProgressBar with warning lower than critical (Example: disk usage)</b>' | ||
web.status.1.content.1.line.4=ProgressBar(10, 100, 33, 66) | ||
web.status.1.content.1.line.5=ProgressBar(50, 100, 33, 66) | ||
web.status.1.content.1.line.6=ProgressBar(75, 100, 33, 66) | ||
web.status.1.content.1.line.7='<b>ProgressBar with warning higher than critical (Example: ink cartridge)</b>' | ||
web.status.1.content.1.line.8=ProgressBar(75, 100, 66, 33) | ||
web.status.1.content.1.line.9=ProgressBar(50, 100, 66, 33) | ||
web.status.1.content.1.line.10=ProgressBar(10, 100, 66, 33) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
######################################################################## | ||
# Example how to manage visibility of status information | ||
# Page: 1 | ||
# Information Status Statistics | ||
# - visibility - yes - no | ||
# This proof of concept is behaving has follow: | ||
# If minute number is odd the row is visible | ||
# If minute number is even the row is hidden | ||
# The parameter visibility should be a valid javascript formula returning | ||
# - 0 to hide the row | ||
# - anything else but 0 to show the row | ||
######################################################################## | ||
dynamic.1.name=visibility | ||
dynamic.1.source=date +"%M" | ||
dynamic.1.regexp=(.*) | ||
dynamic.1.postprocess=$1%2 | ||
dynamic.1.rrd= | ||
|
||
web.status.1.content.1.name=Visibility | ||
web.status.1.content.1.icon=version.png | ||
web.status.1.content.1.visibility=data.visibility | ||
web.status.1.content.1.line.1='Visibility: <b>Control row visibility</b>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.