Commit Graph

455 Commits

Author SHA1 Message Date
Matthias Jentsch f5e4831bef Fix layout of multi-detail view 2013-10-23 12:58:15 +02:00
Marius Hein 74461e7cb2 Add icons to config forms 2013-10-23 12:25:51 +02:00
Marius Hein 685976bb6c Add icons to command form template 2013-10-23 11:56:01 +02:00
Matthias Jentsch e19a6ace75 Add missing tooltips and fix typos
fixes #4921 #4920
2013-10-23 11:33:15 +02:00
Marius Hein 2142bb59d1 Add services to command controller
Move resource parameters for commands to get params.
2013-10-23 11:29:50 +02:00
Matthias Jentsch 51909ce60c Change the state indicator of the eventhistory view to match the other views 2013-10-23 10:45:13 +02:00
Jannis Moßhammer dc5182d4bf CommandHandler now uses Status/HostView, fix sql IN-Query bug 2013-10-23 10:19:55 +02:00
Thomas Gelf 9a8ae4c92a Make sure backend configs will not be missing at backend creation time 2013-10-22 20:46:55 +00:00
Thomas Gelf 385488c5df Blinking conference command 2013-10-22 20:39:54 +00:00
Thomas Gelf 7893572319 Added perfdata to CLI monitoring list command, still disabled 2013-10-22 20:38:16 +00:00
Thomas Gelf 3ac869981a Small perfdata improvements 2013-10-22 20:35:18 +00:00
Marius Hein bd6c1c7864 Merge branch 'bugfix/installation-fixes-4941'
Important vagrant changes:
    - Drop databases and users for icingaweb
    - Run vagrant provision to apply changes

fixes #4941
2013-10-22 17:55:15 +02:00
Thomas Gelf c820336df8 The amazing monitoring conference command 2013-10-22 15:52:51 +00:00
Marius Hein b9f03e27b7 Fix backend configuration while installation
refs #4941
2013-10-22 17:50:21 +02:00
Matthias Jentsch eaa3c81f7a Fix bug that caused the detail view to stay open, even when nothing was selected
fixes #4749
2013-10-22 17:06:05 +02:00
Jannis Moßhammer 16124989dd Various style fixes, changed icon size, fixed show/service 2013-10-22 15:58:24 +02:00
Thomas Gelf f2be16621b Move list documentation to default action unless help supports default 2013-10-22 13:53:58 +00:00
Eric Lippmann 46569bad32 Monitoring: Fix group and state summaries for IDO and Stadusdat 2013-10-22 15:11:07 +02:00
Eric Lippmann c5bed8ad00 Monitoring: Add host and service unhandled column; remove s from host- and servicegroups 2013-10-22 15:11:07 +02:00
Thomas Gelf a25cd80ec0 CLI interface: initial import 2013-10-22 12:26:45 +00:00
Thomas Gelf d1e61a1826 Skip web stuff when registering monitoring module on CLI 2013-10-22 12:24:46 +00:00
Thomas Gelf b1ba67bca9 Bugfix: in_downtime for pending services 2013-10-22 12:22:20 +00:00
Marius Hein 80fefe27dc Fixes create backend php strict notice
fixes #4940
2013-10-22 12:31:28 +02:00
Jannis Moßhammer f7c0eaa7c4 Fix/Reimplement dashboard
refs #4532
2013-10-22 12:10:12 +02:00
Matthias Jentsch 7614dcbbe8 Improve layout of comment view
Change each table row layout to display the data in horizontal rows instead of
single columns

fixes #4934
2013-10-22 10:42:40 +02:00
Matthias Jentsch 9e9142055f Fix the layout errors
Pull all containers in the host and service view to the left site. Change the
layout of the comments view to display the comments properly.

