Zum Inhalt springen
BlogVernetzungNetzwerk-Verkehrsdiagramme

Netzwerk-Verkehrsdiagramme

Netzwerk-Verkehrsdiagramme sind jetzt auf der Mitgliederseite verfügbar. Es werden zwei Diagramme angezeigt, eines für die letzten 24 Stunden und eines für die letzten 30 Tage. In naher Zukunft werden wir die Möglichkeit hinzufügen, Diagramme für frühere Monate anzuzeigen. Längerfristig hoffen wir, Graphen für weitere Datenpunkte hinzufügen zu können, um den Benutzern zu helfen, ihre Linode besser zu verwalten.

Diese Diagramme werden in Echtzeit erstellt, aber die Daten, auf denen sie basieren, werden alle fünf Minuten aktualisiert. Durch endloses Aktualisieren wird die Datenmenge im Diagramm nicht vergrößert.

[url]https://www.linode.com/members/graphs/network.cfm[/url]


Kommentare (7)

  1. Author Photo

    Looks great! This is really great information to have easily accessible like this. Good thing that I was too lazy to implement it myself… Now you’ve just saved all the work for me! 🙂

    Thanks!

  2. Author Photo

    Very useful. I was also thinking of doing this myself, thanks for saving us the work.

  3. Author Photo

    What data point am I looking at here?

  4. Author Photo

    Beautiful graphs! Thanks Mike & Caker! Any chance of an io_token graph anytime soon? Since thats always been the main bottleneck for my linode, it’d be handy.

  5. Author Photo

    If you use [url=http://people.ee.ethz.ch/~oetiker/webtools/mrtg/]MRTG[/url], you can make a graph of I/O token usage, or anything else graphable.

    Here’s a Perl script for collecting the token count:
    [code]
    #!/usr/bin/perl

    $line = `/usr/bin/uptime`;
    ($uptime) = ($line =~ m/^.*up (.*),\s+\d+\s+users*,\s+load average:.*$/o);

    $host = `/bin/hostname`;

    open IOSTATUS, "/proc/io_status";
    $line = <IOSTATUS>;
    close IOSTATUS;

    ($count) = ($line =~ m/^io_count=(\d+) .*$/o);

    print "$count\n0\n$uptime\n$host\n";

    [/code]

    And here is the stanza for mrtg.cfg:

    [code]
    Title[io_rate]: I/O Rate for Linode VPS
    Target[io_rate]: `/usr/local/bin/tokenrate.pl`
    PageTop[io_rate]: <H1>I/O Token Usage Rate</H1>
    Options[io_rate]: logscale
    MaxBytes[io_rate]: 400000
    YLegend[io_rate]: Tokens/sec
    ShortLegend[io_rate]: Tokens/sec
    LegendI[io_rate]: &nbsp;Tokens/sec:
    LegendO[io_rate]: &nbsp;
    Legend1[io_rate]: I/O Token Usage Rate
    Legend2[io_rate]: &nbsp;

    [/code]

    I use the [b]logscale[/b] option to plot the graphs with a logarithmic scale, so that low rates don’t get lost among large peaks.

  6. Author Photo

    Beautiful graphs, thank you. An RSS feed containing the textual data under the graphs might be useful too.

    (I’ve reconsidered the utility of the GM script that was previously posted here, and removed it.)

  7. Author Photo

    Thank-you! 😀 The graphs are beautiful and very handy when checking my member account. I appreciate this added feature very much.

Kommentar abgeben

Ihre E-Mail Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit *gekennzeichnet