Commit Graph

1413 Commits

Author SHA1 Message Date
Alexander A. Klimov aad7baa5c4 Perfdata::getPercentage(): prevent division by integer 0
fixes #10331
2015-12-15 17:32:45 +01:00
Johannes Meyer 7c6471da86 Action: Return the new url if it has been resolved
This was already part of the 2.0 release, but was working however. Got
revealed by a restructuring commit a few weeks ago.

fixes #10702
2015-11-23 10:34:46 +01:00
Thomas Gelf b643c97fb0 IdoQuery: pass ourselves to hook, not back to us 2015-11-13 18:01:39 +01:00
Thomas Gelf fd7165329a IdoQuery: provide ourselves to the hook 2015-11-13 17:37:03 +01:00
Thomas Gelf cd16206c7e IdoQuery: fix typo 2015-11-13 17:37:03 +01:00
Thomas Gelf 2589fbcf04 IdoQuery::joinHookedVirtualTable: missing method 2015-11-13 17:37:03 +01:00
Thomas Gelf b7352105d2 IdoQueryExtensionHook: "just a new hook" 2015-11-13 17:37:03 +01:00
Thomas Gelf 6394cec933 DataviewExtensionHook: return fetched columns 2015-11-13 17:37:03 +01:00
Thomas Gelf 0e709d5469 DataViewHost/Servicestatus: use hooked columns 2015-11-13 17:37:02 +01:00
Thomas Gelf ff2c96e553 DataviewExtensionHook: we always want an array
This way implementors do not need to care
2015-11-13 17:37:02 +01:00
Thomas Gelf 35d3342b05 DataviewExtensionHook: just a new hook 2015-11-13 17:37:02 +01:00
Thomas Gelf f3cb1f915d Monitoring/DataView: allow to hook in columns 2015-11-13 17:37:02 +01:00
Thomas Gelf dc3c787446 Compat Hooks: fix c&p error 2015-11-13 17:37:02 +01:00
Thomas Gelf e6903b3834 Monitoring\Hook: moved from Monitoring\Web\Hook
refs #10613
2015-11-13 17:37:02 +01:00
Johannes Meyer d321b2de79 Merge branch 'master' into bugfix/hot-all-hostgroups-are-shown-10316 2015-11-13 15:37:53 +01:00
Eric Lippmann d5fe0c9610 Merge branch 'feature/dope-layout-5543#2' 2015-11-13 15:21:07 +01:00
Johannes Meyer 26e6acf9af ListController: Fix servicegrid grouping when applying group restrictions #2
PostgreSQL had still issues with it. Quickfix only, again.

refs #10316
2015-11-13 14:42:28 +01:00
Johannes Meyer 5e37f7758b ServicecommenthistoryQuery: Add missing group origin "servicegroups"
refs #10316
2015-11-13 12:55:06 +01:00
Johannes Meyer 005ec27cea IdoQuery: Fix method isTimestamp() not handling customvars properly
refs #10316
2015-11-13 12:13:02 +01:00
Johannes Meyer cc37ca37d9 ListController: Fix servicegrid grouping when applying group restrictions
Quickfix only.

refs #10316
2015-11-13 11:40:51 +01:00
Johannes Meyer 140e288c0b IdoQuery: Fix incorrect GROUP BY for MySQL SELECTs with joined columns
refs #10316
2015-11-12 16:02:41 +01:00
Eric Lippmann a12cc9ab30 monitoring/CSS: Don't set class sparkline-perfdata
Class not in use.

refs #5543
2015-11-12 09:45:35 +01:00
Johannes Meyer 89d8126226 Revert "Fix grouping of host- and servicegroup queries"
This reverts commit 35c7ed81a7.
2015-11-12 09:26:11 +01:00
Johannes Meyer 689cae8701 Merge branch 'master' into bugfix/hot-all-hostgroups-are-shown-10316 2015-11-12 09:23:49 +01:00
Johannes Meyer 651ce0bd04 Merge branch 'master' into bugfix/pgsql-queries-apply-lower-on-select-columns-10364 2015-11-12 09:18:06 +01:00
Thomas Gelf cbd1629176 DataView/Host|ServiceStatus: allow hard_state cols 2015-11-11 17:13:41 +01:00
Johannes Meyer 39f4d869b7 IdoQuery: Fix that PostgreSQL queries do not apply LOWER() on order cols
refs #10364
refs #9955
2015-11-11 15:25:40 +01:00
Johannes Meyer 0b2b1c5d1e IdoQuery: Fix that PostgreSQL queries use LOWER() on non-CI columns
refs #10364
refs #9954
2015-11-11 14:33:00 +01:00
Johannes Meyer 3d735693db IdoQuery: Fix method isCaseInsensitive() returning true for .. everything ..
..with a PostgreSQL backend.