fixes #4934
2013-10-22 10:36:29 +02:00
Jannis Moßhammer cc5fa0a7b4 Fix suburls in grids not being recognized 2013-10-21 17:57:29 +02:00
Jannis Moßhammer b553b4b61e Fix tests reflecting removed 'OR' queries and array operator 2013-10-21 17:15:39 +02:00
Jannis Moßhammer c4f3e78c02 Fix filter behaviour, fix statusdat filter
refs #4469
2013-10-21 17:04:39 +02:00
Marius Hein a49691068e Add datepicker
refs #4929
2013-10-21 10:32:53 +02:00
Jannis Moßhammer 513b50dba5 Fix downtime query and schedule downtime 2013-10-20 16:11:39 +02:00
Eric Lippmann 36e9cdb549 Monitoring/register: Add status summary to the top bar 2013-10-20 16:08:53 +02:00
Jannis Moßhammer 278f975c48 Fix downtime query and schedule downtime 2013-10-20 16:00:56 +02:00
Eric Lippmann 33ecaaa52b Monitoring/Schedule Downtime: Fix form always creating type flexible 2013-10-20 15:56:09 +02:00
Jannis Moßhammer f3bbf09bae Status.dat query fixes and documentation after rebase
refs #3801
2013-10-20 15:16:44 +02:00
Jannis Moßhammer f350011028 Add Status.dat backend
refs #3801
2013-10-20 15:16:44 +02:00
Marius Hein 5a1a738ce7 Add form to configure objects
refs #4924
2013-10-20 13:15:11 +02:00
Eric Lippmann 652df9fd66 Monitoring/Downtimes: Wrap information in a two column view 2013-10-19 17:24:28 +02:00
Eric Lippmann d9afd06701 Monitoring/Summaries: Fix summary query wrest handled and unhandled 2013-10-19 17:22:25 +02:00
Marius Hein 53ab6dbbf1 Implement global command toggle form in process view
refs #4918
2013-10-19 15:28:51 +02:00
Marius Hein 73e8d60060 Implement global commands
resolves #4142
2013-10-19 13:25:18 +02:00
Eric Lippmann 06158aa4ea Monitoring/Notifications: Wrap information in a two column view 2013-10-19 13:13:56 +02:00
Matthias Jentsch 3f48a29c05 Fix problems caused by rebasing
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch 4f3f5c3aad Clean up old and unused command classes
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch 4836035437 Change multi-view style to match the look of the show views 2013-10-18 16:44:03 +02:00
Matthias Jentsch 9cba03b017 Add actual links and buttons to the multi-views
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch 4133d0093d Add support for different selection modes, using a data attribute in the mainDetailGrid
Add code to handle single, multi and no selection. Add the class 'hover' to
table rows, that are selectable to indicate when a row is selectable.

refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch ab2bbcd6dd Fix issue that prevented old form values from getting populated
refs #3788
2013-10-18 16:44:03 +02:00
Matthias Jentsch 1d07a766d9 Add form classes to handle the configuration
Add a tri-state form element to handle the configuration flags and add the form
to the controllers

refs #3788
2013-10-18 16:44:02 +02:00
Matthias Jentsch df0cb01a27 Change Multi-Views to a new layout
Add more detailed information about the current selection

refs #3788
2013-10-18 16:44:02 +02:00
Matthias Jentsch 8c416a51ce Add views and behaviour to MultiController
Add views for every possible action, fix some bugs in the JavaScript multi selection,
make selection hrefs in the list controllers unique to be able to handle the selection
properly

refs #3788
2013-10-18 16:44:02 +02:00
Matthias Jentsch b911e8c56b Add multi-object detail views
Add the controller to handle requests to the multi-detail view and fix some
bugs in the multiselection of the mainDetailGrid component

refs #3788
2013-10-18 16:44:02 +02:00
Marius Hein f6d16bb7d6 Change base class for queries
refs #4189
2013-10-18 11:38:28 +02:00
Marius Hein c805550662 Performance overview
resolves #4189
resolves #4136
2013-10-18 11:32:53 +02:00
Jannis Moßhammer ba0e15f28c Fix service name field
refs #3754
2013-10-17 21:58:06 +02:00
Jannis Moßhammer 6095a71a8d CS Fixes
refs #4868
2013-10-17 21:40:02 +02:00
Jannis Moßhammer 7a7c10e8df Fix EventHistory Query and tests
refs #4868
2013-10-17 20:53:11 +02:00
Jannis Moßhammer 4a95ba3468 Change url handling to detail on hashtag, add service filter
The url is now
http://%mainUrl%#%anchor%!detail=%detailUrl%
which allows us to better support IE and prevents
the detail url from appearing on the server side.

