Commit Graph

1196 Commits

Author SHA1 Message Date
Thomas Gelf 50b0ef45ff IdoBackend: concrete backend implementation
Nothing special to be found here. Not yet.

refs #7635
2014-11-11 15:44:39 +01:00
Thomas Gelf 19ab8237d4 Backend\MonitoringBackend: base class for backends
refs #7635
2014-11-11 15:40:38 +01:00
Eric Lippmann 548b54253e Remove display: flex;
fixes #7549
2014-11-11 10:27:42 +01:00
Marius Hein cb09c8acdc Backend/Config: Add shortlink to resource
fixes #7493
2014-11-07 14:20:47 +01:00
Marius Hein a460286597 Revert "Monitoring/Backens: Add resource configuration link"
This reverts commit 52c452c044.

Wrong implementation.
2014-11-07 14:18:23 +01:00
Johannes Meyer 124f64ad89 Merge branch 'master' into bugfix/drop-zend-config-7147 2014-11-07 14:07:15 +01:00
Johannes Meyer 7b99b74ae1 Prefer Icinga\Application\Config instead of Zend_Config
refs #7147
2014-11-07 13:53:03 +01:00
Thomas Gelf 74e60ec0f6 MonitoredObject: decode structured customvars
fixes #7569
2014-11-06 16:15:16 +01:00
Thomas Gelf 816c309193 Ido\CustomvarQuery: add is_json
This has to be done in a backward compatible way, we check for IDO
>= 1.12.0.

refs #7569
2014-11-06 16:14:03 +01:00
Thomas Gelf 2782b0a744 Dataview\Customvar: add new is_json column
refs #7569
2014-11-06 16:13:17 +01:00
Thomas Gelf abf267b0b9 monitoring/css: style structured custom vars
refs #7569
2014-11-06 16:12:07 +01:00
Thomas Gelf da20926a97 Customvars: use new helper
refs #7569
2014-11-06 16:11:29 +01:00
Thomas Gelf a8326350d1 Customvar view helper: show structured data
refs #7569
2014-11-06 16:10:52 +01:00
Marius Hein cd9e3693e4 Downtime: Add filter editor and preview
resolves #7445
2014-11-06 13:22:38 +01:00
Marius Hein 52c452c044 Monitoring/Backens: Add resource configuration link
resolves: #7493
2014-11-06 12:59:31 +01:00
Marius Hein 92f8f9f7da Bug7043Test: Fix declaration error
ConfigWithSetModuleConfig::setModuleConfig must be compatible with
Icinga\Application\Config::setModuleConfig.
2014-11-06 12:14:35 +01:00
Johannes Meyer f8724c504b Use a subclass of Icinga\Application\Config to preset a module config
Implementing methods for just tests is discouraged
2014-11-06 10:07:57 +01:00
Thomas Gelf 18bd49e636 Monitoring/Object: re-add process_perfdata
We would live better with unique column names on hosts and services

