Commit Graph

629 Commits

Author SHA1 Message Date
Eric Lippmann 5f0b809619 monitoring: Support host and service display_name columns in the Downtime data view
refs #7843
2015-01-21 12:52:58 +01:00
Eric Lippmann 85aa447516 monitoring: Support host and service display_name in the DowntimeQuery
refs #7843
2015-01-21 12:52:29 +01:00
Eric Lippmann d528ddc641 monitoring: Fix that host_display_name is NULL when the object is a service in the evenhistory overview
refs #7843
2015-01-21 12:51:47 +01:00
Johannes Meyer 573c1046bb Ensure that the SummaryPage has a unique name when being utilized
refs #8191
2015-01-21 11:44:44 +01:00
Eric Lippmann e881a0de33 monitoring: Remove useless PHPDoc in the DowntimeQuery 2015-01-21 10:35:10 +01:00
Eric Lippmann 3e702ac255 monitoring: Support host and service display_name in the EventHistory data view
refs #7843
2015-01-21 10:28:21 +01:00
Eric Lippmann 25c2e99122 monitoring: Fix duplicate array key 'service_description' in the EventHistoryQuery 2015-01-21 10:26:12 +01:00
Eric Lippmann aa976c4198 monitoring: Support host and service display_name in the EventHistoryQuery
This adds two left joins to the query when selecting host_display_name and service_display_name.
If performance suffers badly, we have to evaluate whether to support the display_name column for displaying
the host and service name in the eventhistory overview.

refs #7843
2015-01-21 10:24:24 +01:00
Eric Lippmann 1bba0b3d0f monitoring: Fix coding style in the EventHistoryQuery 2015-01-21 10:15:58 +01:00
Eric Lippmann 7d967d25b3 monitoring: Fix code style in the StatehistoryQuery 2015-01-21 10:12:14 +01:00
Eric Lippmann 10571c3178 monitoring: Fix duplicate array key 'service_description' in the StatehistoryQuery 2015-01-21 10:10:07 +01:00
Eric Lippmann c77996d5b9 monitoring: Sort the services overview by service severity by default 2015-01-21 09:37:45 +01:00
Eric Lippmann eb6591c176 Merge branch 'master' into bugfix/prefer-display_name-over-name1-name2-7843 2015-01-21 09:36:41 +01:00
Eric Lippmann 5df6828889 monitoring: Remove ununsed sort rule in the ServiceStatus 2015-01-21 09:31:38 +01:00
Eric Lippmann e602717bd9 monitoring: Sort by display_names instead of name1 and name2 by default in the services overview
refs #7843
2015-01-21 09:15:07 +01:00
Eric Lippmann 9e8c897d6f monitoring: Order a data view before dumping 2015-01-21 09:13:10 +01:00
Eric Lippmann ab7a5763a6 monitoring: Sort by host_display_name instead of name1 by default
refs #7843
2015-01-20 16:21:56 +01:00
Eric Lippmann 680b7e4eba monitoring: Prever 'Hostname' over 'Host name' in PHPDoc 2015-01-20 16:11:41 +01:00
Eric Lippmann b0e27c4fe6 monitoring: Remove duplicate array key 'host_check_command' in the StatusQuery 2015-01-20 13:43:53 +01:00
Eric Lippmann 0c35607e37 Merge branch 'bugfix/postgres-wrong-default-timestamps-7919'
fixes #7919
2015-01-19 13:51:19 +01:00
Eric Lippmann 56640fa64f postgres: Use timestamp comparison instead of timezone offset comparison for detecting the default timestamp
refs #7919
2015-01-19 13:50:03 +01:00
Eric Lippmann 64d4bb089c monitoring/setup: Remove function for getting the configuration directory
Getting the config directory is not a task for module wizards.
2015-01-19 11:43:39 +01:00
Eric Lippmann abc74c7fb5 monitoring/setup: Fix directory mode of the monitoring configuration directory
We should introduce a CreateConfigDirectoryStep because module developers must not
provide a directory mode but use our default.
2015-01-19 11:43:38 +01:00
Eric Lippmann 09d5ec6b7a postgres: Return 0 if a timestamp looks like the default timestamp
The PostgreSQL IDO schema sets the default value for timestamps with time zone
to the epoch time w/o giving the time zone +00. Thus default timestamps are always
wrong when using a time zone other than 'UTC'.

