Commit Graph

1651 Commits

Author SHA1 Message Date
Eric Lippmann 3745d3ebef monitoring: Count acknowledged hosts once in hosts/show.phtml 2014-12-30 10:31:23 +01:00
Eric Lippmann 507aefa9dd monitoring: Count unhandled hosts once in hosts/show.phtml 2014-12-30 10:30:31 +01:00
Eric Lippmann c87733debc monitoring: Count hosts once in hosts/show.phtml 2014-12-30 10:26:19 +01:00
Eric Lippmann 973a56c984 Merge branch 'master' into feature/translation-plural-8092 2014-12-30 10:22:44 +01:00
Eric Lippmann 59c39e94db Merge branch 'bugfix/hostgroup-link-7259'
fixes #7259
2014-12-30 10:20:44 +01:00
Eric Lippmann d6e331018b monitoring: Use Form::translate() in the backend configuration form
refs #7551
2014-12-30 10:02:31 +01:00
Eric Lippmann e05e04bb74 monitoring: Uppercasse the first word of comments in the backend configuration form 2014-12-30 09:47:45 +01:00
Eric Lippmann e72361c2cb monitoring: Fix missing return argument in the backend configuration form 2014-12-30 09:47:19 +01:00
Eric Lippmann 24b2369adb monitoring: Fix PHPDoc of BackendConfigForm::setResourceConfig() 2014-12-30 09:45:24 +01:00
Eric Lippmann 27110ce594 monitoring: use @type instead of @var in the backend configuration form 2014-12-30 09:44:33 +01:00
Eric Lippmann 6a67b7fee3 monitoring: add description to @see tags in the backend configuration form 2014-12-30 09:43:35 +01:00
Eric Lippmann 2a1f12354e monitoring: Use '@return $this' when documenting fluent interfaces in the backend configuration form 2014-12-30 09:41:22 +01:00
Eric Lippmann d595541d42 monitoring: optimize imports in the backend configuration form 2014-12-30 09:40:09 +01:00
Eric Lippmann c1aff80f7b monitoring: Fix "Show resource configuration" link 2014-12-30 09:39:11 +01:00
Eric Lippmann fc05f4d53e setup: Fix the mode of created directories 2014-12-29 17:55:34 +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
Eric Lippmann ff17c3729c setup: Use 'icingaweb2' as default authentication backend name 2014-12-29 16:06:34 +01:00
Eric Lippmann 2bd9d27e05 Do not validate the mode of the setup.token
Relying on the mode of the configuration directory must be sufficient.
2014-12-29 14:33:37 +01:00
Eric Lippmann daaf242145 Fix the default configuration path in our web wizard 2014-12-29 14:33:07 +01:00
Eric Lippmann 19387b24ab Do not use a new function for getting the configuration directory in our web wizard 2014-12-29 14:32:20 +01:00
Eric Lippmann 4ea52161a9 Merge branch 'master' into feature/packages-4075 2014-12-29 12:31:38 +01:00
Eric Lippmann bf92f9fa85 monitoring: Fix the link to services in downtime when multiple services are selected 2014-12-29 12:25:41 +01:00
Eric Lippmann 26bc56e9df monitoring: Fix the link to hosts in downtime when multiple hosts are selected 2014-12-29 12:19:37 +01:00
Eric Lippmann f1f808b7a3 Do not use array_map for generating the unhandled objects filter in HostsController.php 2014-12-29 12:17:17 +01:00
Eric Lippmann 2db2865433 Do not use an extra loop for generating the unhandled objects filter in ServicesController.php 2014-12-29 12:11:49 +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
Matthias Jentsch cda5a6a903 Streamline chart implementation
Define sparkline layout through CSS class and remove label/tooltip formatting.

fixes #7077
2014-12-23 15:26:45 +01:00
Matthias Jentsch 64a2acd12e Do not display labels for single data sets in perfdata piecharts
Display generic chart titles for the whole piechart that only contain title and percentage and don't style perfdata piecharts using HTML properties.

refs #7077
refs #6200
refs #7304
2014-12-23 15:14:17 +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 5b0c876362 Use the service_handled column instead of acknowledged and in_downtime
Only service_handled takes the host's state into consideration.

refs #8013
2014-12-22 16:18:39 +01:00
Johannes Meyer c5915f24cc Make it easier to distinguish host and service downtimes
Added an icon to the left of a host's or service's label and an additional
textual indicator.

refs #8008
2014-12-22 14:44:09 +01:00
Johannes Meyer 086334c861 Properly build the unhandled action links when showing multiple objects
The links designated to acknowledge unhandled problems or to schedule
a downtime for them were generated based on the full list of objects and
limited by non-supported filter parameters. As we are already aware of the
exact "unhandled" objects this list is now used to generate proper links.
(Btw applying filters to URLs is a mess...)

