5185 Commits

Author SHA1 Message Date
Johannes Meyer
095d9437b8 Adjust the wizard's progress bar
Moved the "Modules" step to the left and removed the "Summary" step.

refs #8191
2015-01-20 17:33:29 +01:00
Eric Lippmann
fe3bbb712d monitoring: Use host_display_name for displaying the host name in the hosts overview
refs #7843
2015-01-20 16:25:35 +01:00
Eric Lippmann
f1ada110f8 monitoring: Select the host_display_name in the hosts overview
refs #7843
2015-01-20 16:23:12 +01:00
Eric Lippmann
9fd90c90cc monitoring: Sort by host_display_name when sorting by 'Hostname' in the hosts overview
refs #7843
2015-01-20 16:22:36 +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
0b557b7b29 monitoring: Fix unused local variable 'stateType' in the ListController 2015-01-20 16:14:56 +01:00
Eric Lippmann
f5acd0c7b5 monitoring: Remove unused use ... in the ListController 2015-01-20 16:13:05 +01:00
Eric Lippmann
ab0910e09b monitoring: Prefer 'Hostname' over 'Host name' 2015-01-20 16:12:10 +01:00
Eric Lippmann
680b7e4eba monitoring: Prever 'Hostname' over 'Host name' in PHPDoc 2015-01-20 16:11:41 +01:00
Eric Lippmann
0300a90d14 monitoring: Remove duplicate array key 'host_state' in the ListController 2015-01-20 16:08:47 +01:00
Eric Lippmann
b0e27c4fe6 monitoring: Remove duplicate array key 'host_check_command' in the StatusQuery 2015-01-20 13:43:53 +01:00
Matthias Jentsch
4dfad963e9 Merge branch 'master' into feature/improve-chart-implementation-7841 2015-01-19 15:15:24 +01:00
Matthias Jentsch
80fc2a32db Improve layout in AlertSummary
Use brighter color for notifications, render hours more readable.
2015-01-19 15:14:09 +01:00
Eric Lippmann
7580d57c1d monitoring: Use the ellipsis string helper when viewing plugin output in host and service list 2015-01-19 14:21:55 +01:00
Matthias Jentsch
ab4cbc855f Fix order of setAxisMin calls 2015-01-19 14:20:46 +01:00
Eric Lippmann
f56ffd3426 monitoring: Do not strip_tags when viewing service output in the service list
refs #8248
2015-01-19 14:18:46 +01:00
Eric Lippmann
10ebc3432c monitoring: Do not strip_tags when viewing host output in the host list
refs #8248
2015-01-19 14:17:59 +01:00
Matthias Jentsch
a456c0434c Add better axis labels to the alert summary chart 2015-01-19 13:58:04 +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
Johannes Meyer
7082ebaf7b Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 13:47:01 +01:00
Johannes Meyer
23bbf63b73 Revert "Replace t() and mt() with translate() in the monitoring module's forms"
This reverts commit 970006838cb2791091dfb2632b1c7eea9d4a243f.
2015-01-19 13:44:16 +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
c0444a81b2 setup: Fix octdec for directory modes
Modes prefixed w/ zero, e.g. 0775 require a string conversion before calling octdec.
2015-01-19 11:43:38 +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
70f080313d setup: Use schema path from setup's config or default
refs #8232
2015-01-19 11:43:38 +01:00
Eric Lippmann
ef412688e9 setup: Require to set a path to the schema files
refs #8232
2015-01-19 11:43:38 +01:00
Johannes Meyer
8c87a9df13 Replace t() and mt() with translate() in setup module's forms
refs #7551
2015-01-19 11:07:39 +01:00
Johannes Meyer
970006838c Replace t() and mt() with translate() in the monitoring module's forms
refs #7551
2015-01-19 10:49:02 +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
Eric Lippmann
e93e8f6330 setup: Convert octal directory mode to decimal notation
PHP's chmod sets wrong permissions when using 2770 as directory mode for example.

fixes #8233
2015-01-16 17:01:41 +01:00
Eric Lippmann
35e090c17e monitoring: Support format query parameters for process/info 2015-01-16 13:12:10 +01:00
Thomas Gelf
b5cddc0a4f components/actions: show links if available
Now we show links regardless of whether we have host actions, there
might be hook-provided links only. Renamed "Foreign URLs" to "Actions"
and made it translatable.
2015-01-14 11:50:03 +01:00
Thomas Gelf
0fa31acf5f components/actions: show host action urls if given 2015-01-14 11:02:43 +01:00
Thomas Gelf
0d3131fbd0 host/show: show action urls above perfdata 2015-01-14 11:02:06 +01:00
Thomas Gelf
5e94d65a6c HostController: use host actions hook
refs #8208
2015-01-14 11:01:39 +01:00
Thomas Gelf
5e4b611860 HostActionsHook: initial very simple implementation
refs #8208
2015-01-14 11:00:26 +01:00
Matthias Jentsch
be7e3f98e9 Improve testAction
Add charts to test logarithmic scale, use less annoying colors
2015-01-13 18:26:39 +01:00
Matthias Jentsch
1732fa90e8 Fix axisMin in alert summary 2015-01-13 18:24:04 +01:00
Matthias Jentsch
debc305789 Add logarithmic AxisUnit
resolves #7845
2015-01-13 17:56:50 +01:00
Rene Moser
3961a44769 setup-welcome: fix cli doc
* `createDirectory` does not exist, this should be `direcotory`.
* For changing the group option `--group` must be used.
* Default config directory is `/etc/icingaweb2` not `/etc/icingaweb`.

Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
2015-01-13 13:04:04 +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
ec38c0c817 Fix pies in multi views 2015-01-05 11:33:19 +01:00
Eric Lippmann
80730e0bb2 cli/setup: Remove is_string checks for switches of the webserver generation 2014-12-30 18:49:47 +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
9f545535a0 cli/setup: Issue nice error messages when creating the config directory fails 2014-12-30 16:03:05 +01:00
Eric Lippmann
865b5c126a cli/setup: Do not exit setup config directory when the directory already exists
mkdir may succeed but chmod or chgrp may fail. The next time the command is called
it will ll exit before trying to chmod or chgrp again because the directory already exists.
2014-12-30 15:56:42 +01:00
Eric Lippmann
90fb44122b cli/setup: Do not translate \n again 2014-12-30 15:55:14 +01:00