mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-29 21:05:13 +08:00
update 2026-10-07 18:47:42
This commit is contained in:
1 parent
617f7ca2a6
commit
bd061545ed
4832 files changed
+1693456
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"admin/status/netdata": {
|
||||
"title": "Netdata",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-netdata" ],
|
||||
"uci": { "netdata": true }
|
||||
}
|
||||
},
|
||||
"admin/status/netdata/netdata": {
|
||||
"title": "Netdata",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netdata/main"
|
||||
}
|
||||
},
|
||||
"admin/status/netdata/config": {
|
||||
"title": "Config",
|
||||
"order": 2,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netdata/config"
|
||||
}
|
||||
},
|
||||
"admin/status/netdata/advanced": {
|
||||
"title": "Advanced",
|
||||
"order": 3,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "netdata/advanced"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"luci-app-netdata": {
|
||||
"description": "Grant UCI access for netdata",
|
||||
"read": {
|
||||
"file": {
|
||||
"/etc/netdata/netdata.conf": [ "read" ],
|
||||
"/etc/init.d/netdata": [ "exec" ],
|
||||
"/usr/bin/openssl passwd -apr1 *": [ "exec" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "read" ]
|
||||
},
|
||||
"uci": [ "netdata" ]
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"/etc/netdata/netdata.conf": [ "write" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "write" ]
|
||||
},
|
||||
"uci": [ "netdata" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user