fixes #8017
2014-12-22 13:59:03 +01:00
Johannes Meyer 4c4c0c97a5 Fix incorrect token generation example on the wizard's welcome page
fixes #8135
2014-12-22 08:30:08 +01:00
Eric Lippmann fa226f261e monitoring: Remove css class 'control-group' from date and time elements in the schedule downtime command form
This CSS class does no longer exist.
2014-12-19 10:45:23 +01:00
Eric Lippmann b0ab6c3a76 monitoring: Remove css class 'control-group' from the expire time element
This CSS class does no longer exist.
2014-12-19 10:43:14 +01:00
Johannes Meyer cc9ee93311 Clarify that php-gd is mandatory to export views to PDF
refs #8112
2014-12-18 16:21:25 +01:00
Johannes Meyer 5b1e9be316 Make command parameters with multiple lines work, again
fixes #6088
2014-12-18 15:41:35 +01:00
Eric Lippmann 8ec0740005 Merge branch 'master' into feature/packages-4075 2014-12-18 14:02:17 +01:00
Carlos Cesario 2f3667aa3d Use hosts link instead services link
Use hosts link instead services link to show hosts group.

refs #7259
2014-12-17 10:00:15 -02:00
Carlos Cesario d4bbd3a323 Add more support to plural strings translation
Add more support to plural strings translation

refs #8092
2014-12-16 09:31:20 -02:00
Johannes Meyer 3fde78f2b3 Enable the dompdf float support and fix our list's layout 2014-12-15 13:56:19 +01:00
Johannes Meyer bca28a5ae2 Display inline pie-charts also in views exported to PDF
fixes #6463
2014-12-15 13:55:20 +01:00
Johannes Meyer b307fe2791 Reorder use statements to be in alphabetical order 2014-12-12 12:44:31 +01:00
Johannes Meyer 7987fb3f5a Use the Host and Service object class helpers instead of the Util view helper
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 12:22:20 +01:00
Johannes Meyer 87664ffef9 Use the Host and Service object class helpers instead of MonitoringState
This also ensures that all state names that are shown to the user are
properly translated.

refs #7996
2014-12-12 10:38:21 +01:00
Johannes Meyer e63252cb04 Fix that the RuntimeVariables helper cant handle missing information
fixes #7905
2014-12-11 18:00:36 +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
Johannes Meyer ddc121d1cc Add ProcessCheckResultCommandForm
refs #6854
2014-12-11 15:52:23 +01:00
Johannes Meyer 8779e80291 Add a link to a service's event when showing the host's history 2014-12-11 10:56:47 +01:00
ayoubabid e0bec56d23 Update RemoteInstanceForm.php
Wrong path to icinga2 command.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-10 15:42:01 +01:00
ayoubabid 429b16b74e Update LocalInstanceForm.php
Wrong path to icinga2 command

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2014-12-10 15:41:51 +01:00
Carlos Cesario eca176f191 Fix wrong change
Fix wrong change host->host_display_name to host->host_name.

refs #7988
2014-12-10 11:30:59 -02:00
Carlos Cesario 311ebfbcba Add support to untranslated strings
Add support to untranslated strings

refs #7988
2014-12-10 10:45:57 -02:00
Eric Lippmann 916868a051 Revert "Add support for "core" modules and make the setup module such a module"
This reverts commit 8af13f564b.

The setup module must only be loaded when necessary not always.
2014-12-09 16:28:05 +01:00
Johannes Meyer 196b6a4875 Ensure that Zend is loaded when showing status information in the CLI
fixes #7869
2014-12-09 15:38:13 +01:00
Eric Lippmann bca2335aa3 doc: Add module documentation 2014-12-09 14:58:18 +01:00
Eric Lippmann d2a7254a37 doc: Prefer "root" doc path over configured path
If the "root" doc path, i.e. application/doc exists, it is preferred over the configured
one.

