Commit Graph

355 Commits

Author SHA1 Message Date
Eric Lippmann 32fa7b314c GroupsummaryQuery: Rename baseQuery to select 2014-04-15 18:01:10 +02:00
Eric Lippmann 30e649eeb4 EventHistoryQuery: Rename baseQuery to select 2014-04-15 17:59:55 +02:00
Eric Lippmann 67ce376ef0 DowntimeQuery: Rename baseQuery to select 2014-04-15 17:58:06 +02:00
Eric Lippmann 64bee6a414 CustomvarQuery: Rename baseQuery to select 2014-04-15 17:57:12 +02:00
Eric Lippmann 22fa833836 ContactQuery: Rename baseQuery to select 2014-04-15 17:56:31 +02:00
Eric Lippmann c2d633ac49 ContactgroupQuery: Rename baseQuery to select 2014-04-15 17:55:13 +02:00
Eric Lippmann 5caffa78e2 CommentQuery: Rename baseQuery to select 2014-04-15 17:53:07 +02:00
Michael Friedrich e6bb32be64 Fix division by zero in Perfdata.php
Fixes #5708

Signed-off-by: Michael Friedrich <Michael.Friedrich@netways.de>
2014-04-06 19:35:08 +02:00
Johannes Meyer 8be3ccc527 Make it possible to save the session by its associated session namespaces 2014-04-04 11:13:07 +02:00
Johannes Meyer ae2d61682f Fix how the timeline processes dates
refs #4190
2014-04-02 10:53:39 +02:00
Johannes Meyer 21b9c1f4af Fix that filters are not preserved on timeline element urls
refs #4190
2014-04-01 14:26:10 +02:00
Johannes Meyer 19b2a94777 Fix that the timeline does not regenerate the logarithmical base
refs #4190
2014-04-01 11:46:45 +02:00
Johannes Meyer 3d658a664c Do not use logarithm base from session if the timeline is not being extended
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer f7c6cd3c2a Make it possible to set a minimum circle width
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer f5e4331d71 Add timeline view script and styles
refs #4190
2014-04-01 11:46:43 +02:00
Johannes Meyer 66c3dd26e5 Be window aware when calculating circle widths
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer 2e19baf503 Make GET param of interval selection widget more generic 2014-04-01 11:44:25 +02:00
Johannes Meyer 18b5f715c5 Refactor timeline components
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer e21d288f5b Fix that the TimeRange cannot handle events occured at full hours
refs #4190
2014-04-01 11:44:25 +02:00
Johannes Meyer b22f3f6b47 The timeline object is NOT a form
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer 5e945e3194 Make interval selection being a widget
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer aade2ab7f6 Move timeline classes into the monitoring module
refs #4190
2014-04-01 11:44:24 +02:00
Johannes Meyer b168cf878d Fix type specification in DowntimestarthistoryQuery
refs #4190
2014-04-01 11:44:23 +02:00
Thomas Gelf b37c902e2d Prepare AbstractObject for farther performance tuning 2014-03-21 10:34:42 +00:00
Thomas Gelf 3b2272f825 Customvars are in customvariablestatus, "bugfix" in 1.10 has been reverted 2014-03-21 10:32:27 +00:00
Thomas Gelf 99041d0f15 Prepare support for custom additional columns 2014-03-21 10:24:17 +00:00
Johannes Meyer 71f4b6960b Add servicematrix view
refs #4180
2014-03-19 09:11:24 +01:00
Thomas Gelf 6466c768be Just whitespace 2014-03-09 22:48:38 +01:00
Thomas Gelf ad432217b2 Fix downtime scheduled start/end sort error 2014-03-09 22:35:33 +01:00
Thomas Gelf bf66271e49 Still downtimes 2014-03-09 22:32:40 +01:00
Thomas Gelf 88859cb838 The next fat package: downtimes, everywhere 2014-03-09 21:58:01 +01:00
Thomas Gelf 2f61075260 More comment query cleanup and fix a typo 2014-03-09 20:05:59 +01:00
Thomas Gelf 1659df216d Just a new TODO note 2014-03-09 19:43:04 +01:00
Thomas Gelf 2c3da5969a Great, sortControl is not alias-aware. Fix comment sort options 2014-03-09 19:39:32 +01:00
Thomas Gelf 63fd074a4f Comments are still messy, clean up and fix adding / removing them 2014-03-09 19:29:23 +01:00
Thomas Gelf a87925bbf6 Refactored notifications for object detail view 2014-03-08 21:02:22 +01:00
Thomas Gelf 740df4ccac Cleaning up object downtimes. What a mess... :( 2014-03-08 18:28:19 +01:00
Johannes Meyer e8a626e896 Change the way how boxed status information is presented to the user 2014-03-07 16:43:41 +01:00
Alexander Klimov 45520fe2d6 Remove hardcoded filter in state history summary query 2014-03-07 15:04:43 +01:00
Johannes Meyer 067fa02263 Split and merge status summary in tactical overview 2014-03-07 08:59:20 +01:00
Michael Friedrich 5853614d55 Fix CSV Export in monitoring module.
Fixes #5722
2014-03-06 23:54:03 +01:00
Michael Friedrich 91c15747cf Notification History: Fix contactnotificationmethods left join. 2014-03-06 22:18:32 +01:00
Thomas Gelf 84a62b7bbf Raw timestamp is for sort only 2014-03-06 18:42:26 +00:00
Johannes Meyer 1b503fd187 Clean up StatusSummary query 2014-03-06 14:29:50 +01:00
Alexander Klimov b410ebeed6 Remove unnecessary spaces at end of line 2014-03-06 13:08:11 +01:00
Thomas Gelf 864dc15514 Icinga Core 2 doesn't fill notification commands 2014-03-06 11:05:53 +00:00
Thomas Gelf 5dbf1e48a7 Allow format=sql to everybody right now
* we have no "devel" environment any more
* we might allow this based on permissions
2014-03-06 09:17:55 +00:00
Thomas Gelf 7d22994d80 Dudes need better error messages 2014-03-04 14:08:44 +00:00
Thomas Gelf 23daa39205 Ugly temporary fix for Monitoring\Object problems 2014-03-04 12:59:26 +00:00
Thomas Gelf 8ccd748310 Allow "better" join for comments 2014-03-04 12:57:40 +00:00
Thomas Gelf edb7ea076e Prevent CommentQuery from doing nonsense Joins, may break some views 2014-03-04 12:43:44 +00:00
Thomas Gelf 9cc3bb75ca Improved severity column, still subject to changes 2014-03-04 12:33:54 +00:00
Thomas Gelf f5d796255c Allow Ido Queries to define conflicts 2014-03-04 12:31:20 +00:00
Thomas Gelf c2213e7b71 Merge branch 'feature/tactical-overview-3782' into feature/master-1 2014-03-04 10:26:51 +00:00
Thomas Gelf 57caacb93f Merge branch 'feature/fanzzzy-5481' into feature/master-1
Conflicts:
	application/controllers/AuthenticationController.php
	application/controllers/ErrorController.php
	application/views/scripts/authentication/login.phtml
	library/Icinga/Application/ApplicationBootstrap.php
	library/Icinga/Web/Controller/ActionController.php
	library/Icinga/Web/Hook.php
	library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Eric Lippmann 07d04628cf Merge branch 'feature/installation-and-configuration-cleanup-5638'
Conflicts:
	config/config.ini.in
	library/Icinga/Application/ApplicationBootstrap.php
	library/Icinga/Application/Cli.php
	library/Icinga/Application/EmbeddedWeb.php
	library/Icinga/Application/Logger.php
	library/Icinga/Application/Modules/Manager.php
	library/Icinga/Application/Web.php
	library/Icinga/Authentication/Backend/DbUserBackend.php
	library/Icinga/Authentication/Manager.php
	library/Icinga/User/Preferences/IniStore.php
	test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Johannes Meyer ba45d64891 Extend StatusSummaryQuery and its view
refs #3782
2014-03-03 09:03:07 +01:00
Alexander Klimov b8efe1a93c Collect some garbage in the source code 2014-02-28 08:48:34 +01:00
Alexander Klimov 0e0672e0c1 Add tactical overview (WIP)
refs #3782
2014-02-28 08:48:34 +01:00
Johannes Meyer 3555e66018 Make IcingaWeb using the new log wrapper
refs #5683
2014-02-26 11:19:52 +01:00
Thomas Gelf 7ff4f55737 Quick & dirty proposal for new grouped history overviews 2014-02-21 14:05:28 +00:00
Thomas Gelf 02f16a90f7 Don't prefetch downtimes and don't fetch hostgroups for service objects 2014-02-21 14:05:27 +00:00
Thomas Gelf 3fa5ef0ea2 We want to sort by raw timestamps, we don't want to fetch them 2014-02-21 14:05:27 +00:00
Thomas Gelf 948af6a194 We need service perfdata for inline pies 2014-02-21 14:04:40 +00:00
Thomas Gelf 8ef6cc79cc Allow to sort contact groups by alias name 2014-02-21 14:04:39 +00:00
Thomas Gelf 55df4831d7 Monitoring backends are not allowed to return non-unixtime timestamps 2014-02-21 14:03:50 +00:00
Thomas Gelf 77dada8318 A few small backend changes 2014-02-21 14:03:49 +00:00
Thomas Gelf 249018808b Added missing columns to the groupsummary queries 2014-02-21 14:03:49 +00:00
Johannes Meyer c89f3b6140 Add filter functionality to eventhistory view and fix default order direction
refs #5589
2014-02-21 12:59:32 +01:00
Markus Frosch 971a87c608 Fixed executable flags on normal files.
Refs #5040
2014-02-18 09:42:13 +01:00
Marius Hein 1a6d1a20fb Fix: Simplify TopBar hook
refs #5597
2014-02-12 09:58:59 +01:00
Marius Hein 51188daa45 Implenent TopBar hook and status summary as hook in monitoring
refs #5597
2014-02-11 17:12:17 +01:00
Johannes Meyer de546858c2 Add missing fetch routine for customvars in AbstractObject
refs #4490
2014-01-31 15:57:53 +01:00
Johannes Meyer ac0b041523 Remove session handling from the authentication manager
refs #5510
2014-01-24 14:44:19 +01:00
Thomas Gelf 6ef87f4644 Example showing restriction usage in the monitoring module
fixes #4108
2014-01-22 13:34:39 +00:00
Eric Lippmann c9db103384 Monitoring/Statusdat: Fix filter by handled/unhandled
refs #3801
2013-10-25 13:52:51 +02:00
Eric Lippmann ec42ddde12 Landing Page: Show unhandled host and service problems 2013-10-23 15:55:53 +02:00
Eric Lippmann e48afa762c Monitoring/Controller: Move property compactView to base controller class 2013-10-23 15:38:06 +02:00
Eric Lippmann 1229eae0bf Monitoring/Perfdata: Fix throwing an exception when perfdata is a number with an exponential base 2013-10-23 15:26:51 +02:00
Eric Lippmann 4e9e5ca2dc Monitoring/Ido/Service Status: Add unhandled, handled and problems columns 2013-10-23 15:13:02 +02:00
Eric Lippmann ca1d50ae53 Rename Icinga 2 Web to Icinga Web 2 2013-10-23 15:11:06 +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 3ac869981a Small perfdata improvements 2013-10-22 20:35:18 +00:00
Marius Hein b9f03e27b7 Fix backend configuration while installation
refs #4941
2013-10-22 17:50:21 +02:00
Jannis Moßhammer 16124989dd Various style fixes, changed icon size, fixed show/service 2013-10-22 15:58:24 +02: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 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
Jannis Moßhammer cc5fa0a7b4 Fix suburls in grids not being recognized 2013-10-21 17:57:29 +02:00
Jannis Moßhammer c4f3e78c02 Fix filter behaviour, fix statusdat filter
refs #4469
2013-10-21 17:04:39 +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
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 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 4f3f5c3aad Clean up old and unused command classes
refs #3788
2013-10-18 16:44:03 +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
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 bb8cad2a85 Add event history list view (WIP)
refs #4765
2013-10-17 16:18:34 +02:00
Marius Hein 6f51f40fc0 Add real command button to detail panel
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
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 15f0f1aa59 Status view and icons
refs #4824
2013-10-14 13:27:43 +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 2588b8dbb6 Add monitoring controller class
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 0626bb19cb Implement a simple configurable command
resolves #4769
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
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 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 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 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