990 Commits

Author SHA1 Message Date
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
8baa2dec54 Command: Rename getParameters to getArguments
refs #4580
2013-09-16 14:46:18 +02:00
Eric Lippmann
a47db3497e Rename BaseCommand to Command
refs #4580
2013-09-16 14:44:59 +02:00
Eric Lippmann
bf012fbd7e Remove CommandType interface
Moved BaseCommand from the monitoring module to the application's library.

refs #4580
2013-09-16 14:39:14 +02:00
Johannes Meyer
8e60e2dcd9 Fix group and children handling of ScheduleDowntimeCommand
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
7045148f93 Adjust submitpassivecheckresult command handling
refs #4580
2013-09-16 13:14:29 +02:00
Johannes Meyer
fef8370d5f Adjust reschedulecheck command handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
e9dc895b37 Adjust delay notification handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
36424b508b Adjust custom notification handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
52079b2e73 Adjust schedule downtime handling
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
ba7f455643 Adjust schedule downtime handling (WIP)
refs #4580
2013-09-16 13:14:28 +02:00
Johannes Meyer
8022bf57af Some doc fixes and other improvements
refs #4580
2013-09-16 13:14:28 +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
Jannis Moßhammer
7f4e1936f7 Fix trigger downtime default value issing, docstring fixes
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
b74e264f01 Refactor comment command handling
- Refactored Comment class
- Dropped IComment interface
- Added AddCommentCommand class
- Updated CommentForm

refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
9a476f16f4 Re-refactor dispatch process of commands and acknowledgement handling
refs #4580
2013-09-04 18:08:00 +02:00
Johannes Meyer
1593406f31 Refactor Acknowledgement command handling
#refs 4580
2013-09-04 18:07:59 +02:00
Johannes Meyer
79eb6588c5 Restructure dispatch process of commands
refs #4580
2013-09-04 18:07:59 +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
Johannes Meyer
24ecbb56d7 Fix incorrect checkresult type selection
When submitting a passive checkresult for hosts only their correct
result types are added to the selection.

refs #4600
2013-09-02 17:24:42 +02:00
Jannis Moßhammer
895976550c Fix templates, capitalization and icons in php files
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Eric Lippmann
edb06ea8ea CS: Fix viloations for touched files in branch feature/backend-configuration-ui-3776
refs #3776
2013-08-21 14:22:31 +02:00