Commit Graph

4928 Commits

Author SHA1 Message Date
Johannes Meyer 23bbf63b73 Revert "Replace t() and mt() with translate() in the monitoring module's forms"
This reverts commit 970006838c.
2015-01-19 13:44:16 +01:00
Matthias Jentsch fecd4151d1 Move axis labels to the top of the chart 2015-01-19 13:35:41 +01:00
Eric Lippmann ae4a9fe50c puppet: Use hiera for defining the icinga web group 2015-01-19 11:43:39 +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 ac503031a7 Config: Fix PHPDoc for fromIni 2015-01-19 11:43:39 +01:00
Eric Lippmann 87adbacb3b Config: Fix coding style 2015-01-19 11:43:39 +01:00
Eric Lippmann 599cb620d8 Config: Don't throw NotReadableError if the file does not exist 2015-01-19 11:43:39 +01:00
Eric Lippmann 7fc70c5a02 IniWriter: Don't allow read for others on new files 2015-01-19 11:43:38 +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 f4ea24bfa0 rpm: Fix configuration files permissions
refs #4075
2015-01-19 11:43:38 +01:00
Eric Lippmann 4819ebb6b2 rpm: Install configuration for the setup module
refs #4075
refs #8232
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
Eric Lippmann 556610adc1 rpm: icingaweb2-common must not install any config file except the config directory
refs #4075
2015-01-19 11:43:38 +01:00
Eric Lippmann 6014362089 packages: Install custom setup module config w/ correct path to the schema files
refs #4075
2015-01-19 11:43:38 +01:00
Eric Lippmann a57f1b00a9 rpm: Introduce config directory for packaged configuration files
refs #4075
2015-01-19 11:43:37 +01:00
Matthias Jentsch f6eb9a764f Determine axis orientation based on max label length 2015-01-19 11:33:21 +01:00
Johannes Meyer b34eb793b7 Merge branch 'bugfix/get-rid-of-t-and-mt-in-forms-7551'
fixes #7551
2015-01-19 11:33:09 +01:00
Johannes Meyer dbd69ba693 Replace t() and mt() with translate() in the application's forms
refs #7551
2015-01-19 11:26:23 +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 bab92b1b16 rpm: Use a macro for the docs directory
refs #4075
2015-01-16 17:38:22 +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
Eric Lippmann 37880c6c89 rpm: Support SUSE packages
resolves #6403
2015-01-14 14:15:24 +01:00
Eric Lippmann b8288b28a7 doc/installation: Add PHP gettext and PHP OpenSSL support as requirement 2015-01-14 14:14:44 +01:00
Eric Lippmann b983f1901b modules: Fix that the forms namespace is not registered when the module does not have any library file 2015-01-14 13:24:31 +01:00
Eric Lippmann 4971037b37 doc/installation: Add section Preparing Web Setup 2015-01-14 13:24:04 +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 76d3e5435f Display bigger legend labels correctly without overlapping 2015-01-13 18:25:19 +01:00
Matthias Jentsch 1732fa90e8 Fix axisMin in alert summary 2015-01-13 18:24:04 +01:00
Matthias Jentsch d1c7d9d2f9 Improve SVG layout 2015-01-13 18:21:11 +01:00
Matthias Jentsch 807666bf88 Improve chart axis readability
Introduce different line weights to separate between the smallest visible separator (steps) and single chart values (ticks). Calculate the amount of ticks per step using the available chart space.

fixes #7846
2015-01-13 17:56:50 +01:00
Matthias Jentsch debc305789 Add logarithmic AxisUnit
resolves #7845
2015-01-13 17:56:50 +01:00
Eric Lippmann e2667dfb63 doc: Use icingaweb2 as directory instead of icingaweb 2015-01-13 13:08:09 +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
Michael Friedrich e842abf80f spec: Add %revision macro for snapshot builds
fixes #8193
2015-01-13 09:00:23 +01:00
Eric Lippmann be91fce75f rpm: Install schema files to /usr/share/doc/icingaweb2
refs #4075
2015-01-12 16:19:14 +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
Matthias Jentsch e47eb73499 Improve visibility of focus
Display navigation focus in a visible color and display focus outline in regular site body more prominently.

fixes #6164
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