refs #4075
2014-12-09 14:55:24 +01:00
Eric Lippmann 3120a0c090 doc/ModuleController: Do not use 'void' results 2014-12-09 14:30:57 +01:00
Eric Lippmann c7e6252aca doc: Make path to module documentations configureable
refs #7196
2014-12-09 14:30:10 +01:00
Eric Lippmann e901e545c3 doc/IcingawebController: Do not use 'void' results 2014-12-09 14:28:58 +01:00
Eric Lippmann 7605076dc5 doc/IcingawebController: Use sprintf for "Missing parameter x" exceptions 2014-12-09 14:28:10 +01:00
Eric Lippmann 08bbe59679 doc: Throw an exception if Icinga Web 2's documentation is not avaiable
refs #7196
2014-12-09 14:27:02 +01:00
Eric Lippmann 823d338f73 doc/Controller: Do not use 'void' results 2014-12-09 14:24:45 +01:00
Eric Lippmann 40b7098480 doc/parser: Fix PHPDoc indentation 2014-12-09 14:24:11 +01:00
Eric Lippmann 7edb1217c6 doc: Use sprintf for "Missing parameter x" exceptions 2014-12-09 12:57:16 +01:00
Eric Lippmann 51b47df4c5 doc: Set version to 2.0.0 2014-12-09 12:55:29 +01:00
Eric Lippmann 19d89f0a67 monitoring/configuration.php: Prefer @type over @var 2014-12-09 12:55:12 +01:00
Eric Lippmann da575910e6 doc/run.php: Remove superfluous newline 2014-12-09 12:54:41 +01:00
Eric Lippmann cc619e0a7b doc/configuration.php: Prefer @type over @var 2014-12-09 12:53:44 +01:00
Eric Lippmann ca8dbdb938 doc: Make path to Icinga Web 2's doc configureable
refs #7196
2014-12-09 12:50:29 +01:00
Eric Lippmann 001eba73e7 doc: Remove iterators because they are superseded by iterators from Icinga Web 2's library 2014-12-09 12:30:08 +01:00
Eric Lippmann 5f772c3620 doc: Use Icinga Web 2's iterators 2014-12-09 12:29:48 +01:00
Eric Lippmann de0653eaa6 monitoring/tactical: Fix case of the features' links
Use title capitalization for the features' links to be consitent.
2014-12-08 10:33:40 +01:00
Eric Lippmann 550bb7d7d1 monitoring/tactical: Fix case of features' titles 2014-12-08 10:29:41 +01:00
Eric Lippmann f94646eb41 monitoring/tactical: Fix "Host and Service Checks" header 2014-12-08 10:27:36 +01:00
Carlos Cesario 571df0a5ab Improve plural string translation
Improve plural translation for some statements

refs #8000
2014-12-05 10:45:10 -02:00
Johannes Meyer f0b470870a Fix how we check whether any comments were found
fixes #7898
2014-12-04 09:59:28 +01:00
Carlos Cesario b099c28861 Update pt_BR translation
Update pt_BR language translations

refs #6794
2014-12-03 09:40:52 -02:00
Thomas Gelf cddb68bffb ActionController: shift global parameters globally 2014-12-03 10:40:48 +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 ebf908b1b5 Make db requirement checks more sensitive
fixes #7837
2014-12-01 15:38:10 +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 7a243a0655 Fix the event overview throwing an exception when trying to modify a filter 2014-12-01 13:45:55 +01:00
Johannes Meyer 2b2b28915d Fix granting privileges on a mysql host
In case current_user() reports a wildcard identification for the user's
host (e.g. user@%) the percent sign was not escaped causing sprintf
to complain as there were too few arguments in this case.

fixes #7853
2014-12-01 11:00:12 +01:00
Alexander Klimov 0b3e306b8a Event history: display filter editor
refs #6638
2014-11-26 16:13:02 +01:00
Alexander Klimov badad1df44 Event history: move sort control to the right
refs #6638
2014-11-26 16:13:02 +01:00
Johannes Meyer ca1dafeec3 Add hint to the requirements page's refresh button to restart the webserver
fixes #7839
2014-11-26 10:42:44 +01:00
Johannes Meyer d25a3a1704 Show path to the php.ini on the wizard's requirements page
refs #7839
2014-11-26 10:38:39 +01:00
Johannes Meyer e82cc35043 Re-add a description to the setup wizard
If someone has a better alternative don't hesitate
to replace this with a valid description.

fixes #7836
2014-11-26 08:58:09 +01:00
Johannes Meyer ff19696429 Add --path argument to the setup's welcome page examples if necessary
refs #7581
2014-11-26 08:58:08 +01:00
Eric Lippmann 1502b489cd Auto-refresh display of a host's services 2014-11-25 16:35:09 +01:00
Johannes Meyer a288535347 Use the `host' and `port' directives when using a zend adapter in DbTool
fixes #7781
fixes #7798
2014-11-25 16:03:06 +01:00
Eric Lippmann 2843490250 monitoring: Translate "Plugin Output" 2014-11-21 16:45:39 +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
Gunnar Beutner 59c2d27e4e Fix spelling for "Plugin Output" 2014-11-21 15:14:47 +01:00
Eric Lippmann 9f109f9b93 Fix redirect after submitting commands to multiple objects
fixes #7711
2014-11-20 17:47:08 +01:00
Thomas Gelf dad2aab482 doc/style: fix tab activation 2014-11-20 17:25:58 +01:00