refs #7919
2015-01-16 17:05:50 +01:00
Eric Lippmann dae3ccd90c monitoring: Take status_update_time into account when is_currently_running is 1
fixes #8210
2015-01-16 17:02:35 +01:00
Eric Lippmann a6861789bb lib: Remove superfluous return false from IdoQuery 2015-01-16 17:01:52 +01:00
Matthias Jentsch 5e2594d250 Parse perfdata thresholds provisionary
Use a heuristic to determine whether thresholds should be inverted, to support plugins with non-standard perfdata output while still being able to parse standard-compliant perfdata input.
2015-01-13 10:59:33 +01:00
Matthias Jentsch b5747797b7 Fix perfdata output
Display all perfdata key-value pairs in a formatted table, add padding to table css
improve piechart label.
2014-12-30 16:35:42 +01:00
Eric Lippmann a781b8c607 monitoring: Remove the top bar hook
No longer in use.
2014-12-30 10:52:57 +01:00
Eric Lippmann 3bd24c48ff monitoring: Do not provide export when viewing a monitored object
This is simply not possible at the moment.
2014-12-29 17:54:39 +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
Matthias Jentsch 41c101d99f Use neutral default color in perfdata piecharts
If nothing is known about the state of the monitoring object, the piecharts should neither indicate OK nor Critical.
2014-12-23 16:12:25 +01:00
Matthias Jentsch c93b13b138 Rework behavior of perfdata visualization
Determine perfdata pie color from host or service state, display zero percent piecharts, only render displayabl PieCharts with min and max values, move perfdata to piechart conversion functions into the Perfdata object.

fixes #6423
fixes #6200
fixes #7170
fixes #7304
2014-12-23 15:54:27 +01:00
Johannes Meyer f513e7959e Consider also the host's state when counting its service problems
refs #8013
2014-12-22 16:20:12 +01:00
Johannes Meyer 5b1e9be316 Make command parameters with multiple lines work, again
fixes #6088
2014-12-18 15:41:35 +01:00
Johannes Meyer cee68877a9 ProcessCheckResultCommand: Indicate a incompatibility with icinga2
Should be solved by checking the backend's version on runtime
2014-12-11 15:56:23 +01:00
Johannes Meyer abfef2cc11 Fix wrong command being rendered for passive service check results
refs #6854
2014-12-11 15:53:12 +01:00
Carlos Cesario 8d8b65473a Add translation to some strings
Thank you Carlos.

resolves #7787

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-03 10:00:54 +01:00
Johannes Meyer 2b14dbaff3 Fix the groupsummarie's grouping in case of PostgreSQL
fixes #7859
2014-12-01 14:36:46 +01:00
Eric Lippmann c626762b5d commands: Fix wrong flag for sticky acks
It's 2 not 1. But who knows why :)