refs #4868
2013-10-17 19:55:00 +02:00
Jannis Moßhammer 3df8cacea8 Fix GroupSummary Base class
refs #3801
2013-10-17 19:55:00 +02:00
Jannis Moßhammer c034a5eff8 Fix tests and a few member access issues
refs #3801
2013-10-17 19:55:00 +02:00
Jannis Moßhammer 44be5e85da Refactoring and Query and IDO code,
the Monitoring/View code was completly dropped in favor of
the DataView implementations, as new Backends otherwise
would require to implement two seperate query logics

refs #3801
2013-10-17 19:54:58 +02:00
Jannis Moßhammer df81c85090 Fix Monitoring\Controller using renamed HostStatusView
refs #4469
2013-10-17 19:52:54 +02:00
Jannis Moßhammer d33cec78de Semantic search implementation
- Only implemented for hosts as an example
- URL behaviour still has to be normalized

refs #4469
2013-10-17 19:52:52 +02:00
Jannis Moßhammer dac61eda19 Implement Filter to IDO Sql parser
refs #4469
2013-10-17 19:52:25 +02:00
Jannis Moßhammer 24da98be83 Implement base filter library and tests
refs #4469
2013-10-17 19:52:25 +02:00
Eric Lippmann 74624601f7 Monitoring/History: Fix grouping w/ PostgreSQL
refs #4765
2013-10-17 16:18:34 +02:00
Eric Lippmann 676f9e5f72 Monitoring/History: Show icons and color for state changes
refs #4765
2013-10-17 16:18:34 +02:00
Eric Lippmann 68f20e6231 Monitoring/History: Add menu entry
refs #4765
2013-10-17 16:18:34 +02:00
Eric Lippmann bb8cad2a85 Add event history list view (WIP)
refs #4765
2013-10-17 16:18:34 +02:00
Marius Hein 6f26df60f3 Apply less mixins
refs #4895
2013-10-16 15:37:44 +02:00
Marius Hein cc8ecf262f Reorganized styles
refs #4895
2013-10-16 14:49:03 +02:00
Marius Hein 7a406b313f Adjusted buttons and a tags
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein 6f51f40fc0 Add real command button to detail panel
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein d0fe1be7f7 Add command form helper for buttons with icons or labels
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein d6fd3350e0 Apply style to detail
refs #4869
2013-10-15 18:10:36 +02:00
Marius Hein a69c7498ec Style comments, cowntimes, properties, flags in detail pane [WIP]
refs #4869
2013-10-15 18:10:36 +02:00
Eric Lippmann a730713c0a Add sort control to hostgroup summary and fix sort rules for the generic group summary
refs #4185
2013-10-15 15:33:53 +02:00
Eric Lippmann 103a4dbe91 Service Status: Fix filter by hostgroup throwing an exception
fixes #4747
2013-10-15 15:29:54 +02:00
Eric Lippmann f8938b34a4 Add yet hidden hostgroup summary w/ hostgroup overview rendered to detail
refs #4186
refs #4184
2013-10-15 15:13:49 +02:00
Eric Lippmann 2291e73c4c Servicegroup Summary: Add sort control
refs #4185
2013-10-15 15:13:48 +02:00
Eric Lippmann 1f571589de Add yet hidden servicegroup summary w/ servicegroup overview rendered to detail
refs #4185
refs #4183
2013-10-15 15:13:48 +02:00
Marius Hein 8e2549febe Fix broken tests
fixes #4878
2013-10-15 13:20:09 +02:00
Eric Lippmann ac2201c3bc Monitoring/List/Services: Fix select missing columns
refs #4824
2013-10-14 13:36:59 +02:00
Marius Hein 31555fdb6b Detail pane [WIP]
refs #4824
2013-10-14 13:30:01 +02:00
Marius Hein c02c18b23f Add logo and remove old struct survivors
refs #4824
2013-10-14 13:28:16 +02:00
Marius Hein 15f0f1aa59 Status view and icons
refs #4824
2013-10-14 13:27:43 +02:00
Marius Hein fe4ed3476f Design: Host and service list
Fix: Command controller and downtimes

