Eric Lippmann
9dc6e65e5f
Don't select host_output column in the service detail view
...
The column host_output is not used in the service detail view
refs #8614
2015-03-10 13:05:54 +01:00
Eric Lippmann
6d78ab69ef
Don't select service_severity column in the service detail view
...
The column service_severity is not used in the service detail view.
refs #8614
2015-03-10 13:03:55 +01:00
Eric Lippmann
2ba5e8eb0c
Don't select service_unhandled column in the service detail view
...
The column service_unhandled is not used in the service detail view.
refs #8614
2015-03-10 13:02:57 +01:00
Eric Lippmann
b2bb5af0a7
Don't select host_problem in the service detail view
...
The column host_problem is not used in the service detail view.
refs #8614
2015-03-10 13:01:41 +01:00
Eric Lippmann
af4bce3557
Do not select icon_image columns in the service detail view
...
The columns host_icon_image and service_icon_image are not used in the service detail view.
refs #8665
refs #8614
2015-03-10 10:00:07 +01:00
Eric Lippmann
330b575c7c
Remove duplicate service_last_check column from the service detail view select
...
refs #8614
2015-03-10 09:58:36 +01:00
Eric Lippmann
2d3fec9a42
Do not select host_state_type in the service detail view
...
The column host_state_type is not used in the service detail view.
refs #8614
2015-03-10 09:57:51 +01:00
Matthias Jentsch
266e781a93
Deduplicate Hosts and Services-Controller
...
Create functions in abstract class for filtering hosts and services, instead of reimplementing it in the controller.
2015-03-06 17:52:06 +01:00
Matthias Jentsch
1cfcb934b0
Deduplicate state summary
...
Use existing partials for rendering the state summary instead of a new one.
refs #8565
2015-03-06 17:30:59 +01:00
Eric Lippmann
7317aa7158
Do not join hosts when fetching a service's downtimes
...
refs #8614
2015-03-06 13:14:20 +01:00
Eric Lippmann
64d1d12c73
Do not join icinga_hosts when fetching a service's contact groups
...
refs #8614
2015-03-06 10:02:20 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba
.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Eric Lippmann
7bf6bd39e9
monitoring: Implement Filterable in MonitoredObject
2015-01-27 14:54:21 +01:00
Johannes Meyer
6845480b5f
Fix that strtoupper can't handle non ascii chars
...
Fixed by not using strtoupper or by using it prior
to the translation of the corresponding string.
fixes #8163
2015-01-22 14:37:07 +01:00
Eric Lippmann
1aa91f0228
monitoring: Select host and service display_name for an object's history
...
refs #7843
2015-01-22 10:57:15 +01:00
Eric Lippmann
4539462bc7
monitoring: Select host_display_name in the host and service object
...
refs #7843
2015-01-22 10:34:35 +01:00
Eric Lippmann
680b7e4eba
monitoring: Prever 'Hostname' over 'Host name' in PHPDoc
2015-01-20 16:11:41 +01:00
Eric Lippmann
e376bd6285
monitoring: Fix that exporting a object's history throws an exception
...
fixes #6586
2014-12-29 17:54:09 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Thomas Gelf
a8a7da4ade
Object\Host: not-so-nice workaround, LS contancts
2014-11-16 19:28:08 +01:00
Thomas Gelf
7f22afbc21
MonitoredObject: temporary livestatus workaround
2014-11-16 19:24:37 +01:00
Thomas Gelf
4876854893
Monitoring\ObjectList: expect a MonitoringObject
2014-11-12 00:16:07 +01:00
Thomas Gelf
3f4110d33d
MonitoredObject: use MonitoringBackend::instance
...
refs #7635
2014-11-11 16:43:51 +01:00
Thomas Gelf
6627b5ae6e
Monitoring\Object: use MonitoringBackend
...
refs #7635
2014-11-11 16:29:07 +01:00
Thomas Gelf
74e60ec0f6
MonitoredObject: decode structured customvars
...
fixes #7569
2014-11-06 16:15:16 +01:00
Thomas Gelf
18bd49e636
Monitoring/Object: re-add process_perfdata
...
We would live better with unique column names on hosts and services
* Got introduced in 6095e440
and removed in c0e34473
* This might be a canditate for a regression test, as only graphers (PNP) are using this columns right now
* It makes IMO absolutely no sense to keep all those long column names in that object classes
2014-11-01 01:47:55 +01:00
Alexander Fuhr
f095489017
Fix multiple contacts display in service and host detail pane
...
fixes #7329
2014-10-31 11:34:48 +01:00
Eric Lippmann
eb9fe0966b
monitoring: Remove unnecessary break after throwing an exception
2014-10-29 13:37:20 +01:00
Eric Lippmann
d9194c2696
monitoring: Rewrite Service::getStateText() to get the optional translated textual representation of a service state
2014-10-29 13:36:24 +01:00
Alexander Fuhr
a0122763a6
Fix Queries: Summaries, Host, Service
2014-10-06 11:37:33 +02:00
Alexander Fuhr
e6c674e221
MonitoredObject: Implement awesome __isset()
2014-09-30 14:47:17 +02:00
Johannes Meyer
032437cdeb
The *group dataview classes are not in camelCase
...
Developing on case-insensitive filesystems for mainly
case-sensitive ones is bad habit ;P
2014-09-24 10:21:19 +02:00
Eric Lippmann
3229e5e587
monitoring: Add new multiselection controllers
2014-09-23 22:47:26 -07:00
Eric Lippmann
df18eab69b
monitoring: Provide service stats on both the host and the service object
2014-09-23 22:17:22 -07:00
Eric Lippmann
cc2d06e582
monitoring/`Service': Add `getStateText()', let `getHost()' return the host object
...
refs #6593
2014-09-16 18:44:44 +02:00
Eric Lippmann
88b3b5d690
monitoring/`Host': Add `fetchServices', `fetchStats' and `getStateText'
2014-09-16 18:39:13 +02:00
Eric Lippmann
c04768ee8f
monitoring/`MonitoredObject': Use `host_name' and `service_description' for filtering
2014-09-16 18:38:03 +02:00
Eric Lippmann
c0e3447339
monitoring: Adapt host and service classes to match their base class' interface
2014-09-12 10:17:46 +02:00
Eric Lippmann
aca5a2e466
monitoring: Fetch Icinga object properties lazily
2014-09-12 10:16:31 +02:00
Eric Lippmann
0e7ca591ec
Merge branch 'master' into bugfix/commands-6593
...
Conflicts:
application/forms/Preference/GeneralForm.php
application/views/helpers/FormDateTime.php
modules/monitoring/application/forms/Command/CommandForm.php
2014-09-08 10:16:05 +02:00
Thomas Gelf
6095e44064
Host/Service: provide process_perfdata attribute
2014-09-05 19:05:13 +02:00
Marius Hein
f8b3ffb3c8
AbstractObject: Rename to MonitoredObject
...
refs #6932
2014-09-04 14:00:48 +02:00
Eric Lippmann
a45b17fcd0
monitoring/lib: Add methods `Service::getHostName()' and `Service::getName()'
...
The upcoming service command objects will require a service object.
In order to build the command string, the service command objects require
retrieval of the service's host name and the service's name.
The actual implementation of the methods is subject to change
refs #6593
2014-09-04 12:54:52 +02:00
Thomas Gelf
a8d33d90e2
Monitoring\Object: fix a couple of cv-related issues
...
* Don't throw exceptions with no config
* Provide a secure default if not configured
* Improve code readability
2014-08-20 13:36:03 +02:00
Alexander Klimov
071937910b
Monitoring/Object: filter protected customvars
...
Move the responsibility from the viewscript to Monitoring/Object
refs #6641
2014-08-19 18:46:37 +02:00
Johannes Meyer
3105c2059e
Remove license headers from all files
...
refs #6309
2014-07-15 13:43:52 +02:00
Thomas Gelf
ff9c29472e
monitoring/status: re-introduce comments, problems
...
This re-introduces expensive columns been disabled time ago and adds
even more to it. We are now showing last comment, last ack comment and
service problem count on hosts in list views.
It still costs performance, but seems that we can stand it. I'd like
to add more like this to the host view.
2014-06-25 21:42:24 +02:00
Thomas Gelf
32572ae653
Monitoring\Object\Service: don't load host comment
...
I'd like to reintroduce those columns, showing last object comment
and so one. Those joins are costly, we can fetch host comments way
easier directly from host object once we are here. But I guess we
don't even need it.
2014-06-25 20:21:19 +02:00
Thomas Gelf
75a9640563
Monitoring\Object\Service: add check performance
...
Service object was missing latency and check properties
2014-06-17 13:14:00 +00:00
Thomas Gelf
0e09a1c7ba
Monitoring\Object\Host: explicit WHERE
...
Related to the former commit, no more auto-voodoo
2014-06-17 13:12:36 +00:00
Thomas Gelf
3ccfe347f3
Monitoring\Object: replace fromRequest with params
...
This is only a temporary solution, the Monitoring\Object should be
fetched from the backend created in our front controller.
2014-06-17 13:10:54 +00:00
Thomas Gelf
4f3596fcaf
Monitoring\Object: fit new Query classes
...
refs #6418
2014-06-06 07:09:15 +00:00
Thomas Gelf
3adf7752c4
Data\Db\DbQuery: rename also in monitoring module
...
refs #6418
2014-06-06 06:51:11 +00:00
Thomas Gelf
8b28bdc82a
Monitoring\Object: small fix for strange private's
2014-05-20 22:22:48 +00:00
Thomas Gelf
a7b8e0023d
Monitoring\Object: explictely define columns
...
Define the colums we use instead of fetching "everything" status view
provides. Without this performance degrades with every new feature.
2014-05-20 22:19:26 +00: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
b37c902e2d
Prepare AbstractObject for farther performance tuning
2014-03-21 10:34:42 +00: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
63fd074a4f
Comments are still messy, clean up and fix adding / removing them
2014-03-09 19:29:23 +01:00
Thomas Gelf
740df4ccac
Cleaning up object downtimes. What a mess... :(
2014-03-08 18:28:19 +01:00
Thomas Gelf
84a62b7bbf
Raw timestamp is for sort only
2014-03-06 18:42:26 +00:00
Thomas Gelf
23daa39205
Ugly temporary fix for Monitoring\Object problems
2014-03-04 12:59:26 +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
77dada8318
A few small backend changes
2014-02-21 14:03:49 +00:00
Johannes Meyer
de546858c2
Add missing fetch routine for customvars in AbstractObject
...
refs #4490
2014-01-31 15:57:53 +01:00
Jannis Moßhammer
f350011028
Add Status.dat backend
...
refs #3801
2013-10-20 15:16:44 +02:00
Eric Lippmann
652df9fd66
Monitoring/Downtimes: Wrap information in a two column view
2013-10-19 17:24:28 +02:00
Jannis Moßhammer
6095a71a8d
CS Fixes
...
refs #4868
2013-10-17 21:40:02 +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
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
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
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
d1f67c6ec9
Monitoring/Objects: Make fetch event history public
...
refs #4823
2013-10-14 12:57:26 +02:00
Marius Hein
1eef471bc2
Comment overview: Basic implementation
...
refs #4714
2013-10-09 09:35:32 +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
b89d61add3
Monitoring: Refactor data views (WIP)
...
refs #4663
2013-10-09 09:20:16 +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
c86874d4ba
Rename namespace Monitoring to Icingæ\Module\Monitoring
...
refs #4586
2013-09-04 11:21:11 +02:00
Eric Lippmann
290c8c5225
CC: Add newline to end of file where missing
...
Following command was used:
$ find application/ library/Icinga/ modules/ -name *.php | xargs sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba;$a\'
2013-08-07 10:27:50 +02:00
Marius Hein
6742696e09
Autoloader: Rename module namespace
2013-07-15 12:16:14 +02:00
Eric Lippmann
d871b3c287
Update the monitoring module
2013-07-12 14:33:17 +02:00