fixes #7783
2014-11-21 16:33:46 +01:00
Johannes Meyer e23a794844 There is no "highest" severity, just "some" severity 2014-11-20 12:49:10 +01:00
Johannes Meyer 2fdc1f4322 Sort the hostgroup- and servicegroupsummary by service severity 2014-11-20 09:48:47 +01:00
Johannes Meyer c74f7531dc Do not display host- and servicegroups as boxes but as table instead 2014-11-19 11:53:45 +01:00
Bernd Erk 07c0180b1c Merge branch 'master' into feature/redesign-7144 2014-11-18 16:36:19 +01:00
Johannes Meyer 7621f6642d Adjust usages of Icinga\Application\Config
refs #7147
2014-11-18 13:11:52 +01:00
Bernd Erk f83bcbfd2b updates current font set and changes service and reporting icons 2014-11-17 17:08:08 +01:00
Bernd Erk e44086cb9f Fixes service and config icons 2014-11-17 17:08:08 +01:00
Thomas Gelf a8a7da4ade Object\Host: not-so-nice workaround, LS contancts 2014-11-16 19:28:08 +01:00
Thomas Gelf 5bb3165da3 MonitoredObjectController: history only if available 2014-11-16 19:26:45 +01:00
Thomas Gelf 7f22afbc21 MonitoredObject: temporary livestatus workaround 2014-11-16 19:24:37 +01:00
Thomas Gelf 10ec0446e0 Livestatus\DowntimeQuery: first basic version 2014-11-16 18:55:48 +01:00
Thomas Gelf 8bd9a966e1 Livestatus\ServicegroupQuery: initial commit 2014-11-16 18:54:08 +01:00
Thomas Gelf 92c059a0d7 Livestatus\HostgroupQuery: initial commit 2014-11-16 18:53:41 +01:00
Thomas Gelf 42efbf0892 Livestatus\StatusSummaryQuery: initial implementation 2014-11-16 17:12:25 +01:00
Thomas Gelf 7eb960ea0b Livestatus\StatusQuery: a couple of munge methods 2014-11-16 16:40:15 +01:00
Thomas Gelf b494476ebc Livestatus\StatusQuery: make use of new filter flags
NIIIIICEEEE!!
2014-11-16 16:39:41 +01:00
Thomas Gelf b6b78e4fcd Livestatus\StatusQuery: add LOTS of columns...
...still a little bit ugly, I'm in a hurry right now
2014-11-16 16:39:01 +01:00
Thomas Gelf 1a4bf609a2 Livestatus\StatusQuery: remove obsolete method 2014-11-16 16:37:33 +01:00
Thomas Gelf 6d362b0606 Livestatus\StatusQuery: should know about it's table 2014-11-16 16:36:47 +01:00
Thomas Gelf 7b73215868 Livestatus\StatusQuery: add terribly setMode method 2014-11-16 15:18:10 +01:00
Thomas Gelf fa20ced0c2 LiveStatus\StatusQuery: should be a Livestatus\Query 2014-11-16 15:05:36 +01:00
Thomas Gelf e89d4642e3 Merge remote-tracking branch 'origin/master' into feature/livestatus-playground-4787 2014-11-16 10:12:34 +01:00
Thomas Gelf da47c7fc7e Merge remote-tracking branch 'origin/master' into feature/redesign-7144 2014-11-14 21:32:57 +01:00
Alexander Fuhr 038964a325 Add tinystatesummary for hosts overview 2014-11-14 16:50:34 +01:00
Johannes Meyer 3166c518e1 Rename Icinga\Module\Monitoring\Form to Icinga\Module\Moni...\Forms
refs #7553
2014-11-14 11:17:22 +01:00
Johannes Meyer d64ec0aa3c Rename Icinga\Module\Setup\Form to Icinga\Module\Setup\Forms
refs #7553
2014-11-14 11:01:16 +01:00
Bernd Erk 903219b302 Merge branch 'master' into feature/redesign-7144
Conflicts:
	library/Icinga/Web/Menu.php
	public/css/icinga/menu.less