refs #4824
2013-10-14 13:05:38 +02:00
Marius Hein 7e396fdf3f Implement hosts view
refs #4824
2013-10-14 13:02:41 +02:00
Eric Lippmann 408f369e45 Host/Detail: List properties explicitly, not with view helper
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann b28b4ba96a Monitoring/Host,Service: Remove fetch event history from function prefetch
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann 9120cb3d99 Add show services view script
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann 2588b8dbb6 Add monitoring controller class
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann 907b7f24cc Monitoring/Show actions: Readd tabs
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann d1f67c6ec9 Monitoring/Objects: Make fetch event history public
refs #4823
2013-10-14 12:57:26 +02:00
Eric Lippmann ca6c51aef7 Monitoring/DataView: Add static method fromParams to create a view from a parameters array
refs #4823
2013-10-14 12:57:26 +02:00
Marius Hein 53d2e34e23 Finish comment view
refs #4714
2013-10-09 09:35:32 +02:00
Marius Hein 0626bb19cb Implement a simple configurable command
resolves #4769
2013-10-09 09:35:32 +02:00
Marius Hein d7f6dcb3ce Comment Overview: Implement delete comment inline command [wip]
refs #4714
2013-10-09 09:35:32 +02:00
Marius Hein d109f370cd ellipsisText: Implement ellipsis component for text content
Use by comment overview.

refs #4714
2013-10-09 09:35:32 +02:00
Marius Hein 1eef471bc2 Comment overview: Basic implementation
refs #4714
2013-10-09 09:35:32 +02:00
Eric Lippmann d599030579 Contacts: Remove class active from tr, still buggy though
refs #4713
2013-10-09 09:32:21 +02:00
Matthias Jentsch 5d4533a6ad Add contact and contactgroup views
Create the new views, extend backend queries to fetch timeperiods and add
navigation bar entries

refs #4713
2013-10-09 09:32:21 +02:00
Eric Lippmann a42668edb8 Fix tests
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann 281626555b Hosts: Fix link to unhandled services
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann 5d0eaa5cd3 List host event history when showing a host
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann 18bd1c3221 List service event history when showing a service
refs #4663
2013-10-09 09:20:17 +02:00
Eric Lippmann 61bfcd495b Add more information to host and service list 2013-10-09 09:20:17 +02:00
Eric Lippmann c56771baa3 Monitoring: Fix list notifications 2013-10-09 09:20:17 +02:00
Eric Lippmann b89d61add3 Monitoring: Refactor data views (WIP)
refs #4663
2013-10-09 09:20:16 +02:00
Eric Lippmann 45bf37b085 Add library/Icinga/Chart skeleton
refs #4614
2013-09-25 14:24:26 +02:00
Marius Hein e7696bec89 CS: Fixes for controllers: Static, Action, List and Show
refs #4611
2013-09-24 12:52:00 +02:00
Marius Hein ff0760e507 MainDetail: Fix doc strings
refs #4611
2013-09-24 12:51:54 +02:00
Marius Hein 8bb89d7d34 Drop misleading secondary navigation and fix tab null return
refs #4611
2013-09-24 12:51:48 +02:00
Jannis Moßhammer 4206504c9c Fix tests for pagination in controller
refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer 376dc8cd0f Document form and container behaviour and simplify
Now the whole page gets refreshed on container changes, if
we encounter issues with that we can improve it afterwards
or roll back some cahnges already made in previous commits

refs #4611
2013-09-23 13:56:59 +02:00
Jannis Moßhammer 6d26240d6d Add Main detail state to url, renderhelper, container tests
-   The ActionController is now able to render a seperate detail view
-   All list scripts select the currently active row from the detail view with
    the 'active' class
