677 Commits

Author SHA1 Message Date
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
7e396fdf3f Implement hosts view
refs #4824
2013-10-14 13:02:41 +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
18bd1c3221 List service event history when showing a service
refs #4663
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
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
Thomas Gelf
23235e4513 Added a few columns to Ido/ContactQuery 2013-09-16 17:02:30 +02:00
Thomas Gelf
fbdfa7a59e StatehistoryQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf
07badc377e NotificationhistoryQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf
4330122221 DowntimestartQuery and DowntimeendQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf
eef5f6ae18 CommenthistoryQuery, initial commit 2013-09-16 17:02:30 +02:00
Thomas Gelf
d15481b643 Preparing base query before creating alias indexes.
* This allows the joinBaseTables functions to adjust columns in time
2013-09-16 17:02:30 +02:00
Thomas Gelf
bd983c7478 Default joinBaseTables implementation, can simplify simple queries 2013-09-16 17:02:30 +02:00
Thomas Gelf
f3eedd919f No more need for special treatment for some columns, as we can create filter* functions 2013-09-16 17:02:30 +02:00
Thomas Gelf
830b178e37 Fixed hardcoded default columns 2013-09-16 17:02:29 +02:00
Thomas Gelf
1c2142be27 Prepared filter support for aggregated columns (where VS having) 2013-09-16 17:02:29 +02:00
Thomas Gelf
df07735e9a Prepared more Oracle-specific id-columns 2013-09-16 17:01:47 +02:00
Thomas Gelf
d44c15eea0 Filter handling cleanup and small improvements:
* a pipe (|) is now accepted as OR
* improved readability
* prepared for splitting logic - most of this could be backend-agnostic
* greater / less then is now possible
2013-09-16 17:01:47 +02:00
Thomas Gelf
5467950e79 Shortcut for creating subqueries 2013-09-16 17:01:47 +02:00
Eric Lippmann
a5908c9553 CS: Replace multiple empty lines with one
find application/ library/Icinga/ test/ modules/ -name *.php | xargs sed -i '/^$/N;/^\n$/D'
2013-09-04 18:36:10 +02:00
Eric Lippmann
35fd9fd391 CS: Remove whitespaces at end of line
find application/ library/ test/ modules/ -name *.php | xargs sed -i 's/\s\+$//'
2013-09-04 18:27:16 +02:00
Eric Lippmann
1b858cbdb4 Monitoring: Fix remaining usages of namespace Monitoring without Icinga\Module prefix
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
8a062ff3e5 Fix tests after renaming the namespace
refs #4586
2013-09-04 11:21:12 +02:00
Eric Lippmann
c86874d4ba Rename namespace Monitoring to Icingæ\Module\Monitoring
refs #4586
2013-09-04 11:21:11 +02:00
Jannis Moßhammer
17c1e5a449 Add tests, move BaseFormTest away from modules/monitoring
refs #3777
2013-08-21 14:18:53 +02:00
Eric Lippmann
83fb198cd2 CS: Fix violations in MonitoringProperties, NotificationView and StatusQuery
refs #4187
2013-08-16 16:32:31 +02:00
Eric Lippmann
e5f3a063fb NotificationQuery: Fix PostgreSQL icompatibility
refs #4187
2013-08-16 16:23:15 +02:00