refs #10364
2015-11-10 16:05:05 +01:00
Johannes Meyer 52606eb2e7 Revert "monitoring: Fix handling of collated columns w/ PostgreSQL"
This reverts commit f5ffa8047c.

refs #10364
refs #9954
refs #9955
2015-11-10 15:59:16 +01:00
Johannes Meyer ad5a43ce7b HostserviceproblemsummaryQuery: Group by "so.name1"
fixes #10589
refs #10490
2015-11-10 15:04:00 +01:00
Eric Lippmann 1da70a1270 monitoring: Remove icons for object tabs
We don't have icons somewhere else. We may introduce icons for all tabs later.

refs #5543
2015-11-10 09:45:26 +01:00
Eric Lippmann ba55ad7c5a monitoring: Fix unhandled service counter in the hosts overview
Group by was wrong.

fixes #10490
2015-11-09 09:55:17 +01:00
Thomas Gelf a2667dd551 Ido: remove test query objects from erraneous commit 2015-11-04 18:37:32 +01:00
Thomas Gelf 0c72b697e0 Classes: rename listing-table to common-table 2015-11-04 15:16:45 +01:00
Eric Lippmann 55f0863649 monitoring: Fix host and service detail history style
fixes #10317
2015-11-03 10:37:34 +01:00
Eric Lippmann c0c9f3b5eb monitoring: Select host_state_type and host_attempt in the service detail view for displaying soft states
refs #5543
2015-10-28 12:08:04 +01:00
Johannes Meyer 35c7ed81a7 Fix grouping of host- and servicegroup queries
It's a rather quick fix but fixes the problem. We should take another look whether
a more sophisticated solution can be found.

refs #10316
2015-10-10 20:04:04 +02:00
Johannes Meyer 6a68d25bc3 MonitoredObject: Deprecate method matches()
It's now possible to achieve the same by passing the object directly to a
filter.

refs #10304
2015-10-05 14:04:40 +02:00
Johannes Meyer 07e5664fbe MonitoredObject: Allow to access a set-value by name
$object->contact|contactgroup|hostgroup|servicegroup + _name
is now allowed and returns an array of strings

refs #10304
2015-10-05 13:59:57 +02:00
Johannes Meyer 499a7d628f Macro: Resolve prefixed custom vars and object attributes
refs #10304
2015-10-05 13:18:10 +02:00
Johannes Meyer 0ed6e08175 MonitoredObject: Allow to access custom variables by property
refs #10304
2015-10-05 13:16:41 +02:00
Johannes Meyer 996959b65e MonitoredObject: Fix object_type condition in method fetchHostVariables
refs #10304
2015-10-05 12:54:30 +02:00
Johannes Meyer 7419c9e87c MonitoredObject: Allow to fetch a host's customvariables for services
refs #10304
2015-10-05 11:57:31 +02:00
Eric Lippmann 54bb99a96d Merge branch 'feature/dope-layout-5543'
refs #5543
2015-10-02 11:16:35 +02:00
Eric Lippmann 61357da35c Merge branch 'bugfix/group-by-9956'
fixes #9956
2015-10-01 23:05:27 +02:00
Thomas Gelf 9ca81320ac Search: re-add object names, allow for addresses
It's now possible do search for IP (and IPv6) addresses. Object names
are once again allowed

fixes #9591
fixes #10163
2015-10-01 18:48:36 +02:00
Eric Lippmann 231c63b703 Merge branch 'master' into feature/dope-layout-5543 2015-09-30 18:52:52 +02:00
Matthias Jentsch 7e81b00a96 Fix multi-view badge filters
Allow providing a base URL for StateBadges to display hosts and services based on a filter.

refs #5543
2015-09-30 16:58:42 +02:00
Johannes Meyer 415690134b Add tab extension to add the current container url as new menu entry 2015-09-30 14:47:42 +02:00