Page 1 of 3

Yet another Accel-PPP web interface

Posted: 21 Aug 2022, 00:07
by s.lobanov
Hi

I'd like to introduce new Accel-PPP Web UI (accel-web-manager). https://github.com/svlobanov/accel-web-manager

Features (v0.2.0):
  • View Sessions (using 'accel-cmd show sessions')
  • View Accel-PPP statistics (using 'accel-cmd show stat')
  • Drop session (soft and hard)
  • Find sessions (sort, per-column filters, multiple filters)
  • Find duplicate sessions (by User-Name, IPv4, Calling-Sid, Called-Sid)
  • Multiple BRAS (one view for multiple BRAS)
  • Customizable session viewer (column settings, default filter logic)
  • Exception handling (System continues to work (show what it can) and notifies user if some BRAS are down)
  • Simple role system (Possible to disable some features, e.g. disable session dropping)
Demo: https://svlobanov.github.io/accel-web-manager-demo/ (with some limitations, please check first link for the details)

Re: Yet another Accel-PPP web interface

Posted: 24 Aug 2022, 15:51
by hashbang
hi,
Good!
Just one missing thing. Realtime graphs
thanks

Re: Yet another Accel-PPP web interface

Posted: 26 Aug 2022, 23:46
by s.lobanov
hashbang wrote: 24 Aug 2022, 15:51 Just one missing thing. Realtime graphs
Hi. This feature will be released soon (this week or next week I think)

Re: Yet another Accel-PPP web interface

Posted: 27 Aug 2022, 17:19
by s.lobanov
hashbang wrote: 24 Aug 2022, 15:51 Just one missing thing. Realtime graphs
Implemented in v0.3.0. You can check the demo to see how it works

Re: Yet another Accel-PPP web interface

Posted: 30 Aug 2022, 06:49
by hashbang
hi,
I'm loving it. Gr8. Doest it have login credentials or straight to home page ?

thanks

Re: Yet another Accel-PPP web interface

Posted: 30 Aug 2022, 06:51
by hashbang
Hi,
Another request ;)
accel-cmd -p $port -P $password pppoe show interface
summary of server
thanks

Re: Yet another Accel-PPP web interface

Posted: 30 Aug 2022, 07:26
by s.lobanov
hashbang wrote: 30 Aug 2022, 06:49 hi,
I'm loving it. Gr8. Doest it have login credentials or straight to home page ?

thanks
accel-web-manager uses http-auth to protect itself from unauthorised access. it is implemented through .htpasswd files (using nginx). README.md file describes how to change admin password (also, you can create more users)

Re: Yet another Accel-PPP web interface

Posted: 30 Aug 2022, 08:44
by hashbang
Hi,
I read the readme later on.
Installed on ubuntu 18.04 but not working :(
I have password protected accel-ppp cli
added "-Ppassword" in bras_settings also
"System is not ready"
link for screenshot : https://ibb.co/TRWMvs4
thanks

Re: Yet another Accel-PPP web interface

Posted: 30 Aug 2022, 09:42
by s.lobanov
hashbang wrote: 30 Aug 2022, 08:44 Hi,
I read the readme later on.
Installed on ubuntu 18.04 but not working :(
I have password protected accel-ppp cli
added "-Ppassword" in bras_settings also
"System is not ready"
link for screenshot : https://ibb.co/TRWMvs4
thanks
You can set any accel-cmd options in /var/lib/accel-web-manager/backend/bras_settings.py . Just add more options like this:

Code: Select all

root@deb11:/var/lib/accel-web-manager/backend# cat bras_settings.py 
# Please do not use special name 'all' for BRAS
bras_options = {
    "br1": ["accel-cmd", "-Hlocalhost", "-p2001","-Pyourpasswordhere"],
    # "br2": ["accel-cmd", "-H127.0.0.2", "-p2001"],
}

Re: Yet another Accel-PPP web interface

Posted: 30 Aug 2022, 09:45
by s.lobanov
> "System is not ready"

It means that backend is not ready. Check its status using "systemctl status accel-web-manager"

BTW, how do you install it on ubuntu 18.04? ubuntu 18.04 has unsupported python version. did you use --force option during install?