Add module to graph hash
This commit is contained in:
parent
0c7de59b80
commit
50d4f5a999
|
@ -1587,11 +1587,11 @@ sub pandora_execute_action ($$$$$$$$$;$$) {
|
||||||
my $period = $hours * 3600; # Hours to seconds
|
my $period = $hours * 3600; # Hours to seconds
|
||||||
if($threshold == 0){
|
if($threshold == 0){
|
||||||
$params->{"other"} = $period . '%7C1%7C0%7C225%7C%7C14';
|
$params->{"other"} = $period . '%7C1%7C0%7C225%7C%7C14';
|
||||||
$cid = 'module_graph_' . $hours . 'h';
|
$cid = 'module_graph_' . (defined($module) && $module ne '' ? ($module . '_') : '') . $hours . 'h';
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$params->{"other"} = $period . '%7C1%7C1%7C225%7C%7C14';
|
$params->{"other"} = $period . '%7C1%7C1%7C225%7C%7C14';
|
||||||
$cid = 'module_graphth_' . $hours . 'h';
|
$cid = 'module_graphth_' . (defined($module) && $module ne '' ? ($module . '_') : '') . $hours . 'h';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (defined($module)) {
|
if (defined($module)) {
|
||||||
|
|
Loading…
Reference in New Issue