2014-11-13 21:11:36 +01:00
Bernd Erk 20be45e8da Enable icon font 2014-11-13 20:08:58 +01:00
Matthias Jentsch 022d89254f Fix tab, navigation and menu names 2014-11-13 18:38:42 +01:00
Johannes Meyer 7aae291f69 Merge branch 'master' into feature/setup-wizard-7163 2014-11-12 10:08:28 +01:00
Johannes Meyer 4992140326 Hardcode the access mode to use when creating files
refs #7163
2014-11-12 09:39:18 +01:00
Johannes Meyer ca66480ba7 Hardcode the access mode to use when creating directories
refs #7163
2014-11-12 09:18:19 +01:00
Thomas Gelf f24b0e2a4e MonitoringBackend: a few more places, doesn't hurt 2014-11-12 00:20:37 +01:00
Thomas Gelf 4876854893 Monitoring\ObjectList: expect a MonitoringObject 2014-11-12 00:16:07 +01:00
Thomas Gelf e96ecc5271 LivestatusBackend: just an empty backend 2014-11-11 18:06:50 +01:00
Thomas Gelf 1ca83c001f MonitoringBackend: just a few comments
fixes #7635
2014-11-11 17:33:31 +01:00
Thomas Gelf 78fd5109ac MonitoringBackend: fix variable name in exception
refs #7635
2014-11-11 17:23:49 +01:00
Thomas Gelf 9431a3432f MonitoringBackend: remove comment for SOLID fanboys 2014-11-11 17:21:32 +01:00
Thomas Gelf 8faf81dad5 MonitoringBackend: add clearInstances()
refs #7635
2014-11-11 16:57:34 +01:00
Thomas Gelf 6c0aa8dcc5 MonitoringBackend: handle null name in a nice way
When we get null as a backend name, we load the default one. While we
want to cache that null backend, it should still know about it's real
name.
2014-11-11 16:49:56 +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 1557410b72 DataView: query instantiation is up to the backend
refs #7635
2014-11-11 15:49:27 +01:00
Thomas Gelf 11f587aa09 Monitoring\Backend: reduce to compat facade
This is a facade for Monitoring\Backend right now. To be removed as soon
as it got replaced everywhere.

refs #7635
2014-11-11 15:46:17 +01:00
Thomas Gelf 50b0ef45ff IdoBackend: concrete backend implementation
Nothing special to be found here. Not yet.

refs #7635
2014-11-11 15:44:39 +01:00
Thomas Gelf 19ab8237d4 Backend\MonitoringBackend: base class for backends
refs #7635
2014-11-11 15:40:38 +01:00
Johannes Meyer 4974f582d3 Add page titles
refs #7163
2014-11-11 15:27:14 +01:00
Johannes Meyer af99f62843 Prefer Icinga\Application\Config over Zend_Config
refs #7163
2014-11-11 12:11:14 +01:00
Johannes Meyer 9d292269b1 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	application/forms/Config/Resource/LdapResourceForm.php
	test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer 6b2f434f32 Do not use Installer anywhere. ²
"It's setup."

refs #7163
2014-11-10 16:53:28 +01:00
Johannes Meyer 21ed823da7 Adjust namespace declarations
refs #7163
2014-11-10 16:31:40 +01:00
Johannes Meyer 79493592bb Do not use Installer anywhere.
"It's setup."

refs #7163
2014-11-10 10:30:52 +01:00
Johannes Meyer f1b6a82387 Make it optional to define protected custom variables
fixes #7590
2014-11-07 15:05:08 +01:00
Johannes Meyer 124f64ad89 Merge branch 'master' into bugfix/drop-zend-config-7147 2014-11-07 14:07:15 +01:00
Johannes Meyer 7b99b74ae1 Prefer Icinga\Application\Config instead of Zend_Config
refs #7147
2014-11-07 13:53:03 +01:00
Thomas Gelf 74e60ec0f6 MonitoredObject: decode structured customvars
fixes #7569
2014-11-06 16:15:16 +01:00
Thomas Gelf 816c309193 Ido\CustomvarQuery: add is_json
This has to be done in a backward compatible way, we check for IDO
>= 1.12.0.

refs #7569
2014-11-06 16:14:03 +01:00
Thomas Gelf 2782b0a744 Dataview\Customvar: add new is_json column
refs #7569
2014-11-06 16:13:17 +01:00
Marius Hein cd9e3693e4 Downtime: Add filter editor and preview
resolves #7445
2014-11-06 13:22:38 +01:00
Johannes Meyer 5a169ee656 Fix "PreservingIniWriter not found"
The class was renamed a few commits ago to "IniWriter"
2014-11-04 14:35:57 +01:00