5104 Commits

Author SHA1 Message Date
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
Eric Lippmann
f9ca0296a4 cli/setup: Do not return false; after $this->fail()
$this-fail() throws an exception.
2014-12-30 15:54:07 +01:00
Eric Lippmann
9de1b20d3c cli/setup: Issue an error if chmod fails when setting up the configuration directory 2014-12-30 15:51:00 +01:00
Eric Lippmann
9c40372b61 cli/setup: Do not translate \n 2014-12-30 15:49:11 +01:00
Eric Lippmann
672500029c cli/setup: Add sanity check for the --mode switch when creating the config directory 2014-12-30 15:46:22 +01:00
Eric Lippmann
d3dcf152fb setup: Do not use umask(0)
chmod is not affected in any way by the umask.
2014-12-30 15:40:06 +01:00
Eric Lippmann
f84a9a6529 cli/setup: Do not use umask(0)
chmod is not affected in any way by the umask.
2014-12-30 15:33:01 +01:00
Eric Lippmann
082cdd6dd2 cli/setup: Rename --path switch to --config for the directory action
All other actions use --config too.
2014-12-30 15:24:31 +01:00
Eric Lippmann
bad7aad05e cli/setup: Do not use the webserver user's group but 'icingaweb2' 2014-12-30 15:22:53 +01:00
Eric Lippmann
861252b1e7 setup: Rename createDirectory to diretory
'icingacli setup config directory' does not suffer from camel case notation and explains
pretty much what it does.
2014-12-30 14:59:23 +01:00
Eric Lippmann
4b6ea55cbb setup: Add --config switch to TokenCommand::createAction()
refs #7906
2014-12-30 14:55:44 +01:00
Eric Lippmann
aea7b068da setup: Add --config switch to TokenCommand::showAction()
refs #7906
2014-12-30 14:43:19 +01:00
Eric Lippmann
2d69e44846 setup: Set default URL path to /icingaweb2 2014-12-30 14:42:42 +01:00
Eric Lippmann
60b74ddcec Cli: Fix parameter documentation for ConfigCommand::webserverAction()
We speak of icingaweb2 not icingaweb now.
2014-12-30 14:41:35 +01:00
Eric Lippmann
5e812c72f1 cli/webserver config: Fix --config sanity check 2014-12-30 14:37:34 +01:00
Eric Lippmann
ac56cc02ac monitoring: Fix the notifications view script 2014-12-30 11:14:30 +01:00
Eric Lippmann
a5122f540d monitoring: Add 'Notifications' to the 'Overview' menu section 2014-12-30 11:14:13 +01:00
Eric Lippmann
358efe06de Merge branch 'master' into feature/untranslated-strings-7988 2014-12-30 10:55: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
c59c0e6cdb monitoring: Remove top bar hook layout
No longer in use.
2014-12-30 10:52:12 +01:00
Eric Lippmann
a37d68b235 monitoring: Remove run.php
The monitoring module still registered the obsolete top bar hook.
2014-12-30 10:51:33 +01:00
Eric Lippmann
9c989306d9 monitoring: Count services having comments once in services/show.phtml 2014-12-30 10:48:30 +01:00
Eric Lippmann
2e4e04551d monitoring: Count services in downtime once in services/show.phtml 2014-12-30 10:47:10 +01:00
Eric Lippmann
128f6822f1 monitoring: Count acknowledged services once in services/show.phtml 2014-12-30 10:46:08 +01:00
Eric Lippmann
df3d7d2034 monitoring: Count unhandled services once in services/show.phtml 2014-12-30 10:45:24 +01:00
Eric Lippmann
a7a99b5856 monitoring: Count hosts once in services/show.phtml 2014-12-30 10:44:22 +01:00
Eric Lippmann
3d95e37b7f monitoring: Count services once in services/show.phtml 2014-12-30 10:43:39 +01:00
Eric Lippmann
c28f4284e4 monitoring: Remove the command/* view scripts
They are no longer used.
2014-12-30 10:40:56 +01:00
Eric Lippmann
41ef926fd6 monitoring: Remove the CommandController
The controller is no longer used.
2014-12-30 10:39:33 +01:00
Eric Lippmann
b7d6ee75f2 monitoring: Remove the MultiController
The controller is no longer used.
2014-12-30 10:38:43 +01:00
Eric Lippmann
8594ff6843 monitoring: Remove multi/* view scripts
They are no longer used.
2014-12-30 10:38:02 +01:00
Eric Lippmann
56102a1e39 monitoring: Count hosts having comments once in hosts/show.phtml 2014-12-30 10:35:18 +01:00