Merge branch 'ent-1411-pandora_manage---get_module_data-con-modulos-incrementales' into 'develop'
Fixed inc modules on pandora manage --get_module_data See merge request artica/pandorafms!894
This commit is contained in:
commit
e1c3e55582
|
@ -4535,13 +4535,6 @@ sub cli_module_get_data () {
|
||||||
AND utimestamp > (UNIX_TIMESTAMP(NOW()) - $interval)
|
AND utimestamp > (UNIX_TIMESTAMP(NOW()) - $interval)
|
||||||
ORDER BY utimestamp DESC");
|
ORDER BY utimestamp DESC");
|
||||||
}
|
}
|
||||||
elsif ($module_type =~ m/_inc$/) {
|
|
||||||
@data = get_db_rows ($dbh, "SELECT utimestamp, datos
|
|
||||||
FROM tagente_datos_inc
|
|
||||||
WHERE id_agente_modulo = $id_agent_module
|
|
||||||
AND utimestamp > (UNIX_TIMESTAMP(NOW()) - $interval)
|
|
||||||
ORDER BY utimestamp DESC");
|
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
@data = get_db_rows ($dbh, "SELECT utimestamp, datos
|
@data = get_db_rows ($dbh, "SELECT utimestamp, datos
|
||||||
FROM tagente_datos
|
FROM tagente_datos
|
||||||
|
|
Loading…
Reference in New Issue