Commit Graph

54 Commits

Author SHA1 Message Date
Matthias Jentsch 37f58e55d8 Move macro resolcing functionality into separate class
Make macro resolving functionality available to all code, instead of depending on a view

resf #6392
2015-05-28 14:44:16 +02:00
Matthias Jentsch 4ac7557c2f Show host and service notes in the host and service detail view
refs #8235
2015-05-26 16:40:32 +02:00
Matthias Jentsch 598ef1e8f4 Add alt-text to icon_images
Print alt-text as title and alt-attribute in the helper class and add the alt-column to the backend query.

refs #9300
2015-05-21 14:59:12 +02:00
Matthias Jentsch c0cf6e4918 Display icon_images in all host and service detail views
refs #8665
2015-05-19 18:08:26 +02:00
Eric Lippmann 37823f0415 Select host_is_reachable in the host detail view
refs #6875
2015-03-13 00:25:44 +01:00
Eric Lippmann b501fef62b Rearrange columns in the Host object
refs #8614
2015-03-11 13:10:55 +01:00
Eric Lippmann ef4970c0c1 Don't select host_process_performance_data twice in the host detail view
refs #8614
2015-03-11 13:08:53 +01:00
Eric Lippmann 84f56f4e51 Don't select host_problem in the host detail view
The column host_problem is not used in the host detail view.

refs #8614
2015-03-11 13:08:11 +01:00
Eric Lippmann 37d09511c6 Don't select host_modified_host_attributes in the host detail view
The column host_modified_host_attributes is not used in the host detail view.

refs #8614
2015-03-11 13:07:33 +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
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 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
Thomas Gelf a8a7da4ade Object\Host: not-so-nice workaround, LS contancts 2014-11-16 19:28:08 +01:00
Thomas Gelf 6627b5ae6e Monitoring\Object: use MonitoringBackend
refs #7635
2014-11-11 16:29:07 +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
Eric Lippmann eb9fe0966b monitoring: Remove unnecessary break after throwing an exception 2014-10-29 13:37:20 +01: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 88b3b5d690 monitoring/`Host': Add `fetchServices', `fetchStats' and `getStateText' 2014-09-16 18:39:13 +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
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
Johannes Meyer 3105c2059e Remove license headers from all files
refs #6309
2014-07-15 13:43:52 +02: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 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 2f61075260 More comment query cleanup and fix a typo 2014-03-09 20:05:59 +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 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
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
Jannis Moßhammer 6095a71a8d CS Fixes
refs #4868
2013-10-17 21:40:02 +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 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
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 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 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