1771 Commits

Author SHA1 Message Date
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