* Got introduced in 6095e440 and removed in c0e34473
* This might be a canditate for a regression test, as only graphers (PNP) are using this columns right now
* It makes IMO absolutely no sense to keep all those long column names in that object classes
2014-11-01 01:47:55 +01:00
Alexander Fuhr f095489017 Fix multiple contacts display in service and host detail pane
fixes #7329
2014-10-31 11:34:48 +01:00
Eric Lippmann 16352fc10c Move Logger to the Application namespace
fixes #7148
2014-10-31 10:27:17 +01:00
Eric Lippmann 0bf6dc24a8 monitoring: Use command transports constants in the command transport factory 2014-10-30 09:53:55 +01:00
Eric Lippmann eb9fe0966b monitoring: Remove unnecessary break after throwing an exception 2014-10-29 13:37:20 +01:00
Eric Lippmann d9194c2696 monitoring: Rewrite Service::getStateText() to get the optional translated textual representation of a service state 2014-10-29 13:36:24 +01:00
Eric Lippmann 5fc1f85b76 monitoring: Write transport directive to instances INI configuration
Further I replaced if-elseif blocks w/ switch when branching based on the value of a single parameter,
which would have to be implied otherwise by looking at all the conditions.
2014-10-29 13:36:09 +01:00
Eric Lippmann 8ee52f8737 monitoring: throw meaningful logic exceptions in the command file classes 2014-10-29 11:36:00 +01:00
Eric Lippmann 319c5e7833 monitoring: indent php blocks in config/index.phtml properly 2014-10-29 11:33:31 +01:00
Eric Lippmann e7ef1826b7 monitoring: Don't translate exception messages in the remote command file 2014-10-29 10:00:59 +01:00
Eric Lippmann 1cc1521607 monitoring: Don't translate exception messages in the local command file 2014-10-29 10:00:29 +01:00
Eric Lippmann 6973492b0d monitoring: Translate headings in the config overview 2014-10-28 14:01:00 +01:00
Eric Lippmann 71e25f268a monitoring: Rename label of the path to the local Icinga command file
Rename 'Local filepath' to 'Command file' because the remote instance form is using 'Command file' too.
2014-10-28 13:52:10 +01:00
Eric Lippmann d04eceaeb2 monitoring: Remove 'Remote' prefix from the remote instance form elements' labels
The 'Remote' prefix of the remote instance form elements' labels is superfluous because the
instance's type already tells that it's remote.
2014-10-28 13:50:42 +01:00
Eric Lippmann 12cadb52ca Command transport: Show helpful exception messages
refs #7437
2014-10-24 11:45:58 +02:00
Alexander Klimov 38220afd11 PHP: avoid short tags <? 2014-10-23 10:44:54 +02:00
Alexander Klimov ba12d7b46c Use mt() in the monitoring module instead of just t()
fixes #7330
2014-10-21 17:22:16 +02:00
Eric Lippmann d475ccd569 IcingaCommand: Fix strict standards violation: Only variables should be passed by reference 2014-10-16 15:37:07 +02:00
Marius Hein 92b4f4fbec AlertSummary: Avoid division by zero 2014-10-16 09:50:15 +02:00
Johannes Meyer 64940198be Fix AlertSummary report cannot find EventHistory dataview
We should start to think about how to prevent such issues ;)
2014-10-15 11:18:16 +02:00
Matthias Jentsch 937dbe2c15 Add missing close buttons to views without tabs 2014-10-14 17:54:52 +02:00
Marius Hein c67e7c3ef0 AlertSummary: Format trend change percent value 2014-10-09 09:31:03 +02:00
Marius Hein 6622042539 AlertSummary: Controller clean up
refs #4074
2014-10-08 16:32:50 +02:00
Marius Hein 8f26f0dbf6 AlertSummary: Basic styling
refs #4074
2014-10-08 16:17:43 +02:00
Marius Hein 0825b2f071 AlertSummary: Add healing chart
refs #4076
2014-10-08 15:30:53 +02:00
Marius Hein c48c7f41b7 AlertSummary: Decouple components and use partials
refs #4078
2014-10-08 15:30:53 +02:00
Marius Hein 87a87656d5 Prototyping alert history
refs #4074
2014-10-08 15:30:53 +02:00
Alexander Fuhr 4c23d98575 Merge branch 'master' into bugfix/monitoring-list-dup-entries-7057 2014-10-08 12:45:14 +02:00
Alexander Fuhr afc97b1cac Fix the duplicate entries in monitoring list shows
refs #7057
refs #7344
fixes #7057
2014-10-08 12:30:08 +02:00
Alexander Fuhr fcc56c9809 monitoring: Fix some of `DataView's PHPDoc 2014-10-07 16:09:19 +02:00
Alexander Fuhr a9ae75b6b0 monitoring: Fix that sorting a data view is not possible if its sort
rules are empty
2014-10-07 16:05:20 +02:00
Eric Lippmann 1b23fd7fbe monitoring: Don't support status.dat as backend
Icinga Web 2 will not support status.dat for now and maybe forever.
2014-10-07 13:22:07 +02:00
Eric Lippmann 2126b8c341 monitoring: Fix link to an object's contact in the detail views 2014-10-07 13:21:28 +02:00