Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host_details.lua historical #25

Closed
yurifrancalacci opened this issue May 14, 2015 · 1 comment
Closed

host_details.lua historical #25

yurifrancalacci opened this issue May 14, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@yurifrancalacci
Copy link

historical tab in host_details.lua does not show the graph in with any time series selected.
This could be cause by a "<script>" string inside a javascript section (probably just after the drawRRD call?). Chrome inspection tool reports as follow:
....
$.ajax ({
type: 'GET',
url: '/lua/modules/get_real_epochs.lua?epoch='+point.value.x, data: { epoch: point.value.x },
async: false,
success: function(content) {
var res = content.split(" ");
seconds = parseInt(res[0]) - parseInt(res[1]);
}
});

infoHTML += "

    ";

    <script>var last_pkts_sent = 254523; ^^^^^^^------------------------ this ----------------------- var last_pkts_rcvd = 399879; var last_num_alerts = 0; .... more on this: Uncaught SyntaxError: Unexpected token < host_details.lua?ifname=0&host=x.x.x.x&page=historical:416
@ariava ariava added the Bug label May 14, 2015
@ariava ariava self-assigned this May 14, 2015
@ariava ariava added this to the ntopng 2.0 milestone May 19, 2015
@ariava
Copy link
Contributor

ariava commented May 19, 2015

@yurifrancalacci could you please try this again with latest git/nightly? I believe @lucaderi might have fixed this in some commit a few days ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants