6a6bb96b8d46e877c274d5c041553d9a3d5c5adb
[APKPM.git] / templates / index.html.ep
1 % layout 'default';
2 % title 'Gearman demo';
3
4 <ul>
5 <li><a href="/user">Search for user</a> and show LDAP and ADSL stats
6 <li><a href="/gearman.html#ping/127.0.0.1">Gearman</a> web interface
7 <li><a href="/redis.html">last poll stats</a>
8 </ul>
9
10 Database schema:
11
12 <ul>
13 % foreach my $table ( qw(cpe_poll ping cpe_Davolink cpe_EasyGateway dslam_poll dslam) ) {
14 <li><a href="/psql/_d <%= $table %>"><%= $table %></a>
15 % }
16 </ul>
17
18 Gnuplot graphs:
19
20 <ul>
21 <li><a href="/gnuplot?sql=select start,ping_error,adsl_ok from poll">poll stats</a>
22 <li><a href="/gnuplot?sql=select timestamp,snrtx,attntx,pwrtx,pwrrx,attnrx,snrrx from adsl where username='test36zg@h1snc'">adsl stat for single user</a>
23 <li><a href="/gnuplot?sql=select timestamp,rtt from ping where ip << inet '10.17/16' order by timestamp desc limit 1000">ttl from 10.17 network</a>
24 </ul>
25
26 <!--
27 Low-level API tests:
28
29 <%= link_to 'HTTP ping' => 'ping_http' %>
30 <%= link_to 'Gearman ping' => 'ping_g' %>
31 -->