Comments (4)
Hi,
Please check this issue
#14
BR
from as-stats-gui.
I tried this but it didn't work for me.
sqlite3 module for php is included.
There are no spaces or "-" in knownlinks.
I have no idea what could be the reason.
from as-stats-gui.
Its work with original UI ?
from as-stats-gui.
No.
apache2 error log for original UI:
[Sat Sep 11 08:57:02.790974 2021] [php7:warn] [pid 3068485] [client 10.10.10.4:39077] PHP Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: stats in /opt/asstats/www/func.inc on line 121
[Sat Sep 11 08:57:02.791063 2021] [php7:error] [pid 3068485] [client 10.10.10.4:39077] PHP Fatal error: Uncaught Error: Call to a member function fetchArray() on bool in /opt/asstats/www/func.inc:123\nStack trace:\n#0 /opt/asstats/www/top.php(42): getasstats_top()\n#1 {main}\n thrown in /opt/asstats/www/func.inc on line 123
my knownlinks file:
cat /opt/asstats/conf/knownlinks
# Router IP SNMP ifindex[/VLAN] tag description color samplingrate
# note: tabs must be used to separate fields (not spaces)
# max. length for tag is 12 characters; allowed characters: a-z A-Z 0-9 _
# sampling rate can be separate for in/out by specifying <in>/<out> rates.
64.23.46.31 339199755 global Uplink1 A6CEE3 20000
my config.inc:
$rrdpath = "/opt/asstats/myasn";
$daystatsfile = "/opt/asstats/myasn/asstats_day.txt";
$rrdtool = "/usr/bin/rrdtool";
$daypeerstatsfile = "/opt/asstats/myasn/peerasstats_day.txt";
$showpeeras = false;
$asinfofile = "asinfo.txt";
$knownlinksfile = "/opt/asstats/conf/knownlinks";
$outispositive = true;
$show95th = true;
my apache2 config file:
<VirtualHost *:8080>
ServerName asstats.example.com
DocumentRoot /opt/asstats/www/
<Directory "/opt/asstats/www/">
AuthType Basic
AuthName "Restricted Content"
AuthUserFile /etc/apache2/.htpasswd
Require valid-user
DirectoryIndex index.php
Ubuntu version - 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
PHP version - PHP 7.4.3 (cli) (built: Aug 13 2021 05:39:12) ( NTS )
SQLite3 version- 3.31.1
from as-stats-gui.
Related Issues (18)
- disable IPv6 HOT 2
- IPv4 and IPv6 Totals HOT 5
- asstats_week.txt & asstats_month.txt HOT 3
- sqlite error after cloning HOT 3
- SQLite errors HOT 12
- data gathered, top20 counters changing, but graphs "blank" (the image not generated) HOT 2
- Traffic IPv6 0 bytes / Link Usage Tab
- size and format of graphs HOT 2
- as-info updated ? HOT 4
- Combine all traffic that traverses an AS
- how change the number of top as? HOT 1
- upstream changes HOT 2
- Missing argument when menu() function is called from history.php HOT 1
- asstats_day.txt Issue ? HOT 3
- Dirty code HOT 2
- Check for valid knownlinks in gengraph too restrictive, missing _ HOT 1
- View IX-Stats error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as-stats-gui.