mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed problems with monitor report in custom report. Tiquet: #2848
This commit is contained in:
parent
e8cc3ccbf9
commit
aaef69a0d2
@ -2960,11 +2960,13 @@ function reporting_monitor_report($report, $content) {
|
|||||||
metaconsole_connect($server);
|
metaconsole_connect($server);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$module = modules_get_agentmodule ($content['id_agent_module']);
|
||||||
|
|
||||||
$value = reporting_get_agentmodule_sla(
|
$value = reporting_get_agentmodule_sla(
|
||||||
$content['id_agent_module'],
|
$content['id_agent_module'],
|
||||||
$content['period'],
|
$content['period'],
|
||||||
1,
|
$module['min_critical'],
|
||||||
false,
|
$module['max_critical'],
|
||||||
$report["datetime"]);
|
$report["datetime"]);
|
||||||
|
|
||||||
if ($value === __('Unknown')) {
|
if ($value === __('Unknown')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user