-   Autosubmit is now again attached to the onchange attribute (to prevent issues
    when js can't load correctly)
-   Logout is now recognized and causes a page refresh (will be made more generic)
-   Add history mock for testing url changes
-   Update all grids to implement the app/mainDetailGrid component

refs #4611
2013-09-23 13:56:57 +02:00
Eric Lippmann 24f64e6d30 Fix conflicts from rebase, using inet_aton with pgsql, PHP strict standards violations, CS compliance
refs #4255
2013-09-17 15:12:18 +02:00
Thomas Gelf c6db0067ec Refactored Ido\EventHistoryQuery, now it's fully based on other subqueries.
* Added hostgroup filters
* Added aggregation columns
2013-09-17 10:54:21 +02:00
Thomas Gelf 26be35d447 Reverting change, this breaks things. No chance to redirect after rendering. 2013-09-17 10:46:31 +02:00
Thomas Gelf 42e73b866b Slight changes in the ListController... more tbd 2013-09-17 10:44:18 +02:00
Thomas Gelf 67b54f42bb Powerful contact/contactgroup filters. Shall soon be replaced by subjoining
their Query classes
2013-09-17 10:42:28 +02:00
Thomas Gelf aac0570382 StatehistoryView, initial commit 2013-09-17 10:42:28 +02:00
Thomas Gelf f6ef3faefb Some new hoststatus columns and filters. There is much more in the query, stay tuned 2013-09-17 10:42:28 +02:00
Thomas Gelf 624f4ab535 Once again, hostgroupS. We'll see... 2013-09-17 10:42:27 +02:00
Thomas Gelf dcdbf79328 Allow hostgroup filters for the EventHistory 2013-09-17 10:42:27 +02:00
Thomas Gelf 4ec1a9b118 More columns for contactgroups 2013-09-17 10:42:27 +02:00
Thomas Gelf e95c4fd080 More columns for contacts 2013-09-17 10:42:27 +02:00
Thomas Gelf 26c82f8760 Added view for all contacts, independently of whether they are directly
attached to objects or through contactgroups
2013-09-17 10:42:27 +02:00
Thomas Gelf 0ffef655df Prepared auth filters. Auth part still missing 2013-09-17 10:42:27 +02:00
Thomas Gelf ecaa12b0f4 Improved default sort bevahior 2013-09-17 10:42:27 +02:00
Thomas Gelf bb99358a21 Renamed MonitoringView to AbstractView 2013-09-17 10:41:02 +02:00
Thomas Gelf 258d7dbafb Did measurements, leads to new index suggestions 2013-09-17 10:38:14 +02:00
Thomas Gelf cc4cf42d0e Some TODO 2013-09-17 10:38:14 +02:00
Thomas Gelf 4b62297b3e Searching for 'unhandled' is more interesting than 'handled', other small fixes 2013-09-17 10:38:14 +02:00
Thomas Gelf 344a99bbb8 service_hard_state is the current hard state 2013-09-17 10:38:14 +02:00
Thomas Gelf b9805e579e A service is considered handled once the host is not UP 2013-09-17 10:38:14 +02:00
Thomas Gelf 781fb394ac More cleanup, timestamp fixes 2013-09-17 10:38:14 +02:00
Thomas Gelf cd37f47d1b Last/next check are timestamps, give NULL when it doesn't make sense 2013-09-17 10:38:14 +02:00
Thomas Gelf 200731aedc Some more readability 2013-09-17 10:38:14 +02:00
Thomas Gelf d5c86c5328 Readability, small fixes 2013-09-17 10:38:13 +02:00
Thomas Gelf 76ecc9184d hgo.name1 needs objects table to be around 2013-09-17 10:38:13 +02:00
Thomas Gelf 93e54fac62 Trying hard to get aggregations done right 2013-09-17 10:38:13 +02:00
Thomas Gelf 7e83099ef7 One more thing TODO 2013-09-17 10:38:13 +02:00
Thomas Gelf 3cd947ab29 A bunch of aggregating columns are interesting once joined with services 2013-09-17 10:36:05 +02:00
Thomas Gelf 86248d7bcb hostgroup. Without the 's'. And case insensitive 2013-09-17 10:36:05 +02:00
Thomas Gelf 6d27b688fe Added hostgroups column alias. Not sure about the 's' 2013-09-17 10:36:05 +02:00
Thomas Gelf eaaa7205c9 Have been using former namespace, fixed 2013-09-17 10:36:05 +02:00
Thomas Gelf cf26e3b106 Ido\AllcontactsQuery joins contacts directly and through contactgroups 2013-09-17 10:36:04 +02:00
Thomas Gelf d9f1c4678b Ido\ContactgroupQuery needs a conservative count approach 2013-09-17 10:36:04 +02:00
Thomas Gelf 521ef8cc47 Added a few columns to Ido\ContactgroupQuery, fixed joins 2013-09-16 17:02:30 +02:00