Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bs3 #133

Closed
wants to merge 201 commits into from
Closed

Bs3 #133

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
7ba99d3
Fix: IT Problem page didn't show all related items
lermit Mar 26, 2014
7b1cb67
Add forgotten line
lermit Mar 26, 2014
22d0660
Check for admin
lermit Mar 26, 2014
8cf6151
Added: Copyright and version informations
Frescha Mar 30, 2014
0a933be
License head update
Frescha Apr 2, 2014
5f7db1f
Add ability to add key/value select widget and set default value
lermit Apr 4, 2014
9846c60
Add duration option
lermit Apr 4, 2014
ee50dc7
Use duration option in graph
lermit Apr 4, 2014
7521a14
Initial servicetag commit
Frescha Apr 10, 2014
df29016
Merge branch 'master' into develop
Frescha Apr 15, 2014
dd44b9b
More detailed installation instructions
jmatsushita Apr 17, 2014
255b67d
Update README.md
jmatsushita Apr 17, 2014
55714a8
Merge branch 'iilab-master' into develop
Frescha Apr 17, 2014
2d90698
Just a small update of the README
Frescha Apr 17, 2014
3378d1d
Added: First try of service tags in service view
Frescha Apr 27, 2014
de5b178
Changed to static
Frescha May 3, 2014
9b82228
Merge branch 'develop' into feature-issue67
Frescha May 3, 2014
92f5875
Improved: Custom company logo Issue #67
Frescha May 3, 2014
618c408
Update gitignore to ignore *.db files in Windows
Jul 7, 2014
1ebac81
Update map markers with label
Jul 7, 2014
328bdf0
Dashboard icons links to all hosts/services views
Jul 7, 2014
9405ca6
Host groups view
Jul 8, 2014
b7b4e35
Fix service group view
Jul 8, 2014
f71364a
Fix copyright year
Jul 8, 2014
d2c0548
Fic copyright year and typos
Jul 8, 2014
b5d815c
Dashboard currently
Jul 8, 2014
c69751e
Just a little update
Frescha Jul 8, 2014
34bca69
Add gitattribute for line end normalization
Jul 9, 2014
109acf9
Fix #67 : company logo
Jul 9, 2014
035a6d5
Gitignore for Windows ...
Jul 9, 2014
a1c4859
depgraph plugin, small modifications
Jul 10, 2014
9f57847
Improve depgraphs ...
Jul 10, 2014
0a22c3d
depgraph size optimization when fullscreen
Jul 10, 2014
e9ab877
Fix #71 : missing images in depgraphs ...
Jul 10, 2014
fe24a22
Anonymous access to dashboard currently
Jul 10, 2014
c931827
Inhibit WebUI page refresh when viewing depgraph
Jul 10, 2014
1678dbd
Merge branch 'master' into develop
Frescha Jul 10, 2014
730b1fe
Merge branch 'feature-issue67' into develop
Frescha Jul 10, 2014
8afcd1e
Incluse other UIs links in sidebar menu
Jul 10, 2014
c55b76b
Allow snap drawers to get closed
Jul 10, 2014
3caa74b
Login error message is best positionner as is ...
Jul 10, 2014
b26175e
Worldmap plugin : open street map test
Jul 19, 2014
6f5f98a
BS3: basic htdocs
Jul 19, 2014
861d2d0
BS3: helper.py
Jul 19, 2014
bdb72b1
BS3: main views
Jul 19, 2014
f0035de
BS3: plugins
Jul 19, 2014
1bc62c4
Full screen dashboard
Jul 21, 2014
91da93b
Typeahead hostname in problems view
Jul 21, 2014
5403bc3
Fix typos
Jul 24, 2014
21ae5f6
Add host search box in the header
Jul 24, 2014
b736cc0
Reorder groups view columns
Jul 25, 2014
5527174
Layout script files updated
Jul 25, 2014
c45c684
Missing files in previous commit
Jul 25, 2014
8a6dcf4
Bold font for problems in groups overview
Jul 25, 2014
912d6a0
Bold font for problems in tags overview
Jul 25, 2014
6343b39
Custom views for windows and linux
Jul 25, 2014
c45c86c
Small fixes for display
Jul 25, 2014
6d8d534
Typeahead input field in dashboard widgets
Jul 25, 2014
8cad139
Clean-up images folder
Jul 26, 2014
9163013
Picture tags in element view
Jul 26, 2014
d99f38b
System plugin simplified, no more logs
Jul 26, 2014
0b5f8cd
Fix system plugin configuration problem
Jul 29, 2014
7a2d0c0
Base modifications for next commits
Jul 29, 2014
624f748
New plugin logs
Jul 29, 2014
6b978ef
Plugin Timeline
Jul 29, 2014
456f4e8
Plugin element detail, many improvements:
Jul 29, 2014
a8b5406
Cleaning in System plugin (unused code)
Jul 30, 2014
005d229
Several improvements
Jul 30, 2014
b5051cf
Groups, tags and minemap breadcrumb
Jul 30, 2014
724acf4
Forgot in previous commit
Jul 31, 2014
3532067
Hosts / services tags in element view
Jul 31, 2014
ed05db9
Improved config in worldmap plugin
Jul 31, 2014
5c6a11f
New history tab in element view
Jul 31, 2014
c4375fe
New plugin for contacts view (#74)
Aug 1, 2014
6b47937
Add a link to contacts overview in sidebar
Aug 1, 2014
3925a4f
Groups view improvements
Aug 1, 2014
9e275b5
Element view improvements
Aug 1, 2014
59162bb
Fix #69: UTF8 encoding for external commands
Aug 4, 2014
28ca7e9
#76: commands view
Aug 4, 2014
7197c74
#75: timeperiods view
Aug 4, 2014
9233132
Font Awesome, new version 4.1
Aug 4, 2014
539ed04
Element view: alert for business rules
Aug 4, 2014
4f20312
Icons in sidebar menu
Aug 4, 2014
3e899e7
Remove unuseful bootstrap icons
Aug 5, 2014
bb7b1c2
#75: Detail timeperiods in pop over window
Aug 5, 2014
6e3ce66
Host lookup match if pattern is contained
Aug 5, 2014
d384007
Added comments and few cleanup
Aug 5, 2014
9c71a3f
#74: contact view with notification ways
Aug 5, 2014
b74d07a
Services tags search
Aug 7, 2014
f464483
Contact view improvements:
Aug 7, 2014
baccd01
Prevent contact to be show by every one
lermit Aug 11, 2014
f94963a
Display only services tag of logged in user
lermit Aug 12, 2014
781be65
add missing import
lermit Aug 12, 2014
92f504b
Filter minemap regarding logged in user
lermit Aug 12, 2014
0575e45
Filter worldmap
lermit Aug 12, 2014
904d56f
Display correct username
lermit Aug 12, 2014
66a8fed
Allow widget to be saved
lermit Aug 12, 2014
e8bcc95
Merge branch 'master' into bs3
Frescha Aug 13, 2014
667e3b5
Merge pull request #77 from AddOnline/bs3
Frescha Aug 14, 2014
6548653
Fix: Dropdown doesn't work for host with dot
lermit Aug 20, 2014
028db3f
Worldmap: fix typos
Sep 13, 2014
5d1d1cd
Add contact tags
Sep 13, 2014
9304cfe
Add log for WebUI actions
Sep 13, 2014
223183d
Contact name is not clickable for non admin
Sep 13, 2014
b57b21c
Services tags filtered regarding user
Sep 13, 2014
aa89ff1
Merge pull request #78 from AddOnline/bs3
Frescha Nov 16, 2014
f29fe80
Filter hosts groups depending upon user
Sep 14, 2014
68b5e31
Add: Collapse/Extand all button on problem page
lermit Dec 22, 2014
5b0d2ef
Fix: fa-remove no more exist in this FA version. Use fa-tash-o.
lermit Dec 22, 2014
f0e95d1
Merge pull request #109 from AddOnline/bs3-fix-remove-icon
Frescha Dec 26, 2014
c9bfe84
Merge pull request #108 from AddOnline/bs3-expand-all
Frescha Dec 26, 2014
5de0f82
From master branch
Apr 3, 2015
bd02522
WebUI menu configuration
Apr 3, 2015
28e2349
Fix minemap double entries
Apr 3, 2015
f24e8a5
Dashboard is main page
Apr 3, 2015
5580bc3
Worldmap - hosts filtering
Apr 3, 2015
1a72de6
Fix minemap display error
Apr 3, 2015
823f836
Fix eltdetail timeperiod
Apr 3, 2015
a90be95
Credits
Apr 3, 2015
9d22505
Fix pulsing image ize
Apr 3, 2015
3e3ad74
Clean system plugin
Apr 3, 2015
f55ea44
Clean Dashboard
Apr 3, 2015
accd0ef
Add / fix functions in helper.py
Apr 3, 2015
726224d
Add hosts filter in menu.cfg configuration
Apr 3, 2015
1bed090
Filter hosts in minemap
Apr 3, 2015
6512469
Filter hosts in worldmap
Apr 3, 2015
4b3f79a
Filter hosts in groups
Apr 3, 2015
f8ee605
Custom view for kiosk
Apr 4, 2015
8156e6e
Web UI information in webui.cfg
Apr 4, 2015
e186674
Fix eltdetail
Apr 6, 2015
47a7129
Plugin loading logs
Apr 6, 2015
1aa2ab6
Fix about popup for login
Apr 6, 2015
923840a
Fix contact error
Apr 6, 2015
5c9bac0
Shinken IO plugin
Apr 7, 2015
100382c
Make sidebar menu configurable
Apr 7, 2015
861db7b
Keep ordered list in config parameters
Apr 7, 2015
ecb8cd2
Include host in minemap even if no services are configured for this host
Apr 7, 2015
bbfffcb
Improve minemap/group navigation
Apr 7, 2015
072ef59
Improve element view's breadcrumb
Apr 8, 2015
3f004e0
Custom views - display ACK/DOWNTIME states
Apr 8, 2015
ea40fa6
Fix dashboard currently display
Apr 8, 2015
dcc1018
Update jQuery and fix some JS errors
Apr 8, 2015
0bb1cbf
Update login form and fix JS error
Apr 8, 2015
5ebb5dd
Fix ShinkenIO plugin bad url
Apr 8, 2015
6b673bc
Widget id prefixed by worldmap
Apr 8, 2015
36d7e6e
Fix missing image
Apr 8, 2015
4fda7e9
Add jQm css file
Apr 8, 2015
f3cfab6
Improve hosts/services groups readability
Apr 8, 2015
b6ad47a
Most recently tested version ...
Apr 10, 2015
e2cab91
BS3 user's guide, draft version
Apr 10, 2015
813a72a
Fix image link
mohierf Apr 10, 2015
69b7121
Update index.rst
mohierf Apr 10, 2015
96148f6
Update index.rst
mohierf Apr 10, 2015
0835f66
Doc as a markdown file
Apr 10, 2015
1c8eff3
Doc, release
Apr 10, 2015
aaeb8dc
Doc release ...
Apr 10, 2015
425b2d9
First doc version update
Apr 10, 2015
ae7d2f6
Markdown update
Apr 12, 2015
aaa9643
Implements support for gravatar
Apr 14, 2015
f20f56f
Removed passwords from logs
Apr 14, 2015
f1f2428
Adds gravatars to contacts
Apr 14, 2015
e218574
Added forgotten quote
Apr 14, 2015
575350d
Merge pull request #123 from OpenConceptConsulting/remove-passwords
mohierf Apr 15, 2015
f31e3a9
Update requirements with pymongo
Apr 15, 2015
f0e3e31
Restrict tests to test dir
Apr 15, 2015
61877db
Merge pull request #122 from OpenConceptConsulting/implement-gravatar
mohierf Apr 15, 2015
f4bffe8
Refactored company/user logo
Apr 16, 2015
72ca4c9
Missing file in previous commit
Apr 16, 2015
7884a08
Fix sidebar not diplayed on small screens
Apr 16, 2015
41c49a1
Forgotten images
Apr 16, 2015
fd1492e
Added methods for hosts/services tags in app
Apr 16, 2015
75cb001
Worldmap improvements :
Apr 16, 2015
2df3bcf
Small user's guide update
Apr 17, 2015
8cc17e6
Fix pymongo requirement
Apr 22, 2015
23aea3f
Improvements ...
Apr 30, 2015
0da5297
Improved loading plugins logs
May 1, 2015
758a841
Still some improvements
May 1, 2015
dfe5bac
Logs for user login / authentication / logout
May 1, 2015
6434869
Make a menu items list ...
May 1, 2015
9927b7b
Host/service timeperiods
May 1, 2015
31bf84d
Element view ...
May 2, 2015
0662e59
Commands view : fix datamanager error ...
May 2, 2015
43f791d
Fix tags view error because of datamanager
May 2, 2015
0ec8364
Clean logs
May 2, 2015
beed74c
Add a check for Ack services in services tab
May 2, 2015
3b49800
Clean forms templates
May 2, 2015
9b14b73
Review problems view
May 2, 2015
e5c7eaf
Review impacts widget
May 2, 2015
95d66b1
New WebUI functions tp avoid datamanager ...
May 2, 2015
4061089
Menu.cfg withi filtering
May 2, 2015
6a1ea64
Dashboard problems/impacts count
May 2, 2015
7afeb62
Do not link to contacts if contacts menu is disabled
May 2, 2015
54a8e37
Log to Debug level instead of info
May 2, 2015
e0cb20e
Review groups and tags
May 2, 2015
a5c15bf
Merge pull request #126 from OpenConceptConsulting/fix-pymongo
mohierf May 7, 2015
91fa5b0
Fix bookmarks refresh JS error
May 3, 2015
5846e9e
Improve bookmarks creation from filters
May 3, 2015
a66b4a6
Refactored problems view (test)
mohierf May 10, 2015
68f212d
Login page, include version word instead of v
mohierf May 10, 2015
28bd073
Add logging for share and photo dir
mohierf May 10, 2015
bdf577c
Element view : tags in share dir first ...
mohierf May 10, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ nosetests.xml
# OS generated files
*.pyc
*.DS_Store*
*.db

# backup file
*.py~
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ install:
- "pip install -r requirements.txt"
- "pip install coveralls"

script: nosetests -vx --with-coverage --cover-package=module
script: cd test && nosetests -vx --with-coverage --cover-package=module

after_success:
coveralls
Expand Down
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
###Description
Shinken main Web interface

###Installation

* Install the webui module from shinken.io
```
$ shinken install webui
```
* Add it into the modules of the broker configuration :
```
$ cat /etc/shinken/brokers/broker-master.cfg
[...]
modules webui
[...]
```
* Install an authentication module. For instance
```
$ shinken install auth-cfg-password
```

* Declare it on the WebUI configuration :
```
$ cat /etc/shinken/modules/webui.cfg
[...]
modules auth-cfg-password
[...]
```
* Restart shinken and connect to the WebUI that will be available on the 7767 port.
```
root@system# /etc/init.d/shinken restart
```

###Screenshots

Host Detail
Expand All @@ -13,9 +43,6 @@ System

###Dependencies

###Installation

*$ shinken install webui*

###Report a bug
* A helpful title - use descriptive keywords in the title and body so others can find your bug (avoiding duplicates).
Expand Down
Binary file added doc/user/Capture00.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture01.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture02.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture03.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture04.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture05.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture06.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture07.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture08.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture10.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/user/Capture11.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions doc/user/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Configuration


## Company logo
------------------------------------

If company logo is configured in the *webui.cfg* file, the company logo is displayed on the login page. If not found, a default logo is used.

![Default company logo](../../module/htdocs/images/default_logo.png "Default company logo")


## User picture
------------------------------------

If gravatar is configured in the *webui.cfg* file, the Web UI tries to find a Gravatar image to use for the logged in user.

If gravatar is not configured in the *webui.cfg* file, the Web UI tries to find an image username.png to use for the logged in user.

If none found, a default image is used.

![Default user logo](../../module/htdocs/images/default_user.png "Default user logo")

137 changes: 137 additions & 0 deletions doc/user/host_view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
# Host view
====================================
When an host is selected, the host element view displays all information known about this host.

Two tabs menu are available on this page. A _vertical tabs menu_ on the left side allows to display information about the host and send commands. An _horizontal tabs menu_ allows to display more information about the host monitoring status.

In this chapter, some more explanations about each available tab.

![Host view](./Capture10.JPG "Host view")


## Vertical tabs menu
------------------------------------

### Information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The host information pane contains information about :

- host current status : Up, Unreachable, Down
Host is Up if it communicates with the monitoring server.
Host is unreachable if the monitoring server does not known how to contact (host is behind a router that is down)
Host is down if it does not communicate with the monitoring server, or its check command answers Down

- host status flapping
Host status is flapping between two states (Up, Down, Up, Down, ...)

- host downtime
Host is a downtime period

- last host check:
When the last host check occured and what was the result: check output, performance data, latency and duration.

When the state changed for the last time and when the next check is programmed.


![Host information](./host01.JPG "Host information")


### Additional information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The host additional information pane contains information about :

- host check configuration :
The host is *actively* or *passively* checked. If passively, the *freshness check and threshold* indicates wether and when the *check command* is executed.
The host *check period* defines in which timeperiod the host is checked with the check *command*, and how many *retry* at which *interval*.


- flapping detection parameters
See http://nagios.sourceforge.net/docs/3_0/flapping.html

- notifications parameters
See http://nagios.sourceforge.net/docs/3_0/notifications.html

If notifications are enabled, during the *notification period*, the declared *contacts* will receive the configured notifications at each each notification *interval*.
The configured possible notifications are:
host is switching from / to a problem state
host is entering / exiting a downtime period
a downtime period is programmed / cancelled
host is starting / stopping flapping


![Host additional information](./host02.JPG "Host additional information")


### Commands
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The host commands pane contains information about :

- commands that can be sent to the host :
add a comment:
allows the user to add a persistent text message in the host comments

try to fix
if event handlers are enabled and an event handler is defined for the host, it may be started to try to fix the problem.

add an acknowledgement
allow the user to add an acknowledgement for the current problem

recheck now
allows to launch the check command for the host

submit a check result
allows to change the current host state and check output

change a custom variable
allows to change an host custom variable

schedule a downtime
allows to schedule a downtime period for the host


- current host commands state (set per-host configuration and not modifiable):
active checks enabled / disabled
passive checks enabled / disabled
freshness check enabled / disabled
notifications enabled / disabled
event handlers enabled / disabled
flapping detection enabled / disabled

![Host commands](./host03.JPG "Host commands")


### Configuration
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

![Host configuration](./host04.JPG "Host configuration")



## Horizontal tabs menu
------------------------------------

### Graphical status
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- view graphical status of the host (note that all hosts do not have such a view)

### Host services status
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- view host services status (Services tab)

### Comments
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- view comments and acknowledges (Comments tab) for the host. Comments are texts sent when an host status is acknowledged with the Acknowledge command.

### Graphs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- view graphs (Graphs tab) for the host. Graphs are performance data sent with the host check (heartbeat)

### Impact graph
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- view impact graph (Impact graph tab) for the host.

### Logs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- view logs (Logs graph tab) for the host. Overall system logs are filtered for the current host (last 100 logs)


Loading