5018 Commits

Author SHA1 Message Date
Eric Lippmann
3afcf277bd Monitoring/ListController: Remove variable grapher from view
The variable grapher retrieved as first available grapher hook is not being
used anywhere.
2014-05-07 09:27:42 +02:00
Eric Lippmann
d87788b9c1 Merge branch 'master' into feature/query-interfaces-6018
Conflicts:
	modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactgroupQuery.php
2014-05-06 18:45:12 +02:00
Eric Lippmann
97d6feccb8 Data views: Expect a query instance instead of a backend 2014-05-06 18:34:01 +02:00
Eric Lippmann
c23e0c3782 Remove createBackend() method from the base controller
Refering to d389d8e we'll use Backend::createBackend() for accessing monitoring backends.
2014-05-06 18:24:42 +02:00
Thomas Gelf
d389d8e0f0 Re-establish Backend::createBackend
This partially reverts fcf7f7d6. The original intention was to have
no library code reading config. Moving code snippets to another lib
doesn't solve this. We need quick & easy access to a monitoring
backend, on CLI, in other modules and so forth. Duplicating so much
code again and again is not an option.

I prefer the former way of doing things unless we find a better
solution.
2014-05-06 18:23:22 +02:00
Johannes Meyer
0627d954ac Fix usages of Icinga\Module\Monitoring\Plugin\*
refs #5973
2014-05-05 16:16:45 +02:00
Johannes Meyer
3d88e720c4 Rewrite perfdata plugin classes
refs #5973
2014-05-05 16:15:49 +02:00
Johannes Meyer
d4502575d3 Fix filter test location 2014-05-05 16:15:26 +02:00
Gunnar Beutner
b7f4fa4a29 Fix deprecation warning in Perfdata.php
fixes #6076
2014-04-29 12:00:34 +02:00
Johannes Meyer
e2ba172a8e Make dashboard components using the ini writer class
fixes #5524
2014-04-29 11:30:53 +02:00
Johannes Meyer
290fe9eeb5 Rewrite test for Icinga\Web\Hook
refs #6011
2014-04-28 14:06:40 +02:00
Johannes Meyer
1db9b1ede4 Move non-factory functions from DateTimeFactory to Icinga\Util\Format 2014-04-28 14:06:39 +02:00
Matthias Jentsch
c641988233 Preserve multiselection during refresh
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b791883fa8 Fix configuration checkboxes and colors in piecharts
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
b16c6efa05 Add PieChart to display hosts and services, improve layout and fix flag
checkboxes

refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
081b5072a6 Fix layout of MultiController views
refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch
cb630d45ad Fix issues issues with javascript multiselection
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
3b2bb3c4fc Move functions to perform single, multi and range-selection into the ui module
refs #5765
2014-04-28 09:48:05 +02:00
Matthias Jentsch
6d303f1c42 Add abillity for multi and range-selection to events.js
Add the abillity to select multiple rows, with a multi-selection using the
CTRL-key or a range-selection using the shift-key. Also fix several issues in
the Multi-Controller of the Backend.

refs #5765
2014-04-28 09:48:05 +02:00
Thomas Gelf
f741bc01f3 We need stricter control over Monitoring Object queries
* fromRequest-generated ones are sometimes buggy and sometimes slow
* this is just a temporary quickfix for the worst problems
2014-04-17 16:41:10 +00:00
Thomas Gelf
cf7aaaed8e Better sort default for service status 2014-04-17 16:25:32 +00:00
Thomas Gelf
54175f98bf Fix wrong contactgroup service column and make better use of MySQL indexes 2014-04-17 16:14:57 +00:00
Eric Lippmann
fcf7f7d6dc Replace Backend::createBackend() with Monitoring/Controller::createBackend()
Library code should not read configuration files. The new createBackend() method
from Monitoring/Controller takes care of reading backend configuration and error
handling. The Backend constructor now requires a resource instance.
2014-04-17 15:53:23 +02:00
Eric Lippmann
e804f56d5f Data views: Rename getTableName() to getQueryName()
getQueryName is more obvious because the function returns
the name of the query the view should use for querying.
2014-04-17 13:59:11 +02:00
Eric Lippmann
62e044d888 IdoQuery: Move resolveColumns() to the columns() function
Since the BaseQuery no longer allows passing the columns to select via
its the constructor, the columns are resolved when set by the
columns() function.
2014-04-16 10:06:44 +02:00
Eric Lippmann
eeadc17a6e StatusQuery: Rename baseQuery to select 2014-04-15 18:12:56 +02:00
Eric Lippmann
734c329caa StatusSummaryQuery: Rename baseQuery to select 2014-04-15 18:12:00 +02:00
Eric Lippmann
2ba1ef4793 StateHistorySummaryQuery: Rename baseQuery to select 2014-04-15 18:11:09 +02:00
Eric Lippmann
a30d1cdb2f ServicegroupQuery: Rename baseQuery to select 2014-04-15 18:10:30 +02:00
Eric Lippmann
ac5edc153a RuntimesummaryQuery: Rename baseQuery to select 2014-04-15 18:09:54 +02:00
Eric Lippmann
0adbb6a44e NotificationQuery: Rename baseQuery to select 2014-04-15 18:09:08 +02:00
Eric Lippmann
687fa09f7c NotificationhistoryQuery: Rename baseQuery to select 2014-04-15 18:07:34 +02:00
Eric Lippmann
cb812b59a8 HoststatusQuery: Rename baseQuery to select 2014-04-15 18:06:37 +02:00
Eric Lippmann
8b471e29e5 HostgroupQuery: Rename baseQuery to select 2014-04-15 18:02:03 +02:00
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
Johannes Meyer
4c8428423e Convert existing mocks to Mockery-mocks (Part 1)
refs #4639
2014-04-11 17:03:45 +02:00
Johannes Meyer
927772578d We do not want to use "@backupStaticAttributes enabled"
refs #4639
2014-04-11 15:31:29 +02:00
Johannes Meyer
f3c87782cb Remove uneccesary date_default_timezone_set calls
refs #4639
2014-04-11 10:32:47 +02:00
Johannes Meyer
7903d44af9 Fix testing documentation
refs #4639
2014-04-10 15:54:50 +02:00
Johannes Meyer
1db9247d0d Fix module tests
refs #4639
2014-04-10 14:52:08 +02:00
Marius Hein
746cc4b5d9 Drop obsolete test cases
refs #4639
2014-04-09 09:26:11 +02:00
Marius Hein
34822d9a02 Clean up tests [WIP]
refs #4639
2014-04-09 09:23:59 +02:00
Johannes Meyer
139023571f Fix exception on 404 in monitoring/show/ 2014-04-09 08:44:51 +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