[smokeping-users] bandwidth hack. {Tarandi}

Ali ISIK ali at esertelekom.com
Thu May 6 01:42:04 MEST 2004


Our smokeping installation monitors hundreds of endpoints
with a one-minute detail.  We have several operators in multiple
cities constantly refreshing almost all detail pages, which are
configured to have 7 big png files each.  What the operators are
usually interested in is the top graph.  To reduce the burden on
the Feathered One, I just put in the following hack into the .pm
file.  It seems to work, but I need to see the changes in server
load and user sentiment over the next few days to really judge
its effect.  For the moment I am pretty optimistic.  What do you
guys think?  cheers.

--ali90

----------------BEGIN snippet----------------------
### META: BEGIN RAI bandwidth hack
        $q->param('detail')
            or do{
                $page .= sprintf qq|<P><A HREF="%s&detail=yes">Graphs for
larger intervals</A><BR><I>( Please use only as needed -- RAI )</I></P>|,
$q->self_url();
                last;
            };
### META: END RAI bandwidth hack
      }
    return $page;
}

sub display_webpage($$){
    my $cfg = shift;
    my $q = shift;
    my $open = [split /\./,( $q->param('target') || '')];
    my $tree = $cfg->{Targets};
 ----------------END snippet----------------------

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list