Add support for showing internal statistics #1570

Open
opened 2026-03-04 01:23:30 -05:00 by deekerman · 9 comments
Owner

Originally created by @nikeshjauhari on GitHub (May 16, 2020).

Originally assigned to: @EugeneOne1 on GitHub.

Hi,

Can we have a section where we can show some internal system statistics

  1. Total DNS cache consume
  2. Memory in use by the process
  3. Load on system
  4. location of log files and other data
  5. view live log
  6. Block page configuration
  7. Server uptime (added by @ainar-g)

Thanks,
Nikesh

Relevant ideas (added by @ameshkov):

Originally created by @nikeshjauhari on GitHub (May 16, 2020). Originally assigned to: @EugeneOne1 on GitHub. Hi, Can we have a section where we can show some internal system statistics 1) Total DNS cache consume 2) Memory in use by the process 3) Load on system 4) location of log files and other data 5) view live log 6) Block page configuration 7) Server uptime (added by @ainar-g) Thanks, Nikesh Relevant ideas (added by @ameshkov): * DNS cache statistics: https://github.com/AdguardTeam/AdGuardHome/issues/1453 * RPI temperature: https://github.com/AdguardTeam/AdGuardHome/issues/2849
Author
Owner

@RainmakerRaw commented on GitHub (May 16, 2020):

Nice idea, and ties in with 1502 to a large degree I think. The two together become something akin to an 'expert mode', integrating both featuresets perhaps? A 'reset dns cache' would be a very welcome addition to (either of) the list as well, imho.

@RainmakerRaw commented on GitHub (May 16, 2020): Nice idea, and ties in with [1502](https://github.com/AdguardTeam/AdGuardHome/issues/1502) to a large degree I think. The two together become something akin to an 'expert mode', integrating both featuresets perhaps? A 'reset dns cache' would be a very welcome addition to (either of) the list as well, imho.
Author
Owner

@Potterli20 commented on GitHub (Jul 18, 2020):

#1453

@Potterli20 commented on GitHub (Jul 18, 2020): #1453
Author
Owner

@ameshkov commented on GitHub (Jul 18, 2020):

We should consider merging it with https://github.com/AdguardTeam/AdGuardHome/issues/1453

I am not sure we'll be able to do this in v0.105, may need to reassign

@ameshkov commented on GitHub (Jul 18, 2020): We should consider merging it with https://github.com/AdguardTeam/AdGuardHome/issues/1453 I am not sure we'll be able to do this in v0.105, may need to reassign
Author
Owner

@weedb0y commented on GitHub (Jul 23, 2020):

I’d love this

@weedb0y commented on GitHub (Jul 23, 2020): I’d love this
Author
Owner
@Aikatsui commented on GitHub (Jul 26, 2020): About Footer:- https://github.com/AdguardTeam/AdGuardHome/issues/2121#issuecomment-696099313 Another FR suitable for this page: https://github.com/AdguardTeam/AdGuardHome/issues/813#issuecomment-664046098
Author
Owner

@Aikatsui commented on GitHub (Oct 28, 2020):

One example for internal statistics page however there're other products as well https://github.com/ntop/ntopng https://www.ntop.org/products/traffic-analysis/ntop/
If you make something perfect then we dont have to submit FRs related that often.

Internal statistics homepage
path: <ip address or domain>:3000/lua/system_stats.lua
// @nikeshjauhari 4. location of log files and other data
(not only it and it's good to display log on web interface with sort options)

Screenshot from 2020-10-29 06-25-00

System statistics charts (i guess that's bit unnecessary for internal statistics, and suitable for https://github.com/AdguardTeam/AdGuardHome/issues/750)
Screenshot from 2020-10-29 07-06-57

Past alerts and related user accounts https://github.com/AdguardTeam/AdGuardHome/issues/997 alerts as display on that screenshot
Screenshot from 2020-10-29 06-24-27

  1. Periodic activities
    Screenshot from 2020-10-29 06-24-45
@Aikatsui commented on GitHub (Oct 28, 2020): One example for internal statistics page however there're other products as well https://github.com/ntop/ntopng https://www.ntop.org/products/traffic-analysis/ntop/ If you make something perfect then we dont have to submit FRs related that often. Internal statistics homepage `path: <ip address or domain>:3000/lua/system_stats.lua` // @nikeshjauhari 4. location of log files and other data (not only it and it's good to display log on web interface with sort options) ![Screenshot from 2020-10-29 06-25-00](https://user-images.githubusercontent.com/63988538/97515021-af47cc00-19c2-11eb-95b4-bfd6fe561ec4.png) System statistics charts (i guess that's bit unnecessary for internal statistics, and suitable for https://github.com/AdguardTeam/AdGuardHome/issues/750) ![Screenshot from 2020-10-29 07-06-57](https://user-images.githubusercontent.com/63988538/97515342-74926380-19c3-11eb-8cd1-35e4824d0d86.png) Past alerts and related user accounts https://github.com/AdguardTeam/AdGuardHome/issues/997 alerts as display on that screenshot ![Screenshot from 2020-10-29 06-24-27](https://user-images.githubusercontent.com/63988538/97515357-79efae00-19c3-11eb-9a31-05de05dacb1b.png) 4. Periodic activities ![Screenshot from 2020-10-29 06-24-45](https://user-images.githubusercontent.com/63988538/97515367-7eb46200-19c3-11eb-8e39-6f8dba14218c.png)
Author
Owner

@jvoisin commented on GitHub (Dec 21, 2020):

All those information might also be useful for an attacker (uptime → see what kernel vulnerabilities are likely present, location of log files and other data → useful for LFI, Memory in use by the process → useful to see if a DoS is doable, Load on system → useful to see if doing heap feng-shui is practical, …), while providing nothing really useful to administrator, who can already log into the machine to get this data anyway.

@jvoisin commented on GitHub (Dec 21, 2020): All those information might also be useful for an attacker (uptime → see what kernel vulnerabilities are likely present, location of log files and other data → useful for LFI, Memory in use by the process → useful to see if a DoS is doable, Load on system → useful to see if doing heap feng-shui is practical, …), while providing nothing really useful to administrator, who can already log into the machine to get this data anyway.
Author
Owner

@Aikatsui commented on GitHub (May 17, 2021):

https://github.com/AdguardTeam/AdGuardHome/issues/3146

@Aikatsui commented on GitHub (May 17, 2021): https://github.com/AdguardTeam/AdGuardHome/issues/3146
Author
Owner

@yuxuan0107 commented on GitHub (Jan 22, 2022):

我也需要这个功能

@yuxuan0107 commented on GitHub (Jan 22, 2022): 我也需要这个功能
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#1570
No description provided.